Age | Commit message (Collapse) | Author | |
---|---|---|---|
1999-11-07 | (do_link): Warn that making a hard link to a symbolic link is not portable. | Jim Meyering | |
1999-11-07 | Remove entire #if LINK_FOLLOWS_SYMLINKS block. | Jim Meyering | |
1999-11-07 | Add comment prior to removing #if LINK_FOLLOWS_SYMLINKS block | Jim Meyering | |
1999-11-07 | Allow hard links to symlinks on systems that support it. | Jim Meyering | |
(STAT_LIKE_LINK): Define. (do_link): Use STAT_LIKE_LINK, rather than bare `stat', and perform the extra lstat only on systems where LINK_FOLLOWS_SYMLINKS. | |||
1999-11-06 | (do_link): Fix typo (in which the function name `symlink' | Jim Meyering | |
was tested instead of the variable `symbolic_link') that could make ln perform an unneeded `stat' call. | |||
1999-10-31 | tweak usage | Jim Meyering | |
1999-10-30 | Convert --backup to take an optional argument. | Jim Meyering | |
Deprecate --version-control (-V) in comments. (usage): Remove mention of --version-control. (main): Make -V warn then fall through into --backup case. [--backup case]: Handle optional arg. | |||
1999-10-17 | remove last `,' in enum | Jim Meyering | |
1999-10-09 | Accept new option: --target-directory=DIR | Jim Meyering | |
(TARGET_DIRECTORY_OPTION): Define. (usage): Describe it. (main): Implement it. Make code clearer: use new variable `n_files' in place of `argc - optind'. Use `file' instead of `argv + optind'. | |||
1999-05-23 | (same_name): Remove function. | Jim Meyering | |
<same.h>: Include this instead. <dirname.h>: No longer include this. | |||
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-01-31 | (do_link): Allow creation of a hard link to a dangling | Jim Meyering | |
symlink. Reported by Alexey Solovyov: | |||
1999-01-18 | (do_link): Try to remove DEST even after renaming it. | Jim Meyering | |
This fixes a bug reported by Jamie Lokier. | |||
1999-01-17 | (same_name): Use SAME_INODE rather than open coding it. | Jim Meyering | |
1999-01-17 | compress copyright | Jim Meyering | |
1999-01-16 | Remove declarations of base_name and get_version. | Jim Meyering | |
(main): Don't call getenv ("VERSION_CONTROL"); xget_version does it. Use xget_version and function-style XARGMATCH. | |||
1998-12-07 | Use dir_name, not dirname. Include dirname.h. | Jim Meyering | |
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-08-30 | (long_options): Use corresponding short-option character | Jim Meyering | |
in place of `1', and `NULL' in place of pointer in initialization. | |||
1998-02-08 | (usage): Reword to use `TARGET' and `LINK_NAME' in description. | Jim Meyering | |
1998-01-22 | Declare new global, backup_type. | Jim Meyering | |
(main): Initialize backup_type unconditionally. (do_link): Call find_backup_file_name with new argument, backup_type. | |||
1998-01-04 | (main, usage): Check for write error to stdout before exiting. | Jim Meyering | |
Include "closeout.h". | |||
1997-12-11 | (do_link): Don't require --force when target exists and | Jim Meyering | |
using --backup. This changes makes ln consistent with cp and mv in this respect. Suggestion from Eli Zaretskii. | |||
1997-10-23 | Remove stpcpy decl. | Jim Meyering | |
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-09-15 | (do_link): Perform S_ISLNK test only if lstat succeeded. | Jim Meyering | |
1997-09-01 | (do_link): Form destination file name (when DEST is a directory) before | Jim Meyering | |
checking whether SOURCE and DEST are the same file. | |||
1997-05-27 | Use base_name, not basename. | Jim Meyering | |
1997-02-09 | update copyrights for 1997 | Jim Meyering | |
1997-02-01 | bracket bug address with <> and append a period | Jim Meyering | |
1997-02-01 | Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵ | Jim Meyering | |
*) 0' as last parameter in getopt_long call. | |||
1996-11-23 | (usage): Alphabetize option descriptions the way sort -f would. | Jim Meyering | |
1996-11-03 | change bug-reporting address | Jim Meyering | |
1996-11-02 | change bug-reporting address | Jim Meyering | |
1996-10-05 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-10-04 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-08-31 | (usage): remove spurious trailing \n in puts. | Jim Meyering | |
1996-08-29 | (usage): Tell where to report bugs. | Jim Meyering | |
1996-08-01 | [LINK_TYPE]: Remove macro. NLS messages aren't | Jim Meyering | |
extracted from macros. (link_type_string): New global variable to be used instead of LINK_TYPE. (main): Set it here. (do_link): Use it (instead of macro) here. | |||
1996-07-06 | (usage): Factor out backup-related text into separate string/printf statement. | Jim Meyering | |
1996-07-02 | (do_link): Update messages to ease translation. | Jim Meyering | |
Suggestion from Santiago Vila. | |||
1996-06-29 | (do_link): Allow `ln -sf --backup k k' to succeed in creating the | Jim Meyering | |
self-referential symlink, doing so doesn't remove the source but merely renames it. | |||
1996-06-26 | (do_link): Remove `!symlink &&' conjunct. | Jim Meyering | |
1996-06-26 | (same_name): Declare parameters to be const. | Jim Meyering | |
1996-06-26 | (same_name): New function. | Jim Meyering | |
(do_link): Use it to test reliably whether A and B (from ln --force A B) are hard links to the same file. From Andreas Schwab. | |||
1996-06-19 | (decode_switches): Correct typo in error message: | Jim Meyering | |
enironment -> environment. From Santiago Vila Doncel <sanvila@unex.es>. | |||
1996-05-16 | (do_link): Declare pointer parameters to be const. | Jim Meyering | |