* pathnames.sgml (pathnames-win32-api): Try to use a more clear wording.
This commit is contained in:
parent
ce9898da68
commit
6a84234cd2
|
@ -1,3 +1,7 @@
|
||||||
|
2010-08-18 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* pathnames.sgml (pathnames-win32-api): Try to use a more clear wording.
|
||||||
|
|
||||||
2010-08-13 Corinna Vinschen <corinna@vinschen.de>
|
2010-08-13 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* faq-programming.xml (faq.programming.win32-api): Remove simplicity.
|
* faq-programming.xml (faq.programming.win32-api): Remove simplicity.
|
||||||
|
|
|
@ -373,7 +373,7 @@ pathnames.</para>
|
||||||
<para>When a Cygwin application is started, the Win32 idea of the current
|
<para>When a Cygwin application is started, the Win32 idea of the current
|
||||||
working directory (CWD) is set to an invalid directory. This works around
|
working directory (CWD) is set to an invalid directory. This works around
|
||||||
the problem that the Win32 CWD is locked in a way which restricts POSIX
|
the problem that the Win32 CWD is locked in a way which restricts POSIX
|
||||||
functionality. However, the side effect is that a call to, say,
|
functionality. However, the side effect is that a call to, for instance,
|
||||||
<function>CreateFile ("foo", ...);</function> will fail, since the Win32
|
<function>CreateFile ("foo", ...);</function> will fail, since the Win32
|
||||||
notion of the CWD is <emphasis>not</emphasis> the same as the Cygwin notion
|
notion of the CWD is <emphasis>not</emphasis> the same as the Cygwin notion
|
||||||
of the CWD.</para>
|
of the CWD.</para>
|
||||||
|
@ -386,7 +386,9 @@ you have two choices.</para>
|
||||||
<itemizedlist spacing="compact">
|
<itemizedlist spacing="compact">
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Either you call <function>SetCurrentDirectory</function> before
|
<para>Either you call <function>SetCurrentDirectory</function> before
|
||||||
calling <function>CreateFile</function>.</para>
|
calling the Win32 function which requires a valid Win32 CWD
|
||||||
|
(<function>CreateFile</function>, <function>CreateProcess</function>,
|
||||||
|
etc).</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Or you compile your application as native Win32 (mingw) executable,
|
<para>Or you compile your application as native Win32 (mingw) executable,
|
||||||
|
|
Loading…
Reference in New Issue