From: hjl Date: Thu, 29 Nov 2001 00:00:12 +0000 (+0000) Subject: 2001-11-26 TAKAI Kousuke X-Git-Tag: nfs-utils-1-0~9 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b1f8653d43b6bfaf80a44efcb7418bcf898d3af1;p=nfs-utils.git 2001-11-26 TAKAI Kousuke * support/nfs/xio.c (xskip): Call `xungetc' instead of `ungetc' to keep x_line more properly. --- diff --git a/ChangeLog b/ChangeLog index 1ec3d5f..d03d8c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-26 TAKAI Kousuke + + * support/nfs/xio.c (xskip): Call `xungetc' instead of + `ungetc' to keep x_line more properly. + 2001-11-26 Chip Salzenberg * 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