bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with libstore.


From: Harley D. Eades III
Subject: Re: Help with libstore.
Date: 14 Aug 2004 12:22:34 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

hde@grics.net (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
> Bug-hurd@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-hurd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]