[PATCH] regedit: Don't call ungetc() twice consecutively

Andrew Eikum aeikum at codeweavers.com
Mon Aug 23 07:39:26 CDT 2010


Spotted by Sylvain Hitier.

POSIX ungetc(3) says "One byte of push-back shall be provided...", so we
shouldn't be doing several ungetc calls in a row.
---
  programs/regedit/regproc.c |   17 ++++++++---------
  1 files changed, 8 insertions(+), 9 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-regedit-Don-t-call-ungetc-twice-consecutively.patch
Type: text/x-patch
Size: 1324 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100823/add443d4/attachment.bin>


More information about the wine-patches mailing list