On Tue, 11 Mar 2003, jkjellman wrote: > I am having a little trouble with an open on a pipe. Here is offending line > > xf86open( "/namedpipe", O_RDONLY | O_NONBLOCK );
> FYI, in the xf86open case I have already modified xfToOsOpenFlags > to allow xf86Open to use the O_NONBLOCK flag. Sorry if I'm teaching my grandmother to suck eggs. For several flags, xfToOsOpenFlags distinguishes betwen the XF86_ and the ordinary versions of the flags (eg XF86_O_RDWR and O_RDWR), but xf86_libc.h has #undef O_RDWR #define O_RDWR XF86_O_RDWR deliberately redefining the ordinary version for convenience - without that redefinition your call would have to be xf86open( "/namedpipe", XF86_O_RDONLY | XF86_O_NONBLOCK ); I take it that you have verified that that twisty maze of header files is correctly negotiated in your case ? The only other thing I can can suggest is to try a static build ( #define DoLoadableServer NO in xc/config/cf/host.def). Not useful for a production version, but it might help to track the bug down if we knew whether to blame the module loader or not ? -- Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge [EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel