> Hello, > is this also suitable to OpenSolaris ? > http://www.vnode.ch/fixing_seekdir > > -- > Regards, > Piotr Jasiukajtis | estibi | SCA OS0072 > http://estseg.blogspot.com > http://pl.opensolaris.org
I don't think so - see the source files in http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/gen/ in particular, readdir.c, seekdir.c, telldir.c They appear to be implemented quite differently; seekdir() doesn't call any variation of readdir(), and as far as I can see, readdir() doesn't check for d_ino == 0 at all. But maybe someone who understands this much better than I do should take a look just in case (and at the kernel code the library functions are interacting with), just to be sure something similar hasn't sneaked in. I wish I still had access to a copy of a very early SVR4.0 reference port - I wonder whether that bug never made it from *BSD into SVR4. This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
