diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1998-07-13 03:56:15 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1998-07-13 03:56:15 +0000 |
commit | 0ce20547bdbc8da7ccc871dff8df0e79ae5230bd (patch) | |
tree | da6ce5d138a974e8472c72518c4e3b4e84637e1b /gnu/usr.bin/cvs/emx | |
parent | fbbae6ecbd08ce49852aec8561def0a2d9ba22fe (diff) |
Latest version from Cyclic
Diffstat (limited to 'gnu/usr.bin/cvs/emx')
-rw-r--r-- | gnu/usr.bin/cvs/emx/ChangeLog | 4 | ||||
-rw-r--r-- | gnu/usr.bin/cvs/emx/filesubr.c | 24 |
2 files changed, 4 insertions, 24 deletions
diff --git a/gnu/usr.bin/cvs/emx/ChangeLog b/gnu/usr.bin/cvs/emx/ChangeLog index d99ec434f5a..b120ea8dc41 100644 --- a/gnu/usr.bin/cvs/emx/ChangeLog +++ b/gnu/usr.bin/cvs/emx/ChangeLog @@ -1,3 +1,7 @@ +1998-04-09 Jim Kingdon <kingdon@harvey.cyclic.com> + + * filesubr.c (link_file): Remove; no longer used. + Tue Feb 17 02:28:20 1998 Noel Cragg <noel@swish.red-bean.com> * filesubr.c (last_component): return the top-level directory when diff --git a/gnu/usr.bin/cvs/emx/filesubr.c b/gnu/usr.bin/cvs/emx/filesubr.c index 29118d5d448..47702fb44a6 100644 --- a/gnu/usr.bin/cvs/emx/filesubr.c +++ b/gnu/usr.bin/cvs/emx/filesubr.c @@ -387,30 +387,6 @@ rename_file (from, to) } /* - * link a file, if possible. Warning: the Windows NT version of this - * function just copies the file, so only use this function in ways - * that can deal with either a link or a copy. - */ -int -link_file (from, to) - const char *from; - const char *to; -{ - if (trace) -#ifdef SERVER_SUPPORT - (void) fprintf (stderr, "%c-> link(%s,%s)\n", - (server_active) ? 'S' : ' ', from, to); -#else - (void) fprintf (stderr, "-> link(%s,%s)\n", from, to); -#endif - if (noexec) - return (0); - - copy_file (from, to); - return 0; -} - -/* * unlink a file, if possible. */ int |