Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-04-12 19:36:48 +0400
committerCorinna Vinschen <corinna@vinschen.de>2010-04-12 19:36:48 +0400
commit6b1c332f28cb09c67ccd529100f6ec22ccba7cd3 (patch)
tree3198263b195dcf7190c4ab5eb021f3a044fa7b73 /winsup
parent42e9cefd711f5eb832ef907714e710c5d5524144 (diff)
* posix.sgml (std-notes): Improve lseek description.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/posix.sgml5
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 169db2a00..049e1491c 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2010-04-12 Corinna Vinschen <corinna@vinschen.de>
+ * posix.sgml (std-notes): Improve lseek description.
+
+2010-04-12 Corinna Vinschen <corinna@vinschen.de>
+
* fhandler_tty.cc (fhandler_tty_slave::open): Add code to duplicate
handles within a single process to simplify openpty case.
(fhandler_tty_slave::cygserver_attach_tty): Correctly send Windows PID
diff --git a/winsup/cygwin/posix.sgml b/winsup/cygwin/posix.sgml
index b7358523d..6a3bc2298 100644
--- a/winsup/cygwin/posix.sgml
+++ b/winsup/cygwin/posix.sgml
@@ -1449,8 +1449,9 @@ only support ITIMER_REAL for now.</para>
a true hardlink. This is true at least for FAT and FAT32 filesystems.
NTFS supports hardlinks. </para>
-<para><function>lseek</function> only works properly on binary
-files.</para>
+<para><function>lseek</function> only works properly on files opened in
+binary mode. On files opened in textmode (via mount mode or explicit
+open flag) its positioning is potentially unreliable.</para>
<para><function>setuid</function> is only safe against reverting the user
switch after a call to one of the exec(2) functions took place. Windows