[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] addition: copy-file.h, copy-file.c

From: Paul Eggert
Subject: Re: [Bug-gnulib] addition: copy-file.h, copy-file.c
Date: 17 Feb 2003 17:24:06 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3

Bruno Haible <address@hidden> writes:

> I hope it's not getting boring. Here is a module to copy a regular
> file. No bells and whistles; only the modification time is copied too.

Also the access time and the Unix permissions; but ACLs and
owner/group are not preserved.

I'm a bit leery of calling this function "copy_file", since it does
things other than copying the file.  There are many options here, and
I'm not sure it's wise to usurp the name "copy_file" for just one way
of copying files.

Whatever its name, perhaps the function should take another argument
specifing exactly which metadata should be copied?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]