svn commit: trunk/uClibc/test/misc

vapier at uclibc.org vapier at uclibc.org
Tue Feb 14 03:33:42 UTC 2006


Author: vapier
Date: 2006-02-13 19:33:40 -0800 (Mon, 13 Feb 2006)
New Revision: 13981

Log:
document why the ftell() should be 5 and not 14

Modified:
   trunk/uClibc/test/misc/fdopen.c


Changeset:
Modified: trunk/uClibc/test/misc/fdopen.c
===================================================================
--- trunk/uClibc/test/misc/fdopen.c	2006-02-14 03:28:32 UTC (rev 13980)
+++ trunk/uClibc/test/misc/fdopen.c	2006-02-14 03:33:40 UTC (rev 13981)
@@ -35,6 +35,8 @@
 
   fp = fdopen (fd, "a");
   assert (fp != NULL);
+  /* SuSv3 says that doing a fdopen() does not reset the file position,
+   * thus the '5' here is correct, not '14'. */
   assert (ftell (fp) == 5);
 
 the_end:




More information about the uClibc-cvs mailing list