rename() function

Robert S. Grimes rsg at alum.mit.edu
Wed May 18 19:38:31 UTC 2011


Does the rename() function really work for the
IMFS?  I am using 4.9/4.10 on sparc, and the
following code crashes my app immediately on entry
into the rename() function:

 printf("About to call\n");
 rename("hello.txt", "goodby.txt");
 printf("rename done\n");

The first printf() works, then the system crashes.
And yes, the source file exists, and the destination
does not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20110518/a28f3ac1/attachment.html>


More information about the users mailing list