diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 05beb12a6..847f8e387 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,7 @@ +Thu Apr 12 23:52:00 2001 Corinna Vinschen + + * cygwinenv.sgml: Add text for `check_case' option. + Fri Mar 2 12:42:00 2001 Corinna Vinschen * cygwinenv.sgml: Add text for `winsymlinks' option. diff --git a/winsup/doc/cygwinenv.sgml b/winsup/doc/cygwinenv.sgml index f4ebad01c..bb391a592 100644 --- a/winsup/doc/cygwinenv.sgml +++ b/winsup/doc/cygwinenv.sgml @@ -18,6 +18,33 @@ before starting a Cygwin shell to have an effect on redirection. always open in binary mode. +check_case:level - Controls the behaviour of +Cygwin when a user tries to open or create a file using a case different from +the case of the path as asved on the disk. +level is one of relaxed, +adjust and strict. + + +relaxed which is the default behaviour simply +ignores case. That's the default for native Windows applications as well. + + +adjust behaves mostly invisible. The POSIX input +path is internally adjusted in case, so that the resulting DOS path uses the +correct case throughout. You can see the result when changing the directory +using a wrong case and calling /bin/pwd afterwards. + + +strict results in a error message if the case +isn't correct. Trying to open a file Foo while a file +fOo exists results in a "no such file or directory" +error. Trying to create a file BAR while a file +Bar exists results in a "Filename exists with different +case" error. + + + + (no)envcache - If set, environment variable conversions (between Win32 and POSIX) are cached. Note that this is may cause problems if the mount table changes, as the cache is not invalidated