Antonio Rendas <[EMAIL PROTECTED]> 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. */
_______________________________________________
Bug-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils