Opened 6 years ago

#854 new discussion

avoid using non-standard sys/stat.h

Reported by: Peter Owned by: Jari Häkkinen
Priority: major Milestone: yat 0.x+
Component: utility Version: trunk
Keywords: Cc:


We use <sys/stat.h> in FileUtil and in utility/ The header <sys/stat.h> is required in POSIX and provides e.g. the stat struct. But it is not required in C++ standard, so it is a bit ugly that we use it here. It would be fairly easy to re-implement FileUtil using boost::filesystem, which might take care of some corner cases. Same think for functions like mkdir, mkdir_p, and remove.

Change History (0)

Note: See TracTickets for help on using tickets.