Mail Archives: djgpp-workers/1999/01/31/08:46:54
Here's a little patch that correct a minor document problem.
Scooter, No Time to Chill,
MartinS
diff -ruN src.org.2/libc/ansi/stdio/fseek.txh src/libc/ansi/stdio/fseek.txh
--- src.org.2/libc/ansi/stdio/fseek.txh Sun Sep 27 15:20:44 1998
+++ src/libc/ansi/stdio/fseek.txh Sat Jan 30 12:55:10 1999
@@ -30,7 +30,7 @@
@end table
@emph{Warning!} The ANSI standard only allows values of zero for
-@var{offset} when @var{whence} is not @code{SEEK_SET} and the file has
+@var{offset} when @var{mode} is not @code{SEEK_SET} and the file has
been opened as a text file. Although this restriction is not enforced,
beware that there is not a one-to-one correspondence between file
characters and text characters under MS-DOS, so some @code{fseek}
diff -ruN src.org.2/libc/posix/unistd/lseek.txh src/libc/posix/unistd/lseek.txh
--- src.org.2/libc/posix/unistd/lseek.txh Sun Sep 27 15:22:26 1998
+++ src/libc/posix/unistd/lseek.txh Sat Jan 30 12:56:14 1999
@@ -10,7 +10,7 @@
@subheading Description
This function moves the file pointer for @var{fd} according to
-@var{mode}:
+@var{whence}:
@table @code
- Raw text -