chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] disallow compiling from both stdin & named fil


From: Evan Hanson
Subject: [Chicken-hackers] [PATCH] disallow compiling from both stdin & named files
Date: Thu, 11 Oct 2012 23:23:24 -0500
User-agent: Heirloom mailx 12.4 7/29/08

This patch addresses an issue I found while playing around with
228f8454d197b46b460a1b9ebfda7fa08d546c17, where an invocation of csc
combining named input files with stdin causes csc to try to compile
to "-.c":

  $ csc - file2.scm < file1.scm  

  Error: invalid argument to `.c' option
  
  Error: shell command terminated with non-zero exit status 256: 
/home/efh/chickens/git/bin/chicken - -output-file -.c

It's unclear to me what the right thing to do in this case is, and
anything more involved would mean a more invasive patch, so this one
simply disallows combining the two. If there's a better approach, please
take it :)

Evan

Attachment: 0001-disallow-compiling-from-both-stdin-named-files.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]