2010-11-15 17:52:55 +01:00
|
|
|
Index: src/join.c
|
|
|
|
===================================================================
|
2012-04-23 09:12:18 +02:00
|
|
|
--- src/join.c.orig 2012-04-16 16:54:22.032279169 +0200
|
|
|
|
+++ src/join.c 2012-04-16 16:54:22.163275636 +0200
|
|
|
|
@@ -1320,7 +1320,7 @@ main (int argc, char **argv)
|
2010-11-15 17:52:55 +01:00
|
|
|
|
|
|
|
case 't':
|
|
|
|
{
|
|
|
|
- char *newtab;
|
|
|
|
+ char *newtab = NULL;
|
|
|
|
size_t newtablen;
|
|
|
|
newtab = xstrdup (optarg);
|
|
|
|
#if HAVE_MBRTOWC
|
2012-04-23 09:12:18 +02:00
|
|
|
@@ -1342,7 +1342,7 @@ main (int argc, char **argv)
|
2010-11-15 17:52:55 +01:00
|
|
|
newtablen = 1;
|
|
|
|
if (! newtab)
|
|
|
|
{
|
|
|
|
- newtab = '\n'; /* '' => process the whole line. */
|
|
|
|
+ newtab = "\n"; /* '' => process the whole line. */
|
|
|
|
}
|
|
|
|
else if (optarg[1])
|
|
|
|
{
|