xffm bugfixes

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Tue Apr 1 11:36:24 CEST 2003


On Mon, 31, Mar 2003, edscott wilson garcia wrote:

> El lun, 31-03-2003 a las 11:12, Benedikt Meurer escribió:
> 
> > > Support should work fine in xffm for Open/NetBSD, as long as pkg_add,
> > > pkg_update and pkg_info are installed.
> > 
> > Seems it does not work well on NetBSD. Going to have a look at that.
> 
> The arguments to the executables might differ. This is what's in the
> code at menu.c:
> 
> {".tgz","pkg_info -dV ",N_("Package information"),NULL,1},
> {".tgz","pkg_info -r ",N_("Package requirements"),NULL,1},
> {".tgz","pkg_info -L ",N_("Package contents"),NULL,1},
> {".tgz","pkg_update ",N_("Update package"),NULL,1},
> {".tgz","pkg_add ",N_("Install package"),NULL,1},
> {".tgz","pkg_add -f ",N_("Install package (force)"),NULL,1},

I'll correct that.

> > Besides that: You're using some errno's (ECANCELED and ENOTSUP) throughout
> > the xffm code, that are not supported by some plattforms. I corrected that.
> > You should stay with the portable errno's.
> 
> OK. Would you happen to have a list of them (or a pointer to where I can
> finde them)? It seems the FreeBSD and RedHat man page for errno both
> list ECANCELED.

Some Unices support such errnos for compatibility with Linux.

Here is a complete list of portable errno's (except for the EIPSEC and
ENOATTR).

http://www.freebsd.org/cgi/man.cgi?query=errno&apropos=0&sektion=0&manpath=OpenBSD+3.2&format=html

>  Edscott

regards,
Benedikt

-- 
Those who do not understand Unix are condemned to reinvent it, poorly.
    -- Henry Spencer



More information about the Xfce4-dev mailing list