diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | support/nfs/xio.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 diff --git a/support/nfs/xio.c b/support/nfs/xio.c index 9bb5100..3850aab 100644 --- a/support/nfs/xio.c +++ b/support/nfs/xio.c @@ -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 |