chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #449: csc doesn't handle relative paths correctly


From: Chicken Trac
Subject: [Chicken-janitors] #449: csc doesn't handle relative paths correctly
Date: Sat, 11 Dec 2010 14:39:45 -0000

#449: csc doesn't handle relative paths correctly
----------------------------------------+-----------------------------------
 Reporter:  syn                         |       Owner:       
     Type:  defect                      |      Status:  new  
 Priority:  major                       |   Milestone:  4.7.0
Component:  compiler                    |     Version:  4.6.x
 Keywords:  sorry for the ticket flood  |  
----------------------------------------+-----------------------------------
 Passing a relative path containing more than one ".." leads to csc not
 expanding the path correctly. Example session:

 $ mkdir foo
 $ echo "(print 'foo)" > foo.scm
 $ mkdir a
 $ cd a
 $ csc ../foo.scm # this works
 $ mkdir b
 $ cd b
 address@hidden /tmp/a/b  $ csc ../../foo.scm

 Error: Can not open file "foo.scm"

 Error: shell command terminated with non-zero exit status 256:
 /usr/bin/chicken foo.scm -output-file foo.c

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/449>
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]