Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-12-20 | (touch): Change the wording of a diagnostic so | Jim Meyering | |
that it makes sense both when the file exists and when it doesn't. | |||
2002-10-03 | Mark translatable string with `N_ (...)'. | Jim Meyering | |
2002-09-29 | (main): Split a long line. | Jim Meyering | |
2002-08-31 | Change `exit (0)' to `exit (EXIT_SUCCESS)', | Jim Meyering | |
`exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'. | |||
2002-08-30 | Change `error (1, ...' to `error (EXIT_FAILURE, ...'. | Jim Meyering | |
2002-08-07 | (main): Adjust to posixtime signature change. | Jim Meyering | |
Remove unnecessary initialization. Use localtime, not posixtm, to warn about obsolete "touch". | |||
2002-07-02 | (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. | Jim Meyering | |
2002-04-17 | (touch): Don't report errors for nonexistent files | Jim Meyering | |
when --no-create is in effect. Based on a patch from TAKAI Kousuke. | |||
2002-02-20 | Include posixver.h. | Jim Meyering | |
(usage): Document only the intersection of the old and new behaviors, to encourage portability. (main): Use `posix2_version ()' in place of POSIX2_VERSION. | |||
2002-01-18 | (main): Issue a warning for obsolete usage, unless POSIXLY_CORRECT. | Jim Meyering | |
2002-01-16 | Add support for POSIX 1003.1-2001, which requires removal for | Jim Meyering | |
support of the obsolete `touch [-acm] MMDDhhmm[YY] FILE...' syntax. (usage, main): Implement this. | |||
2001-12-11 | Include the word `fail' in some diagnostics to make it clearer | Jim Meyering | |
that they indicate a failure. s/getting attributes/failed to get attributes/ | |||
2001-12-02 | Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION | Jim Meyering | |
instead of hard-coding --help and --version descriptions. | |||
2001-12-02 | (touch): Extend the change of 2001-09-15 to work on | Jim Meyering | |
systems for which errno is set to EPERM in that case. Thus, e.g., `touch /' by non-root gives a better diagnostic on systems like SunOS4. | |||
2001-11-23 | (usage): Note that ``Mandatory arguments to long options are mandatory | Jim Meyering | |
for short options too.'' | |||
2001-11-23 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-10-20 | *** empty log message *** | Jim Meyering | |
2001-09-15 | (EISDIR): Define to 0, if not already defined. | Jim Meyering | |
(touch): Give a better diagnostic for e.g., `touch /' by non-root. Based on a patch from Michael Stone. Reported by Jeff Sheinberg as Debian bug #101677. | |||
2001-03-17 | (usage): Tweak the obsolescent usage line so that | Jim Meyering | |
help2man recognizes it as such. | |||
2000-11-10 | (main): Interpret a lone numeric argument of 8 or 10 | Jim Meyering | |
digits as a file name, rather than as a date/time in the obsolescent `MMDDhhmm[YY]' format. Reported by Wenjun Zheng. | |||
2000-07-30 | tweak diagnostic | Jim Meyering | |
2000-07-25 | Convert "`%s'" in format strings to "%s", and wrap each | Jim Meyering | |
corresponding argument in a `quote (...)' call. Add more precise diagnostics. | |||
2000-05-13 | Arrange to call close_stdout only upon exit. | Jim Meyering | |
2000-04-30 | (O_NOCTTY): Define if not defined already. | Jim Meyering | |
(touch): Add O_NOCTTY to the flags passed to open. | |||
2000-02-03 | (O_NDELAY): Define to 0 if not defined. | Jim Meyering | |
(O_NONBLOCK): Define to O_NDELAY if not defined. (touch): Open with O_NONBLOCK, so one can touch a fifo without hanging. Reported by Eric G. Miller via Michael Stone. | |||
1999-12-09 | (anonymous enum): Define TIME_OPTION, and ... | Jim Meyering | |
(longopts): ...use it here instead of `CHAR_MAX + 1'. (main): Likewise. | |||
1999-12-04 | Give the right diagnostic when failing to create a file in an | Jim Meyering | |
unwritable directory. (touch): Record errno upon failed errno and use that saved value if a subsequent fstat, stat or utime call fails. Reported by Wichert Akkerman via Michael Stone. | |||
1999-11-14 | (touch): Simplify code a tad, using fd == -1 instead | Jim Meyering | |
of separate valid_fd variable. | |||
1999-11-13 | (touch): Don't fail just because we couldn't open | Jim Meyering | |
an existing file. This makes it so that touching a read-only file now works. Also clean up and simplify. Based on a patch from Chip Salzenberg. | |||
1999-10-23 | (full_write): Remove unused decl. | Jim Meyering | |
(open_maybe_create): Remove. (touch): Don't record whether the file was created; this isn't possible to do reliably and portably without race conditions. If the file was created and if amtime_now is nonzero, this change means we'll have to do another utime system call, but that's no more harmful than the previous version of this code. | |||
1999-09-09 | (usage): Remove misleading sentence in --help output. | Jim Meyering | |
From Karl Heuer. | |||
1999-08-08 | (usage): Clarify description of --time=WORD. | Jim Meyering | |
1999-05-15 | (open_maybe_create): Handle Solaris' failure mode when | Jim Meyering | |
FILE is a directory. Reported by Vin Shelton. | |||
1999-05-07 | (touch): Only do the fstat if we need to. | Jim Meyering | |
Resort to calling stat for directories, but only when necessary. (usage): Mention --no-create. | |||
1999-04-26 | (open_maybe_create): Don't pass 0666 to open; it's not needed and isn't | Jim Meyering | |
guaranteed to be portable. | |||
1999-04-02 | (open_maybe_create): New function. | Jim Meyering | |
(touch): Rewrite not to use `creat' and to eliminate a race condition that could make touch truncate a nonempty file. Report and suggestions from Andrew Tridgell. | |||
1999-04-01 | (touch): Qualify a char* with the `const' keyword. | Jim Meyering | |
1999-03-31 | Don't include closeout.h or version-etc.h explicitly. Now, they're included ↵ | Jim Meyering | |
via sys2.h. | |||
1999-03-26 | No longer include long-options.h. | Jim Meyering | |
Include version-etc.h instead. (PROGRAM_NAME, AUTHORS): Define. [long_options]: Add entries for --help and --version. Remove parse_long_options call. (main) [getopt switch]: Add a case for each of --help and --version. | |||
1999-03-04 | Include long-options.h | Jim Meyering | |
[long_options]: Remove the "help" and "version" entries. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks. | |||
1999-01-16 | (usage): Remove `static'. | Jim Meyering | |
Use function-style XARGMATCH. | |||
1999-01-04 | (main): remove unused `i' | Jim Meyering | |
1999-01-02 | Adapt to use new interface to XARGMATCH. | Jim Meyering | |
1998-12-31 | (main): Use XARGCASEMATCH in place of argmatch & co. | Jim Meyering | |
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-09-07 | Include posixtm.h. | Jim Meyering | |
(usage): Correct the description of the format of the date string argument to -t option. (main): Update to use rewritten posixtime function. Reported by Andries Brouwer. | |||
1998-09-06 | remove --help-style comment near top | Jim Meyering | |
1998-08-30 | Don't assume ASCII in getopt arg handling. | Jim Meyering | |
1998-08-02 | (touch): Add comment. | Jim Meyering | |
1998-07-25 | (utime_now): Moved into m4/utimes.m4. | Jim Meyering | |
(touch) [!HAVE_UTIME_NULL]: Remove #ifdef and use of utime_now in if-block. |