Commit Graph

23 Commits

Author SHA1 Message Date
andrew
26f22dcb90 Cast *tabchar, a wchar_t, to a wint_t as it is the type the %lc printf
format string expects. This is only an issue on ARM EABI where wint_t is
different to wchar_t.
2013-02-04 10:05:55 +00:00
ed
0016966bba Add missing static keywords to join(1) 2011-11-06 08:15:35 +00:00
joel
29af67e52c Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with:	imp, rwatson
2010-12-11 08:32:16 +00:00
maxim
e21edac0ea Backout recent -j changes, the flags is deprecated.
Requested by:	tjr
2004-08-26 06:28:05 +00:00
maxim
5810faeee1 Add -j flag to usage() and the man page synopsis.
Inspired by:	DragonFlyBSD
2004-08-25 13:15:07 +00:00
tjr
99daa57e07 Add support for multibyte characters. 2004-07-05 13:20:03 +00:00
dwmalone
b4339b74ad ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by:	md5
2002-09-04 23:29:10 +00:00
obrien
bc61fc95d8 Consistently use FBSDID 2002-06-30 05:25:07 +00:00
markm
de78eb8c7f Easy warns fixes; sort out some types and me them a bit more consistent;
fix initialisers.
2002-04-28 13:46:40 +00:00
ache
693c02d449 Remove <ctype.h> - not needed 2002-04-20 02:18:54 +00:00
tjr
1cabb92eed Allow space between -a and its argument. Honour locale collating order
by using strcoll() instead of strcmp().

PR:		36270
Reviewed by:	mike
2002-04-20 01:55:19 +00:00
jmallett
7411e6685a Support -o 0 in join(1) as per SUS.
PR:		36072
Submitted by:	Tim J. Robbins <tim@robbins.dropbear.id.au>
Reviewed by:	mike
2002-03-26 03:44:04 +00:00
imp
74d826c7a6 remove __P 2002-03-22 01:22:50 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
billf
4822432874 Clean up some ambiguous nested if/elses. 1999-07-04 17:26:16 +00:00
jlemon
e444e35d07 Require all compatability options to begin with '-'.
PR:		4145
1997-08-19 15:58:15 +00:00
charnier
58b419d0c3 Cosmetic in usage string. 1997-07-15 09:57:28 +00:00
imp
141381e1cb compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
peter
c399e58e97 Merge from Lite2 (note: needs checking by somebody who understands join) 1997-03-11 13:45:59 +00:00
joerg
a998b593c4 Fix a genuine off-by-one error that caused join to dump core when
trying to use field numbers tha weren't present in the input data.
1997-01-17 18:55:05 +00:00
phk
d225820440 Don't access stuff we have realloc()'ed using the old pointer.
This is a sample of a new class of malloc usage errors that the
Junk option to phkmalloc will expose.

Found by: phkmalloc.
1996-10-21 08:51:58 +00:00
rgrimes
a14d555c87 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00