> From: André Warnier [mailto:a...@ice-sa.com] 
> Subject: Re: Can't move files using symbolic links (allowLinking=true)

> The perl documentation for rename() though, has this to say :
> rename OLDNAME,NEWNAME
> 
> perl itself being written in C, is usually pretty close to the C 
> library.  But maybe the above is a bit dated.

No, the description is perfectly valid - for the rename function.

> What I am getting at is : what if, for reasons of efficiency 
> (but not to the benefit of portability obviously) the developer
> of this C application of which the OP does not have the source,
> used a rename() call in order to move a file from one directory
> to the other, instead of a copy-and-delete sequence ?

Quite possible; as noted earlier, there is no move() API.  The C programmer has 
to understand the limitations of rename() and compensate for them where needed. 
 One could probably run strace to find out just what the program is doing.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to