This is the mail archive of the cygwin 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]
Other format: [Raw text]

check_case:adjust (RE: cygrunsrv fails to run services)


you wrote:

> On Mon, 27 Sep 2004, Gerrit P. Haase wrote:
> 
>> Igor wrote:
>> 
>> Coming back with this now. Today I upgraded cygwin from 1.5.5 to
>> 1.5.11 at another box, now the same problems here, starting sshd
>> gives me an error 1062 or 1067, depending on the way how I start it,
>> via Service Control or via cygrunsrv from the prompt.  I have
>> check_case:strict here too.  Removing check_case:strict from the
>> environment resolves the problem.
> 
> Another workaround is to fix the cases of directories in your PATH. 
> If you do that, you can keep the "check_case:strict" setting.
> 
>> Now I wonder what was changed in Cygwin so that it doesn't work
>> anymore when check_case:strict is defined, it used to work back in
>> the good old B20 days up to at least 1.5.5 and now with 1.5.10 it
>> doesn't work anymore, sigh! 
>> 
>> Gerrit
> 
> That's a good question.  Try as I might, I couldn't see *any* changes
> in the path.cc code that could have caused this behavior to change. 
> All of the relevant code was written as far back as 2001...
> 
> FWIW, I'm hoping to submit a patch tonight with one possible fix for
> this. 	Igor --

The functionality for "adjust" here;
 http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

doesn't reflect the following;

$ echo $CYGWIN
notitle glob check_case:adjust server=1
<set in cygwin.bat>
$ uname -srv
CYGWIN_NT-5.0 1.5.12s(0.116/4/2) 20040924 15:42:01 
$ pwd
/home/Hannu
$ ls
Mail/
<SNIP>
$ cd mail
$ pwd
/home/Hannu/mail
$ /bin/pwd
/home/Hannu/mail
$ type -a pwd
pwd is a shell builtin
pwd is /usr/bin/pwd
pwd is /bin/pwd

Seems to me that "check_case:adjust" is a NOP.
Hmm... to be investigated; does bash itself have an "adjust" mode?

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems            --72-->

** mailing list preference; please keep replies on list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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