CVS commit: src/usr.bin/touch

2024-02-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Feb 10 00:19:30 UTC 2024 Modified Files: src/usr.bin/touch: touch.1 touch.c Log Message: Add a -D option to touch, which acts like the -d option added to chmod/chown/chgrp (probably others) in the not too far distant past, and

CVS commit: src/usr.bin/touch

2024-02-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Feb 10 00:19:30 UTC 2024 Modified Files: src/usr.bin/touch: touch.1 touch.c Log Message: Add a -D option to touch, which acts like the -d option added to chmod/chown/chgrp (probably others) in the not too far distant past, and

CVS commit: src/usr.bin/touch

2024-02-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Feb 9 23:41:48 UTC 2024 Modified Files: src/usr.bin/touch: touch.1 touch.c Log Message: Add a -R option, which is identical to -r, except that if the reference file is a symbolic link, the times to use are taken from those of

CVS commit: src/usr.bin/touch

2024-02-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Feb 9 23:41:48 UTC 2024 Modified Files: src/usr.bin/touch: touch.1 touch.c Log Message: Add a -R option, which is identical to -r, except that if the reference file is a symbolic link, the times to use are taken from those of

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:54:13 UTC 2024 Modified Files: src/usr.bin/touch: touch.1 Log Message: Document the -d posix-datetime arg variation, to allow specifying fractional seconds. (Alternate ways to achieve that for the other ways of

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:54:07 UTC 2024 Modified Files: src/usr.bin/touch: touch.c Log Message: Check that mktime() (or timegm() the one time it is used) do not alter any of the material fields of the struct tm that was handed to it. If any

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:54:13 UTC 2024 Modified Files: src/usr.bin/touch: touch.1 Log Message: Document the -d posix-datetime arg variation, to allow specifying fractional seconds. (Alternate ways to achieve that for the other ways of

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:54:07 UTC 2024 Modified Files: src/usr.bin/touch: touch.c Log Message: Check that mktime() (or timegm() the one time it is used) do not alter any of the material fields of the struct tm that was handed to it. If any

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:53:53 UTC 2024 Modified Files: src/usr.bin/touch: Makefile touch.c Log Message: Properly implement the POSIX format -d option. Previously we have hacked that using parsedate(3) - but parsedate() returns a time_t and

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:53:53 UTC 2024 Modified Files: src/usr.bin/touch: Makefile touch.c Log Message: Properly implement the POSIX format -d option. Previously we have hacked that using parsedate(3) - but parsedate() returns a time_t and

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:53:40 UTC 2024 Modified Files: src/usr.bin/touch: touch.c Log Message: Sprinkle come const - but not too much of a good thing. NFCI To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:53:40 UTC 2024 Modified Files: src/usr.bin/touch: touch.c Log Message: Sprinkle come const - but not too much of a good thing. NFCI To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:53:28 UTC 2024 Modified Files: src/usr.bin/touch: touch.c Log Message: Parameterise the "if year < 69 it is 20xx and if >=69 it is 19xx" rule to make it simpler to (eventually, many years hence) to change that rule to

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:53:28 UTC 2024 Modified Files: src/usr.bin/touch: touch.c Log Message: Parameterise the "if year < 69 it is 20xx and if >=69 it is 19xx" rule to make it simpler to (eventually, many years hence) to change that rule to

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:53:13 UTC 2024 Modified Files: src/usr.bin/touch: touch.c Log Message: KNF (space after keyword, and 80 column police). NFCI (This is the first of a series of changes to be committed in rapid sequence). To generate

CVS commit: src/usr.bin/touch

2024-02-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 8 02:53:13 UTC 2024 Modified Files: src/usr.bin/touch: touch.c Log Message: KNF (space after keyword, and 80 column police). NFCI (This is the first of a series of changes to be committed in rapid sequence). To generate

Re: CVS commit: src/usr.bin/touch

2011-09-07 Thread David Holland
On Tue, Sep 06, 2011 at 11:59:50PM +0400, Valeriy E. Ushakov wrote: Please commit changes like the following together instead of spamming the source-changes list. I don't think that spamming source-changes is a very high priority consideration. OTOH, I know that per-directory commits

Re: CVS commit: src/usr.bin/touch

2011-09-06 Thread Valeriy E. Ushakov
On Tue, Sep 06, 2011 at 14:04:45 -0500, David Young wrote: Joerg, Please commit changes like the following together instead of spamming the source-changes list. I don't think that spamming source-changes is a very high priority consideration. OTOH, I know that per-directory commits were