259065 |
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
249806 |
23-Apr-2013 |
eadler |
Constify where appropriate.
Reported by: emaste Approved by: cperciva (mentor) MFC After: 3 days
|
249805 |
23-Apr-2013 |
eadler |
Cleanups to touch.c - use const where appropriate - use static where appropriate - use explicit checks checks for error conditions
Reviewed by: sbruno Approved by: cperciva (mentor) Obtained by: DragonFlyBSD
|
236852 |
10-Jun-2012 |
jilles |
touch: Add the -d option from POSIX.1-2008.
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
|
233648 |
29-Mar-2012 |
eadler |
Remove trailing whitespace per mdoc lint warning
Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
|
230979 |
04-Feb-2012 |
jh |
Remove useless and potentially dangerous rw() function which tries to 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
|
216370 |
11-Dec-2010 |
joel |
Remove the advertising clause from UCB copyrighted files in usr.bin. This 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
|
205793 |
28-Mar-2010 |
ed |
Change all our own code to use st_*tim instead of st_*timespec.
Also remove some local patches to diff(1) which are now unneeded.
|
198175 |
16-Oct-2009 |
jh |
- If lstat()/stat() fails with an error other than ENOENT, don't ignore the error and assume that the file doesn't exist. Touch could return success with -c option even if the file existed and time was not set. - If the first utimes_f() call fails with -A option, give up and don't continue trying to set times to current time. [1] - Set exit status to 1 when setting of timestamps fails for a directory or symbolic link even though lstat()/stat() would succeed. - Don't print bogus error message when rw() succeeds.
PR: bin/112213 Submitted by: jilles [1] Reviewed by: jilles Approved by: trasz (mentor)
|
168572 |
10-Apr-2007 |
grog |
Update to match revision 1.23 of touch.c. Clarify some details.
|
168571 |
10-Apr-2007 |
grog |
Usage: print base name of program.
-A flag: respect the -a and -m flags. imply the -c flag.
Requested in principle by: brian
|
168525 |
09-Apr-2007 |
grog |
Add -A flag to adjust existing time stamps. Print name by which program was started in usage() message.
MFC after: 2 weeks
|
155082 |
31-Jan-2006 |
ache |
Don't set time to current, if set to specific time fails
PR: 92577
|
141846 |
13-Feb-2005 |
ru |
Expand *n't contractions.
|
140420 |
18-Jan-2005 |
ru |
Sort sections.
|
140368 |
17-Jan-2005 |
ru |
Added the EXIT STATUS section where appropriate.
|
102944 |
04-Sep-2002 |
dwmalone |
ANSIify function definitions. Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings.
Reviewed by: md5
|
102412 |
25-Aug-2002 |
charnier |
Replace various spelling with FALLTHROUGH which is lint()able
|
102084 |
19-Aug-2002 |
jmallett |
Remove local prototypes for main().
|
100546 |
23-Jul-2002 |
eric |
Handle directories correctly.
PR: 40801 MFC after: 5 days
|
92922 |
22-Mar-2002 |
imp |
remove __P
|
87706 |
11-Dec-2001 |
markm |
WARNS=2 is going to be the default, so don't specify it. Use __FBSDID().
|
83896 |
24-Sep-2001 |
obrien |
Clarify that -h implies -c.
|
83846 |
23-Sep-2001 |
obrien |
blah, remove debugging code that crept in with last commit.
|
83826 |
22-Sep-2001 |
obrien |
Add the 'h' flag to operate on symlinks rather than what they point to.
|
81687 |
15-Aug-2001 |
ru |
mdoc(7) police: utilize the new .Ex macro.
|
77247 |
26-May-2001 |
kris |
Fix some trivial warnings and clamp down with WARNS=2
MFC after: 1 week
|
68963 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
58628 |
26-Mar-2000 |
charnier |
Add DIAGNOSTICS section name
|
50477 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
48792 |
12-Jul-1999 |
nik |
Add $Id$, to make it simpler for members of the translation teams to 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
|
48566 |
04-Jul-1999 |
billf |
Clean up some ambiguous nested if/elses.
|
47042 |
12-May-1999 |
des |
Brucify.
|
47016 |
11-May-1999 |
des |
Sync usage() with man page.
PR: 11539 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
|
42310 |
05-Jan-1999 |
danny |
Merge from 2_2 man page change.
|
42307 |
05-Jan-1999 |
danny |
PR: 9323 Submitted by: ishisone@sra.co.jp Make touch handle years 2000-2038 in the obsoleted format, rather than 1902-1969 as was previously the case with two digit year spec.
|
37259 |
29-Jun-1998 |
bde |
Don't assume that time_t is long.
|
28367 |
18-Aug-1997 |
charnier |
Cosmetic.
|
24360 |
29-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
18286 |
14-Sep-1996 |
bde |
Don't use __dead or __pure in user code. They were obfuscations for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
|
18229 |
10-Sep-1996 |
adam |
YY --> CC
|
9446 |
08-Jul-1995 |
joerg |
PR # bin/274 > The command: > > touch -t 199504011200 testfile > > gives the error message: > > touch: out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]
Submitted by: mpp@legarto.minn.net (Mike Pritchard)
|
8874 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
1591 |
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
|