]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
authorhjl <hjl>
Thu, 29 Nov 2001 00:00:12 +0000 (00:00 +0000)
committerhjl <hjl>
Thu, 29 Nov 2001 00:00:12 +0000 (00:00 +0000)
* support/nfs/xio.c (xskip): Call `xungetc' instead of
        `ungetc' to keep x_line more properly.

ChangeLog
support/nfs/xio.c

index 1ec3d5f20b606349524ede6a13efca4f2dc01d71..d03d8c40cef1e092596db2700946ed127e8c17cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-26  TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
+
+       * support/nfs/xio.c (xskip): Call `xungetc' instead of
+        `ungetc' to keep x_line more properly.
+
 2001-11-26  Chip Salzenberg  <chip@pobox.com>
 
        * utils/showmount/showmount.c (main): Don't assume that strings
index 9bb5100d09f4e392f12a6816ead5c62e17df1c54..3850aab65995170404267d4b3426c9cb92d732fc 100644 (file)
@@ -160,7 +160,7 @@ xskip(XFILE *xfp, char *str)
        int     c;
 
        while ((c = xgetc(xfp)) != EOF && strchr(str, c));
-       ungetc(c, xfp->x_fp);
+       xungetc(c, xfp);
 }
 
 char