769e06bec7
checked in (request 42907) OBS-URL: https://build.opensuse.org/request/show/42907 OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=15
30 lines
831 B
Diff
30 lines
831 B
Diff
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)
|
|
c = getc (stream);
|
|
empty_input = (c == EOF);
|
|
if (c != EOF)
|
|
- ungetc (c, stream);
|
|
+ {
|
|
+ ungetc (c, stream);
|
|
+ wc = 0;
|
|
+ }
|
|
else
|
|
wc = WEOF;
|
|
|
|
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)
|
|
for (;;)
|
|
{
|
|
/* Input character, or EOF. */
|
|
- wint_t wc;
|
|
+ wint_t wc = 0;
|
|
|
|
/* If true, perform translations. */
|
|
bool convert = true;
|