2010-05-05 22:22:09 +02:00
|
|
|
Index: src/cut.c
|
|
|
|
===================================================================
|
|
|
|
--- src/cut.c.orig 2010-05-04 17:27:29.879859350 +0200
|
|
|
|
+++ src/cut.c 2010-05-04 17:27:30.131859395 +0200
|
|
|
|
@@ -878,7 +878,10 @@ cut_fields_mb (FILE *stream)
|
2006-12-19 00:15:28 +01:00
|
|
|
c = getc (stream);
|
|
|
|
empty_input = (c == EOF);
|
|
|
|
if (c != EOF)
|
|
|
|
- ungetc (c, stream);
|
|
|
|
+ {
|
|
|
|
+ ungetc (c, stream);
|
|
|
|
+ wc = 0;
|
|
|
|
+ }
|
|
|
|
else
|
|
|
|
wc = WEOF;
|
|
|
|
|
2010-05-05 22:22:09 +02:00
|
|
|
Index: src/expand.c
|
|
|
|
===================================================================
|
|
|
|
--- src/expand.c.orig 2010-05-04 17:27:29.915859239 +0200
|
|
|
|
+++ src/expand.c 2010-05-04 17:27:30.155859324 +0200
|
|
|
|
@@ -404,7 +404,7 @@ expand_multibyte (void)
|
2006-12-19 00:15:28 +01:00
|
|
|
for (;;)
|
|
|
|
{
|
|
|
|
/* Input character, or EOF. */
|
|
|
|
- wint_t wc;
|
|
|
|
+ wint_t wc = 0;
|
|
|
|
|
|
|
|
/* If true, perform translations. */
|
|
|
|
bool convert = true;
|