xffm fstab fix for Solaris and FSBD-5.0
edscott wilson garcia
edscott at imp.mx
Fri May 9 14:50:33 CEST 2003
Hey Kameshwar,
El jue, 08-05-2003 a las 06:52, K. Prasad escribió:
> hi edscott,
>
> sorry for bugging you, in fstab.c:392, setmntent is
> used which is not available on solaris. Also
> getmntent's prototype is int getmntent(FILE *fp,
> struct mnttab *mp); whereas it is used as
> mnt_struct=getmntent(fstab_fd). what could be the
> workaround?
>
Aparently the open_fstab() function was falling into the linux section
of code. I added an extra && defined(HAVE_STRUCT_MNTENT_MNT_DIR)
to the directive which should fix this. Please see if it compiles ok
now.
saludos
Edscott
> regards
>
> kameshwar
>
>
> --- edscott wilson garcia <edscott at imp.mx> wrote:
> >
> >
> > Thanks to the provided config.h files, the fstab.c
> > file in xffm should
> > now follow the correct compilation path for Solaris
> > and FreeBSD-5.0 (at
> > least for the boxes that generated the config.h
> > files ;-)
> >
> > Edscott
> >
> >
> >
> > _______________________________________________
> > Xfce4-dev mailing list
> > Xfce4-dev at xfce.org
> > http://moongroup.com/mailman/listinfo/xfce4-dev
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
>
More information about the Xfce4-dev
mailing list