| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
Approved by: arch@, new style(9)
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
|
| |
PR: 27986
Submitted by: Cyrille Lefevre <clefevre@redirect.to>
|
|
|
|
|
|
| |
PR: bin/27399
Submitted by: "Crist J. Clark" <crist.clark@globalstar.com>
MFC after: 3 days
|
|
|
|
| |
unistd.h, which is already included.
|
|
|
|
|
|
|
|
| |
option already supported octal. Add a comment to the -r option
in the man page so it's a bit more specific.
Discrepancy brought to my attention by: sasdrq@unx.sas.com
Approved by: jkh
|
|
|
|
|
|
|
|
|
| |
date is launched with the "u" argument. It now operates in the documented
manner.
Fix typo in date man page.
Submitted by: David McNett <nugget@slacker.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
from the source attributed below. In particular, this removes a goto
inside a switch and replaces those horrendous ATOI macros with
something acceptable.
More clean-ups to come.
PR: bin/14151
Reported by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
Obtained from: NetBSD
|
|
|
|
|
| |
PR: 14472
Reported by: j_guojun@lbl.gov (Jin Guojun)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
add a -j flag that tells date not to try to set the date. This allows you
to use date as a userland interface to strptime.
example:
TZ=GMT date -j -f "%a, %d %b %Y %T %Z" "Sun, 08 Nov 1998 02:22:20 GMT" +%s
which is the standard format for Last-modified headers in HTTP requests.
only one to respond: eivind
|
|
|
|
|
| |
PR: 6308
Submitted by: Max Euston <meuston@jmrodgers.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Make `date -?' output (pretty much) the same as
the man page
PR: 5269
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: bin/4661
Submitted by: blank@sliphost37.uni-trier.de (Sascha Blank)
|
| |
|
|
|
|
|
|
|
|
| |
date using strptime(3).
Suggested by: Michael Smith <msmith@atrad.adelaide.edu.au>
Change mm & dd to MM & DD so that they don't
clash with the month.
|
|
|
|
|
| |
Support Hours & Minutes
Add -Wall to Makefile
|
|
|
|
| |
Discussed with: freebsd-hackers
|
| |
|
|
|
|
| |
are handled; fix typo in same example.
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
| |
use of .Nm macros, and -Wall cleaning.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
with `+'. This breaks tradition and violates Posix 1003.2.
Discoverd by: luigi@labinfo.iet.unipi.it (Luigi Rizzo)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix several bugs involving the obsolescent -d and -t options:
-d 0 and -t 0 were ignored
-t -600 was a usage error
-d 'atoi is not suitable for parsing args' and -t duh were not usage errors
Change some error messages to say which call to settimeofday failed.
Restore casts of NULL in function calls.
Finish conversion to using err() instead of perror().
|
| |
|
|
|