This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pathname with spaces causes problems for tcsh


On Mar 21, 12:52pm, earnie_boyd@yahoo.com (Earnie Boyd) wrote:
-- Subject: Re: pathname with spaces causes problems for tcsh

| Pathnames with spaces are a problem, period.  By the time that pushd got the
| argument the backslashes had been removed and pushd passed to setenv more than
| one argument thus the complaint.
| 
| You'll have to modify the source of tcsh to fix this problem.
| 
| Earnie.
| 
| P.S.: This problem would exist on UNIX if the directory contained spaces.

No it would not. chdir("foo bar") works fine as well as
setenv/putenv("foo bar", "bar baz"). The problem is in the way
the interface call to the win32 setenv is implemented.

christos

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]