Commit Graph

18 Commits

Author SHA1 Message Date
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
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
Andrey A. Chernov
021d0b0c13 Add setlocale LC_CTYPE
Fix ctype functions for 8bit charsets
1995-10-28 19:29:58 +00:00
Nate Williams
beeaba5d6e Updated to GNU textutils 1.9 1993-11-08 17:09:50 +00:00
Nate Williams
8596b826d3 GNU Textutils-1.6 1993-06-29 05:21:43 +00:00