Module Name:src
Committed By: christos
Date: Tue Jan 10 21:13:45 UTC 2017
Modified Files:
src/usr.bin/sort: sort.c
Log Message:
refactor includes, add
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/usr.bin/sort/sort.c
Please note that diffs are not
Module Name:src
Committed By: abhinav
Date: Wed Dec 21 09:06:24 UTC 2016
Modified Files:
src/usr.bin/sort: sort.1
Log Message:
Add missing full stop.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/sort/sort.1
Please note that diffs are not
Module Name:src
Committed By: wiz
Date: Wed Jun 1 08:24:03 UTC 2016
Modified Files:
src/usr.bin/sort: sort.1 sort.c
Log Message:
Sort options and their descriptions. Sync usage more with man page.
Bump date in man page for new option -C.
To generate a diff of this
Module Name:src
Committed By: kre
Date: Wed Jun 1 02:37:55 UTC 2016
Modified Files:
src/usr.bin/sort: msort.c sort.1 sort.c sort.h
Log Message:
Add the posix -C option (-c but quieter). Fix -R to work properly when
setting \n as the record delimited using a numeric
Module Name:src
Committed By: mrg
Date: Wed Aug 5 07:10:03 UTC 2015
Modified Files:
src/usr.bin/sort: files.c sort.h
Log Message:
add a description about what was being attempted to failed writes messages.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42
Module Name:src
Committed By: wiz
Date: Wed May 29 15:00:35 UTC 2013
Modified Files:
src/usr.bin/sort: sort.1
Log Message:
- Remove redundant argument to non-first `.Nm' macro;
- reference `-u' at `-c', to make more clear that the former can
be used with the latter;
-
Module Name:src
Committed By: apb
Date: Sun Jan 20 10:12:59 UTC 2013
Modified Files:
src/usr.bin/sort: fields.c
Log Message:
When parsing numbers, allow a leading '+'.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.bin/sort/fields.c
Please note
Module Name:src
Committed By: apb
Date: Sun Jan 20 21:02:11 UTC 2013
Modified Files:
src/usr.bin/sort: sort.1
Log Message:
As from today, numeric fields may begin with an optional
plus or minus sign, not only an optional minus sign.
To generate a diff of this commit:
Module Name:src
Committed By: christos
Date: Sat Dec 18 23:09:48 UTC 2010
Modified Files:
src/usr.bin/sort: fields.c init.c sort.1 sort.c sort.h
Log Message:
Add an 'l' style for sorting that sorts by the string length of the field.
To generate a diff of this commit:
Module Name:src
Committed By: wiz
Date: Sat Dec 18 23:36:23 UTC 2010
Modified Files:
src/usr.bin/sort: sort.1
Log Message:
Sort sections.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.bin/sort/sort.1
Please note that diffs are not public domain;
Module Name:src
Committed By: dholland
Date: Sat Jun 5 17:44:51 UTC 2010
Modified Files:
src/usr.bin/sort: sort.c sort.h
Log Message:
fixit() needs to know the getopt options list to do its thing correctly.
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59
Module Name:src
Committed By: dholland
Date: Sat Jun 5 17:46:08 UTC 2010
Modified Files:
src/usr.bin/sort: init.c
Log Message:
Rework previous change to fixit() to not trip on option arguments. (Noticed
by wiz.) Clarify the loop logic involved.
To generate a diff of
Module Name:src
Committed By: wiz
Date: Sun Jun 6 00:00:33 UTC 2010
Modified Files:
src/usr.bin/sort: init.c
Log Message:
Fix typo in comment.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/sort/init.c
Please note that diffs are not public
Module Name:src
Committed By: dholland
Date: Thu May 27 05:52:29 UTC 2010
Modified Files:
src/usr.bin/sort: init.c
Log Message:
Don't recognize +3 after -- or after the first non-option argument.
This prevents converting +3 into -k4.1 in places where getopt
won't
Module Name:src
Committed By: enami
Date: Fri Feb 5 21:58:42 UTC 2010
Modified Files:
src/usr.bin/sort: fsort.c msort.c sort.c sort.h
Log Message:
Don't touch past the end of allocated region. It results segmentation
violation.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: dsl
Date: Fri Oct 9 20:23:19 UTC 2009
Modified Files:
src/usr.bin/sort: fsort.c
Log Message:
Don't give merge an empty file when we detect EOF with nothing in our
buffer.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44
Module Name:src
Committed By: dsl
Date: Fri Oct 9 20:29:44 UTC 2009
Modified Files:
src/usr.bin/sort: msort.c
Log Message:
When we need to merge more than 16 files, do them in a hierarchy.
Reduces the amount of data written to temporary files.
The 3-level stack has to do
Module Name:src
Committed By: dsl
Date: Fri Oct 9 20:32:57 UTC 2009
Modified Files:
src/usr.bin/sort: fsort.c
Log Message:
If anyone is stupid enough to feed records longer than 8MB into sort, don't
sit in an infinite loop, instead eat memory until we have read 8
Module Name:src
Committed By: dsl
Date: Wed Oct 7 21:02:57 UTC 2009
Modified Files:
src/usr.bin/sort: fields.c
Log Message:
When encoding numbers, we can use all 8 bits for exponent values.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30
Module Name:src
Committed By: dsl
Date: Mon Sep 28 20:30:01 UTC 2009
Modified Files:
src/usr.bin/sort: files.c fsort.c sort.h
Log Message:
Fix borked fix for sort relying on realloc() changing the buffer end.
Sorts of more than 8MB data now probably work again.
To
Module Name:src
Committed By: dsl
Date: Sat Sep 26 21:16:55 UTC 2009
Modified Files:
src/usr.bin/sort: files.c fsort.c fsort.h msort.c sort.c sort.h tmp.c
Log Message:
Move all the fopen() calls out of the record read routines into the callers.
Split the merge sort so
Module Name:src
Committed By: dsl
Date: Sat Sep 19 16:18:01 UTC 2009
Modified Files:
src/usr.bin/sort: radix_sort.c
Log Message:
Fix sort -u, PR/42094
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/sort/radix_sort.c
Please note that diffs are
Module Name:src
Committed By: dsl
Date: Wed Sep 16 20:56:39 UTC 2009
Modified Files:
src/usr.bin/sort: fields.c
Log Message:
Minor tweaks to the key generation for numeric fields.
Use 1's compliment for -ve numbers to avoid confitionals.
To generate a diff of this
Module Name:src
Committed By: dsl
Date: Sat Sep 5 09:16:18 UTC 2009
Modified Files:
src/usr.bin/sort: Makefile init.c sort.c sort.h
Added Files:
src/usr.bin/sort: radix_sort.c
Log Message:
Include a local copy of the sradixsort() code from libc.
Currently
Module Name:src
Committed By: dsl
Date: Sat Sep 5 12:00:26 UTC 2009
Modified Files:
src/usr.bin/sort: append.c files.c fsort.c fsort.h msort.c radix_sort.c
sort.h
Log Message:
Now we have our own radix_sort() change the interface so that we pass
an array of
Module Name:src
Committed By: wiz
Date: Sun Aug 23 15:45:08 UTC 2009
Modified Files:
src/usr.bin/sort: sort.1
Log Message:
Fix pasto.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/usr.bin/sort/sort.1
Please note that diffs are not public domain;
Module Name:src
Committed By: dsl
Date: Sat Aug 22 10:53:28 UTC 2009
Modified Files:
src/usr.bin/sort: append.c fields.c files.c fsort.c init.c msort.c
sort.c sort.h
Log Message:
Rework the way sort generates sort keys:
- If we generate a key, it is always
Module Name:src
Committed By: dsl
Date: Sat Aug 22 21:19:41 UTC 2009
Modified Files:
src/usr.bin/sort: fields.c
Log Message:
Only process each number digit once.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/sort/fields.c
Please note that
Module Name:src
Committed By: dsl
Date: Sat Aug 22 21:28:55 UTC 2009
Modified Files:
src/usr.bin/sort: fields.c
Log Message:
Fix generation of unmasked alpha keys.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/sort/fields.c
Please note that
Module Name:src
Committed By: dsl
Date: Sat Aug 22 21:43:53 UTC 2009
Modified Files:
src/usr.bin/sort: sort.c
Log Message:
Put radixsort() and sradixsort() the correct way around.
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/usr.bin/sort/sort.c
Module Name:src
Committed By: dsl
Date: Thu Aug 20 06:36:26 UTC 2009
Modified Files:
src/usr.bin/sort: append.c fields.c fsort.c fsort.h msort.c sort.c
sort.h
Log Message:
Delete more unwanted/unused cruft.
Simplify logic for reading input records.
Do a merge
Module Name:src
Committed By: dsl
Date: Tue Aug 18 18:00:28 UTC 2009
Modified Files:
src/usr.bin/sort: append.c files.c fsort.c sort.c sort.h
Log Message:
The code that attempted to sort large files by sorting each chunk by the
first key byte and writing to a temp file,
Module Name:src
Committed By: dsl
Date: Sun Aug 16 19:53:43 UTC 2009
Modified Files:
src/usr.bin/sort: append.c files.c fsort.c msort.c sort.h
Log Message:
Replace all uses of sizeof(TRECHEADER) with REC_DATA_OFFSET - which
is defined as offsetof(RECHEADER, data). Delete
Module Name:src
Committed By: dsl
Date: Sun Aug 16 20:02:04 UTC 2009
Modified Files:
src/usr.bin/sort: append.c fsort.c
Log Message:
'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
Module Name:src
Committed By: dsl
Date: Sat Aug 15 09:48:46 UTC 2009
Modified Files:
src/usr.bin/sort: append.c fields.c files.c fsort.c init.c msort.c
sort.c tmp.c
Log Message:
Ansify.
I'm looking at fixing the 'sort -n' fubars, but this code is an
Module Name:src
Committed By: dsl
Date: Sat Aug 15 14:31:48 UTC 2009
Modified Files:
src/usr.bin/sort: files.c
Log Message:
In makeline() change 'pos' from 'char *' to 'u_char *' and remove all
the casts associated with its use.
None of the uses can possibly care about
Module Name:src
Committed By: dsl
Date: Sat Aug 15 16:10:40 UTC 2009
Modified Files:
src/usr.bin/sort: files.c
Log Message:
Remove the unused 'DBT *key' parameter from seq().
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/sort/files.c
Please
Module Name:src
Committed By: dsl
Date: Sat Aug 15 16:50:29 UTC 2009
Modified Files:
src/usr.bin/sort: files.c fsort.c fsort.h msort.c
Log Message:
linebuf and linebuf_size are only used inside seq() - which also not
only has its own static variable, but will also extend
Module Name:src
Committed By: dsl
Date: Sat Aug 15 18:40:02 UTC 2009
Modified Files:
src/usr.bin/sort: fields.c files.c sort.h
Log Message:
Remove reference to db.h by using separate ptr+len fields for the only
structure that used it.
Pass end of keybuf area, not size to
Module Name:src
Committed By: dsl
Date: Sat Aug 15 21:26:32 UTC 2009
Modified Files:
src/usr.bin/sort: fields.c
Log Message:
Always add an REC_D char (usually \n) as the last sort key char - we
almost always need one.
But do ADD it, instead of overwriting the last byte of
Module Name:src
Committed By: lukem
Date: Mon Apr 13 11:07:59 UTC 2009
Modified Files:
src/usr.bin/sort: fields.c files.c sort.c sort.h
Log Message:
Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20
41 matches
Mail list logo