On 04/06/2017 06:49 PM, Jiří Zárevúcky wrote: > On 5 April 2017 at 20:55, Jakub Jermář <ja...@jermar.eu> wrote: >> Hello, >> >> I've just merged some substantial changes to the filesystem layer in >> mainline revision 2592. Here is the commit log: >> >> [...] >> >> As of now, I know of the following issues / regressions: >> >> - sun4v does not boot (probably image-size related issue); use sun4u in >> the meantime >> - python2 fails to build and complains about missing dirent.c symbols; >> I have been investigating the issue today, but so far inconclusively. >> >> I will be updating the wiki in the next few days to document the new, >> non-POSIXy API. >> > > I'd expect that some of the removed POSIX-ish definitions may need to > be introduced into libposix. I haven't seen it in quite some time, but > the origin of it was kinda like a layer of grease liberally splattered > on top of libc interface -- it didn't redefine what was already > POSIX-like enough to work.
IIRC, I only had to do this with open() and mkdir(). The rest was already defined in libposix and I only had to make adjustments. I also preserved all the dirent functions in libc (being somewhat similar to the FILE I/O functions, on another level of abstraction) and moved them to their own file (i.e. dirent.c). Jakub _______________________________________________ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz http://lists.modry.cz/listinfo/helenos-devel