diff options
author | Bruno Haible <bruno@clisp.org> | 2007-01-14 11:32:10 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-01-14 11:32:10 +0000 |
commit | 854ebf64dc7dae95a43a4e139e075156d2add805 (patch) | |
tree | aec3ad9c300a815e631ca5862c47f6dce1e90e1e /lib/copy-file.c | |
parent | 3f244fc82c73922c3b8186c42f7a6922f4c064dc (diff) | |
download | gnulib-854ebf64dc7dae95a43a4e139e075156d2add805.tar.gz |
New module 'fchdir'.
Diffstat (limited to 'lib/copy-file.c')
-rw-r--r-- | lib/copy-file.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/copy-file.c b/lib/copy-file.c index 4314f4c6d1..5a5dcf72c6 100644 --- a/lib/copy-file.c +++ b/lib/copy-file.c @@ -46,6 +46,12 @@ #define _(str) gettext (str) +/* The results of open() in this file are not used with fchdir, + therefore save some unnecessary work in fchdir.c. */ +#undef open +#undef close + + void copy_file_preserving (const char *src_filename, const char *dest_filename) { |