NetBSD/usr.bin/sort
dsl fa81e78b3d 'depth' is used for the number of bytes into the key that the pointers
reference, when we want to find the record header put the larger value
into 'hdr_off' to avoid any confusion that the code might be changing
'depth'!
There is now no need to save the original value as 'odepth' in append.c.
All an a vague attempt to make this code slightly readable.
2009-08-16 20:02:04 +00:00
..
append.c 'depth' is used for the number of bytes into the key that the pointers 2009-08-16 20:02:04 +00:00
fields.c Always add an REC_D char (usually \n) as the last sort key char - we 2009-08-15 21:26:32 +00:00
files.c Replace all uses of sizeof(TRECHEADER) with REC_DATA_OFFSET - which 2009-08-16 19:53:43 +00:00
fsort.c 'depth' is used for the number of bytes into the key that the pointers 2009-08-16 20:02:04 +00:00
fsort.h linebuf and linebuf_size are only used inside seq() - which also not 2009-08-15 16:50:29 +00:00
init.c Ansify. 2009-08-15 09:48:46 +00:00
Makefile Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
msort.c Replace all uses of sizeof(TRECHEADER) with REC_DATA_OFFSET - which 2009-08-16 19:53:43 +00:00
pathnames.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
sort.1 Don't workaround ancient macro argument limit with .Xo/.Xc. 2009-03-11 13:58:29 +00:00
sort.c Ansify. 2009-08-15 09:48:46 +00:00
sort.h Replace all uses of sizeof(TRECHEADER) with REC_DATA_OFFSET - which 2009-08-16 19:53:43 +00:00
tmp.c Ansify. 2009-08-15 09:48:46 +00:00