summaryrefslogtreecommitdiff
path: root/usr.bin/touch/touch.c
AgeCommit message (Expand)Author
2024-03-27touch: Allow setting the timestamp to -1.Dag-Erling Smørgrav
2023-11-26Remove copyright strings ifdef'd outWarner Losh
2023-11-26usr.bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: two-line .c patternWarner Losh
2022-03-12touch: don't leak descriptor if fstat(2) failsMariusz Zaborski
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2015-02-15touch: Fix some subtle bugs related to NULL times fallback:Jilles Tjoelker
2015-01-24cp,mv,touch: Set timestamps with nanosecond precision.Jilles Tjoelker
2013-04-23Constify where appropriate.Eitan Adler
2013-04-23Cleanups to touch.cEitan Adler
2012-06-10touch: Add the -d option from POSIX.1-2008.Jilles Tjoelker
2012-02-04Remove useless and potentially dangerous rw() function which tries toJaakko Heinonen
2010-12-11Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl
2010-03-28Change all our own code to use st_*tim instead of st_*timespec.Ed Schouten
2009-10-16- If lstat()/stat() fails with an error other than ENOENT, don't ignoreJaakko Heinonen
2007-04-10Usage: print base name of program.Greg Lehey
2007-04-09Add -A flag to adjust existing time stamps.Greg Lehey
2006-01-31Don't set time to current, if set to specific time failsAndrey A. Chernov
2002-09-04ANSIify function definitions.David Malone
2002-08-25Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier
2002-08-19Remove local prototypes for main().Juli Mallett
2002-07-23Handle directories correctly.Eric Melville
2002-03-22remove __PWarner Losh
2001-12-11WARNS=2 is going to be the default, so don't specify it. Use __FBSDID().Mark Murray
2001-09-23blah, remove debugging code that crept in with last commit.David E. O'Brien
2001-09-22Add the 'h' flag to operate on symlinks rather than what they point to.David E. O'Brien
2001-05-26Fix some trivial warnings and clamp down with WARNS=2Kris Kennaway
1999-07-04Clean up some ambiguous nested if/elses.Bill Fumerola
1999-05-12Brucify.Dag-Erling Smørgrav
1999-05-11Sync usage() with man page.Dag-Erling Smørgrav
1999-01-05Merge from 2_2 man page change.Daniel O'Callaghan
1999-01-05PR: 9323Daniel O'Callaghan
1998-06-29Don't assume that time_t is long.Bruce Evans
1997-03-29compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
1996-09-14Don't use __dead or __pure in user code. They were obfuscationsBruce Evans
1995-07-08PR # bin/274Joerg Wunsch
1995-05-30Remove trailing whitespace.Rodney W. Grimes
1994-05-27BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes