b041d4ec90
Accepted submit request 52848 from user psmt OBS-URL: https://build.opensuse.org/request/show/52848 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coreutils?expand=0&rev=45
23 lines
750 B
Diff
23 lines
750 B
Diff
Index: src/join.c
|
|
===================================================================
|
|
--- src/join.c.orig 2010-11-11 16:29:37.000000000 +0100
|
|
+++ src/join.c 2010-11-11 17:04:33.776501344 +0100
|
|
@@ -1273,7 +1273,7 @@ main (int argc, char **argv)
|
|
|
|
case 't':
|
|
{
|
|
- char *newtab;
|
|
+ char *newtab = NULL;
|
|
size_t newtablen;
|
|
newtab = xstrdup (optarg);
|
|
#if HAVE_MBRTOWC
|
|
@@ -1295,7 +1295,7 @@ main (int argc, char **argv)
|
|
newtablen = 1;
|
|
if (! newtab)
|
|
{
|
|
- newtab = '\n'; /* '' => process the whole line. */
|
|
+ newtab = "\n"; /* '' => process the whole line. */
|
|
}
|
|
else if (optarg[1])
|
|
{
|