summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/getdate.y
Commit message (Collapse)AuthorAgeFilesLines
* Fill in some casts that are needed (according to GCC 4.1)kientzle2007-07-201-6/+6
| | | | | | Thanks to: Joerg Sonnenberger Approved by: re (hrs) MFC after: 3 days
* bsdtar 2.0.23:kientzle2007-03-111-0/+1
| | | | | | | | | | * New test scripts exercise some basic functionality * Most header inclusions are now protected (portability) * read.c now relies on security checks in libarchive instead of trying to do its own (optimization) * -p now enabled by default for root, add --no-same-permissions to disable it * Comments, minor style fixes.
* Fix "1 day ago", "yesterday" and similar relative-time phraseskientzle2006-11-021-2/+2
| | | | | | | | when parsing dates. PR: bin/104934: bug in some date handling of bsdtar Reported by: Herve Boulouis MFC after: 3 days
* Extended attribute support on write for Linux; FreeBSD hooks arekientzle2006-03-211-1/+3
| | | | | | | | | | forthcoming. This commit also has a number of style(9) fixes and minor corrections so the code works better with the build system being used for non-FreeBSD builds. Many thanks to: Jaakko Heinonen, who proposed a mechanism for extended attribute support and implemented both the machine-independent portion and the Linux-specific portion.
* Style fix: Correct a compiler warning from GCC 4kientzle2005-09-211-0/+1
| | | | | Thanks to: Divacky Roman PR: bin/84993
* Overhaul getdate.y. In particular, remove minutes-based logickientzle2005-04-231-686/+574
| | | | | | | | | | | | | (combine with existing seconds-based), treat '-' as punctuation rather than a negative number indicator (eliminates several special cases), use a single list of special words instead of several separate lists, use table-driven abbreviation logic (eliminate duplicate word entries and special-case abbreviation and plural handling). The result is shorter, simpler (judging from comments, earlier maintainers didn't understand the special handling for "negative years"), handles more cases (e.g., "tu" is now a recognized abbreviation for "tuesday", "3rd" is now equivalent to "third") and it has 2 fewer shift/reduce conflicts.
* Fix a compile warning, fix the build.kientzle2005-03-131-1/+1
|
* Brain-o. Missing quote.kientzle2005-03-131-1/+1
|
* Add --newer-ctime, --newer-mtime, --newer-ctime-than, and --newer-mtime-thankientzle2005-03-131-0/+919
switches to support selecting files by time of modification. Special thanks to: Steven M. Bellovin, Rich $alz, and Jim Berets, authors of the public-domain getdate.y date-parsing code.
OpenPOWER on IntegriCloud