| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
POSIX borrowed the "double leap second" bug from C89. Double leap seconds can
never happen. This mistake was present in at least POSIX 1997 and fixed by
POSIX 2004. I can't find a copy of 2001 online to determine if the bug was
present in that revision.
While here, remove duplicate language between -d and -t. A few other minor
enhancements and an igor (lint) bugfix.
Further reading:
2018 POSIX (documents -d):
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/touch.html
2004 POSIX (documents SS from 0-60):
http://pubs.opengroup.org/onlinepubs/009695399/utilities/touch.html
1997 POSIX/SUSv2 (historical interest, 0-61):
http://pubs.opengroup.org/onlinepubs/007908799/xcu/touch.html
More on this subject (start at "Unix system time and the POSIX standard")
https://www.ucolick.org/~sla/leapsecs/onlinebib.html
And: https://marc.info/?l=openbsd-tech&m=92682843416159&w=2
Reported by: Vishal Sahu <vsahu AT isilon.com>
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=334501
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
| |
|
|
| |
Notes:
svn path=/head/; revision=279795
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is much like -t but with a different format which is ISO8601-like and
allows fractions of a second.
The precision is limited to microseconds because of utimes() and friends,
even though stat() returns nanoseconds.
MFC after: 10 days
Notes:
svn path=/head/; revision=236852
|
| |
|
|
|
|
|
|
|
|
| |
Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days
Notes:
svn path=/head/; revision=233648
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
update access and modification times by reading and writing the file.
chmod(2) in rw() doesn't help because utimes(2) allow owner and the
super-user to change times. Using just utimes(2) should be sufficient.
The -f option becomes no-op.
Reviewed by: jilles
Notes:
svn path=/head/; revision=230979
|
| |
|
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
Notes:
svn path=/head/; revision=216370
|
| |
|
|
|
|
|
| |
Clarify some details.
Notes:
svn path=/head/; revision=168572
|
| |
|
|
|
|
|
|
|
| |
Print name by which program was started in usage() message.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=168525
|
| |
|
|
| |
Notes:
svn path=/head/; revision=141846
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140420
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140368
|
| |
|
|
| |
Notes:
svn path=/head/; revision=83896
|
| |
|
|
| |
Notes:
svn path=/head/; revision=83826
|
| |
|
|
| |
Notes:
svn path=/head/; revision=81687
|
| |
|
|
| |
Notes:
svn path=/head/; revision=68963
|
| |
|
|
| |
Notes:
svn path=/head/; revision=58628
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
Notes:
svn path=/head/; revision=48792
|
| |
|
|
| |
Notes:
svn path=/head/; revision=42310
|
| |
|
|
| |
Notes:
svn path=/head/; revision=28367
|
| |
|
|
| |
Notes:
svn path=/head/; revision=18229
|
|
|
Notes:
svn path=/cvs2svn/branches/CHRISTOS/; revision=1590
|