summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fseek.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-10-23 23:05:15 +0000
committerache <ache@FreeBSD.org>2001-10-23 23:05:15 +0000
commit537a689a7bdb8557ee658724138950035ab671a0 (patch)
treeab795bc8e1c165326a0e4870aada29cc52990995 /lib/libc/stdio/fseek.c
parent43547b4e390fa8d8b7eecc75e1c5f797477579c9 (diff)
downloadFreeBSD-src-537a689a7bdb8557ee658724138950035ab671a0.zip
FreeBSD-src-537a689a7bdb8557ee658724138950035ab671a0.tar.gz
Change comment explaining another usage of __SMOD
Diffstat (limited to 'lib/libc/stdio/fseek.c')
-rw-r--r--lib/libc/stdio/fseek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/fseek.c b/lib/libc/stdio/fseek.c
index 2278f31..b8366f3 100644
--- a/lib/libc/stdio/fseek.c
+++ b/lib/libc/stdio/fseek.c
@@ -225,8 +225,8 @@ _fseeko(fp, offset, whence, ltest)
goto dumb;
/*
- * (If the buffer was modified, we have to
- * skip this; see fgetln.c.)
+ * If the buffer was modified or the file position was changed,
+ * we have to skip this; see fgetln.c, stdio.c.
*/
if (fp->_flags & __SMOD)
goto abspos;
OpenPOWER on IntegriCloud