From 6b1c332f28cb09c67ccd529100f6ec22ccba7cd3 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 12 Apr 2010 15:36:48 +0000 Subject: * posix.sgml (std-notes): Improve lseek description. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/posix.sgml | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'winsup') diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 169db2a00..049e1491c 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2010-04-12 Corinna Vinschen + + * posix.sgml (std-notes): Improve lseek description. + 2010-04-12 Corinna Vinschen * fhandler_tty.cc (fhandler_tty_slave::open): Add code to duplicate 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. a true hardlink. This is true at least for FAT and FAT32 filesystems. NTFS supports hardlinks. -lseek only works properly on binary -files. +lseek 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. setuid is only safe against reverting the user switch after a call to one of the exec(2) functions took place. Windows -- cgit v1.2.3