[EMAIL PROTECTED] (Harley D. Eades III) writes: One more thing maybe we could create a new error code for use with opening shared libs one that means could not open a shared lib. Just an idea. hde > Hello, > I am working on the fdisk interface to libparted. While, coding > fdisk I have been fixing problems with parted as well. I have parted working > very well. The only problem I am having trouble solving is when parted > auto-probes for all devices libstore outputs a screen full of errors. > > For example: > /home/hde/PATCHED_parted-1.6.11/parted/.libs/parted: cannot load > libstore_/dev/sd0.so.0.3: libstore_/dev/sd0.so.0.3: cannot open > shared object file: No such file or directory. > > I took a look at LIBSTORE/module.c and notices the function open_class returns > EGRATUITOUS. I looked it up and I have read > > "Tomas Bushnell added, "More precisely EGRATUITOUS officially > means that some server has responded in an impossible or protocol-violating > fashion. There are some cases in the Hurd where EGRATUITOUS is returned and > probably something else should be chosen instead."". > > Now knowing this I would think the error code returned for No such file or dir > would be ENOENT, is this a good idea? If we find a suitable error code we can > remove the stderr output embedded in libstore and the calling program could > output what they like if they like which would be a lot cleaner. > > Thanks > hde > > > > _______________________________________________ > Bug-hurd mailing list > [EMAIL PROTECTED] > http://lists.gnu.org/mailman/listinfo/bug-hurd
_______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-hurd