summaryrefslogtreecommitdiff
path: root/usr.bin/sort
AgeCommit message (Expand)Author
2007-02-21<ctype.h> is unused. What's still needed is <sys/cdefs.h> (which ishubertf
2006-10-23fix check for field order to allow .0 form in "-k 1.2,1.0"jdolecek
2006-10-23when using -o into file which already exists, copy the permissionsjdolecek
2006-10-23replace access(2) + /dev/ prefix check with lstat(2) and S_ISCHR()/S_ISBLK()jdolecek
2006-10-23use F_OK instead of 0 for second parameter of access(2)jdolecek
2006-05-11char -> u_char in a couple of places to match other variables.mrg
2005-06-10Init some variables the compiler is complaining about and mark w. XXGCC as itjmc
2005-06-07Initialize a local variable to appease -Wuninitialized.he
2004-11-03Add (unsigned char) cast to ctype functionsdsl
2004-07-23Sync usage with man page. From Kouichirou Hiratsuka in PR 26278.wiz
2004-07-23Sort options in SYNOPSIS. From Kouichirou Hiratsuka in PR 26278.wiz
2004-03-14Do not step over the edge of the buffer (check for '\0'). This just happensheas
2004-03-14remove double initialisation of SINGL_FLD & SEP_FLAGheas
2004-02-18insertcol() may insert up to two items to clist, so allocate memory accordinglyjdolecek
2004-02-17fix parsing of some +POS -POS variants, as pointed out by sort regressionjdolecek
2004-02-17initialize malloc()ated memoryjdolecek
2004-02-17ftpos pointer was not updated when fldtab was reallocated; drop completelyjdolecek
2004-02-17fldtab[] needs to have one extra element - this marks end of arrayjdolecek
2004-02-17use safer realloc idiomitojun
2004-02-17safer realloc idiomitojun
2004-02-17initialize fldtabitojun
2004-02-15remove compile-time limit on number of -k options, allocate necessaryjdolecek
2004-02-15rewrite fixit() to duplicate less code, and comment the contents better;jdolecek
2004-02-15make sure zero is recognized as regular number in number(), and thus sortedjdolecek
2004-02-15g/c redundant setfield() prototypejdolecek
2004-02-15fix -Wunitialized warningsjdolecek
2004-02-15fix some cases of use of unitialized variablesjdolecek
2003-10-18KNF (mostly whitespace)itojun
2003-10-17Test the value returned by realloc() rather than anything else.enami
2003-10-16safer use of reallocitojun
2003-08-07add TNF copyrightjdolecek
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-06-27Pa Ar -> Ar.wiz
2003-04-09rename local macro blancmange() to SKIP_BLANKS(), to clarify whatjdolecek
2003-03-20this builds with WARNS=2jdolecek
2003-03-20get rid of one memmove() (not very significant)jdolecek
2003-02-25.Nm does not need a dummy argument ("") before punctuation orwiz
2003-02-04"Utilize" has exactly the same meaning as "use," but it is moreperry
2003-01-06compatibility, not compatiblity.wiz
2002-12-25make function merge() static in msort.cjdolecek
2002-12-24improve previous slightly - need >= (not just >) in CHECKFSTACK()jdolecek
2002-12-24max_o in struct tempfile needs to be off_tjdolecek
2002-12-24put contents of extern.h directly to sort.h, and g/c extern.hjdolecek
2002-12-24g/c many_files(), toojdolecek
2002-12-24bump 'soft' limit for number of files to hard limit on startup; wejdolecek
2002-12-24make sure we don't attempt to write past end of fstack[], error out insteadjdolecek
2002-12-24add extern definition for ncols and clist[] to sort.h, eliminate extrajdolecek
2002-12-24move fltab outside main and make it static, eliminate two memset()sjdolecek
2002-12-23simplify a bit (no need for separate 'char *path')jdolecek
2002-11-27Remove the statically initialized "sigaction" structure completely becausetron