Commit Graph

28 Commits

Author SHA1 Message Date
Dima Dorfman
70d51341bf mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
Kris Kennaway
907cafdad7 Create temporary filenames securely, don't just number them sequentially.
Audited by:	eivind, freebsd-audit
2000-11-11 00:18:04 +00:00
Brian Feldman
63ec88f55f Make style match the surrounding style. Use memset() instead of bzero()
because it's standard (bah, show me a real system without bzero()...)

Noted by:	bde
2000-07-31 23:36:08 +00:00
Kris Kennaway
1909961a9b Fix a bug in keyed sorting due to malloc abuse.
Submitted by:	green
2000-07-31 21:37:29 +00:00
Warner Losh
bdca080cce Use braces to avoid potentially ambiguous else clause.
main's return type is int not void.

Reviewed by: obrien and chuckr
1999-04-25 22:14:06 +00:00
Andrey A. Chernov
ac658617e7 use minimum length for strcoll too 1999-02-14 09:44:56 +00:00
Andrey A. Chernov
acd904fcc3 remove collating optimization - not work with substituted characters 1999-02-13 15:45:30 +00:00
Andrey A. Chernov
a783f14827 use strcoll() where it is easy to sort german ss and similar properly 1999-02-13 13:05:04 +00:00
Guido van Rooij
52ed3a5d65 Open temporary files with O_EXCL.
Obtained from:bugtraq
1998-03-06 19:00:26 +00:00
Andrey A. Chernov
93bb056022 Add (unsigned char) cast to ctype macros 1997-10-23 02:22:51 +00:00
Andrey A. Chernov
85938e600c Uncomment static from collate_range_cmp, no more in locale.h 1996-10-31 14:44:24 +00:00
Andrey A. Chernov
8bd603338f Replace collate_range_cmp call by its code (GNU version) 1996-10-31 07:36:09 +00:00
Andrey A. Chernov
5f02527325 Convert to newly aded collate compare function 1996-08-12 19:12:40 +00:00
Andrey A. Chernov
a43ba36d4f Increase performance using pre-calculated collate table 1996-06-10 01:32:40 +00:00
Andrey A. Chernov
9cca9761a6 Follow alphabetical order more closely, now ISO8859-1 characters
sorted properly too.
1996-06-09 18:55:57 +00:00
Andrey A. Chernov
089fdd06d3 Compare 8bit alpha characters alphabetically using strcoll() 1996-06-09 16:19:08 +00:00
Nate Williams
b156b34dfe Merged in FreeBSD changes. 1996-02-12 06:45:43 +00:00
Nate Williams
0ddab587f5 This commit was generated by cvs2svn to compensate for changes in r14049,
which included commits to RCS files with non-trunk default branches.
1996-02-12 06:39:49 +00:00
Nate Williams
cbf3709a42 Sort from GNU textutils 1.14 1996-02-12 06:39:49 +00:00
Andrey A. Chernov
021d0b0c13 Add setlocale LC_CTYPE
Fix ctype functions for 8bit charsets
1995-10-28 19:29:58 +00:00
Paul Traina
3dcf64dcf0 Fix compilation warnings. 1995-08-23 05:35:03 +00:00
Rodney W. Grimes
4399be3cbd Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Andreas Schulz
a4bc78d9f1 Changed a SORT 1L to a SORT 1. 1994-12-11 21:41:28 +00:00
Jordan K. Hubbard
40735e19b9 Punt duplicate declaration of sys_errlist[].
Submitted by:	jkh
1994-08-09 15:31:52 +00:00
Nate Williams
d88c633bca Removed some extra cruft from the man page to make it look more 'BSD'ish
and less 'GNU'ish
1993-11-08 17:11:29 +00:00
Nate Williams
beeaba5d6e Updated to GNU textutils 1.9 1993-11-08 17:09:50 +00:00
Nate Williams
574af12988 #ifdef out an unecessary function prototype that conflicted with the
system prototype. (Needed for gcc1)
1993-07-06 18:00:18 +00:00
Nate Williams
8596b826d3 GNU Textutils-1.6 1993-06-29 05:21:43 +00:00