bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Join command


From: Jim Meyering
Subject: Re: Join command
Date: 16 Nov 2000 15:13:34 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

Antonio Rendas <address@hidden> wrote:
| I am using textutils-2.0 on a Sun Solaris:
|
| uname -a : SunOS restitution 5.6 Generic_105181-16 sun4u sparc
| SUNW,Ultra-Enterprise-10000
|
| The code has been compiled from textutils-2.0 source using:
| cc -V: ucbcc: WorkShop Compilers 5.0 98/12/15 C 5.0
|
| join works fine for me usually, but when using option -t 'ยง' it fails
| to join even two 1-record files. I didn't test with other weird chars,
| but with this one it definitely fails. If you need me to send you the
| two files please let me know.

Thanks for the report!
That bug exists even in the latest test release.
Here's a fix relative to the latest in
  ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.8.tar.gz

Index: src/join.c
===================================================================
RCS file: /fetish/textutils/src/join.c,v
retrieving revision 1.92
diff -u -p -r1.92 join.c
--- src/join.c  2000/05/20 22:06:38     1.92
+++ src/join.c  2000/11/16 14:00:24
@@ -114,7 +114,7 @@ static struct outlist *outlist_end = &ou
 /* Tab character separating fields; if this is NUL fields are separated
    by any nonempty string of white space, otherwise by exactly one
    tab character.  */
-static char tab;
+static unsigned char tab;
 
 /* When using getopt_long_only, no long option can start with
    a character that is a short option.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]