Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-08-29 | (main): Don't test whether macros like | Paul Eggert | |
S_ISLNK are defined, since they're always defined now. | |||
2006-07-17 | (main): Adjust to new mode_adjust API. | Paul Eggert | |
2006-01-02 | (usage): Clarify -m's operation. | Paul Eggert | |
(main): If -m is given, don't invoke chmod; use umask 0 instead. Report an error if -m asks for bits outside the 777 range. Undo 2005-12-19 changes. | |||
2005-12-28 | Don't include <assert.h>; it wasn't used. | Jim Meyering | |
2005-12-19 | (main) Avoid a minor race condition when `-m MODE' is specified, by using | Jim Meyering | |
open, fchown, and close rather than just chown. To do that reliably (even with an overly restrictive umask), ensure that each mknod call uses a mode including at least owner-read access. (main): When `-m MODE' is specified, exit nonzero if the subsequent chown (or equivalent open,fchown,close) fails. | |||
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2005-05-01 | mode_free -> free | Paul Eggert | |
2005-04-28 | (main): Adjust to new modechange API. | Paul Eggert | |
Also, free the mode_change object when done. | |||
2005-04-22 | (main): Compile mode with MODE_MASK_ALL and initial umask. | Paul Eggert | |
2004-09-21 | Remove unused "case 0". | Paul Eggert | |
2004-06-26 | put \n in format string, not in actual diagnostic | Jim Meyering | |
2004-06-26 | (main): Add \n at the end of message output via fprintf. | Jim Meyering | |
2004-06-21 | (main): Don't segfault when calculating the | Jim Meyering | |
expected number of operands for `mknod NAME'. | |||
2004-06-21 | (main): Standardize on the diagnostics given when someone gives | Jim Meyering | |
too few operands ("missing operand after `xxx'") or too many operands ("extra operand `xxx'"). Include "quote.h" and/or "error.h" if it wasn't already being included. | |||
2004-01-21 | (usage): Use EXIT_SUCCESS, not 0, for clarity. | Jim Meyering | |
(main): Exit with status 1, not 4, if not implemented. | |||
2003-10-18 | Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS change | Jim Meyering | |
of 2003-09-19. Now, AUTHORS is a comma-separated list of strings. Update the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. * src/true.c (main): Append NULL to version_etc argument list. * src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise. | |||
2003-09-18 | (WRITTEN_BY): Rename from AUTHORS. | Jim Meyering | |
Begin each WRITTEN_BY string with `Written by ' and end it with `.'. Mark each WRITTEN_BY string as translatable. | |||
2003-07-11 | (main): Enclose diagnostic in _(...). | Jim Meyering | |
2003-06-17 | (main): Call initialize_main. | Jim Meyering | |
2002-12-14 | (usage): Specify how major and minor mode numbers are interpreted. | Jim Meyering | |
Remove now-redundant usage-specifying comment. | |||
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-07-02 | (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. | Jim Meyering | |
2001-12-02 | Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION | Jim Meyering | |
instead of hard-coding --help and --version descriptions. | |||
2001-11-23 | (usage): Note that ``Mandatory arguments to long options are mandatory | Jim Meyering | |
for short options too.'' | |||
2001-11-23 | Split usage strings so that --help and --version | Jim Meyering | |
descriptions are alone in their own string. | |||
2001-11-22 | (main): Add a literal format string to suppress | Jim Meyering | |
a warning from gcc's -Wformat-security. | |||
2001-10-12 | (main): Tell what's wrong with `mknod c zero 1 5' rather | Jim Meyering | |
than saying just `Try `./mknod --help' for more information.'. | |||
2001-05-24 | (main): Remove quotes around %s. | Jim Meyering | |
The argument is already quoted via the quote function. | |||
2001-05-13 | (main): Check for NODEV device only if NODEV is defined. | Jim Meyering | |
2001-05-13 | (main): Check for overflow when converting out of uintmax_t. | Jim Meyering | |
Do not assume that major_t and minor_t are no wider than int. Check for makedev failures. Convert device numbers via uintmax_t, not unsigned long, just in case. Coalesce duplicate code in the block and character device cases. | |||
2000-09-30 | (main): Rename local `symbolic_mode' to `specified_mode'. | Jim Meyering | |
2000-09-30 | (main): Don't set the umask to 0 and hand-apply | Jim Meyering | |
the previously-set umask unconditionally. Do that only when a MODE has been specified. Otherwise, call mknod with the full creation mask (0777 or 0666) and let the kernel apply the umask. The difference shows up only on file systems with ACL support when the containing directory has a default ACL. Patch by Andreas Gruenbacher. (main): Rename local `symbolic_mode' to `specified_mode'. Also, when MODE is specified, call chmod to ensure that the permission bits are set as specified even when the containing directory has a default ACL. | |||
2000-08-08 | (main): Invoke xalloc_die instead of printing our own message. | Jim Meyering | |
2000-07-30 | Convert "`%s'" in format strings to "%s", and wrap each | Jim Meyering | |
corresponding argument in a `quote (...)' call. | |||
2000-07-09 | update copyright date | Jim Meyering | |
2000-05-13 | Arrange to call close_stdout only upon exit. | Jim Meyering | |
1999-04-26 | Use proper mode_t types and macros. | Jim Meyering | |
Don't assume the traditional Unix values for mode bits. | |||
1999-04-01 | (main): 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-02-16 | update copyright dates | Jim Meyering | |
1999-01-16 | (usage): Don't make it static so that it can be called from libfu.a by ↵ | Jim Meyering | |
xargmatch. | |||
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-01-04 | (main, usage): Check for write error to stdout before exiting. | Jim Meyering | |
Include "closeout.h". | |||
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-02-09 | update copyrights for 1997 | Jim Meyering | |
1997-02-01 | bracket bug address with <> and append a period | Jim Meyering | |