chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #946: csc can delete files specified on the command-l


From: Chicken Trac
Subject: [Chicken-janitors] #946: csc can delete files specified on the command-line
Date: Thu, 01 Nov 2012 15:39:29 -0000

#946: csc can delete files specified on the command-line
----------------------+-----------------------------------------------------
 Reporter:  alanpost  |       Owner:         
     Type:  defect    |      Status:  new    
 Priority:  major     |   Milestone:  someday
Component:  compiler  |     Version:  4.8.x  
 Keywords:            |  
----------------------+-----------------------------------------------------
 The follow commands:

 {{{
 touch a.scm b.c
 csc -o b a.scm b.c
 }}}

 will delete the file b.c.

 I expected, running the above, that the executable b would be created (or
 any errors in doing so to be reported.)  Instead one finds the input file
 has been deleted.

 Minimally I consider this anti-social, maximally I lost a file I'd
 invested a lot of time writing.  :-(

 Can a warning, error, or workaround be added to csc so it does not delete
 input files specified on the command-line?

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/946>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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