Menu

#77 cofs and rename(2) --> -EIO

closed
nobody
None
5
2007-11-21
2005-10-11
Anonymous
No

rename of name X to Y, where Y already exists, yields
a -EIO error. See
http://sourceforge.net/mailarchive/forum.php?
thread_id=8515812&forum_id=37489

Discussion

  • franck

    franck - 2007-05-24

    Logged In: YES
    user_id=448388
    Originator: NO

    Another annoying issue with cofs:
    ar (to make .a) use rename() so it is impossible to make static libraries on a cofs device.
    I hope this bug will be fixed soon !
    Thanks

     
  • Nobody/Anonymous

    Logged In: NO

    Any progress on that one?

     
  • Henry N.

    Henry N. - 2007-08-10

    Logged In: YES
    user_id=579204
    Originator: NO

    done, see last autobuild for devel version 0.8.0.
    Rename allows to overwrite existing file now.

    The implementation is handled by windows internals. Ask MSDN about 'ReplaceIfExists' for FILE_RENAME_INFORMATION object, if you need to know about error handling.

     
  • Henry N.

    Henry N. - 2007-11-21
    • status: open --> closed
     
  • Henry N.

    Henry N. - 2007-11-21

    Logged In: YES
    user_id=579204
    Originator: NO

    is supported in 0.7.2 now