xffm fstab fix for Solaris and FSBD-5.0

edscott wilson garcia edscott at imp.mx
Sat May 10 18:03:59 CEST 2003


Hi Kameshwar,

El sáb, 10-05-2003 a las 03:07, K. Prasad escribió:
> Hi edscott,
> 
> Finally some SUCCESS! xffm runs on solaris now. There
> are two small changes. fstab.c:239 - replace mountp
> with mnt_point. 

Done.

also had to define HAVE_SYSVFSTAB_H in
> the config.h as there was no code in configure to
> enable this define(Since my snapshot is a bit old and

That's a typo. It should be HAVE_SYS_VFSTAB_H. It's now fixed at CVS.

> i just replaced only fstab.c). If this is already done
> in the latest configure script, then it is OK. Iam
> just facing one minor problem. When i click on the
> file manager settings in the settings manager. The
> setting manager crashes/quits. I believe some related
> problems are already fixed in the CVS, so i will
> download the latest snapshot sometime later and try
> with it.

That means the mcs-xffm-plugin is segfaulting. The module has changed
quite a bit in the last days, so it might have been fixed. Most
segfaults that appear in Solaris and not in Linux or BSD are due to a
printf("%s",string) where string==NULL (such was the case in the xfdiff4
segfault).

saludos

Edscott

 
> 
> regards
> 
> kameshwar
> 
> --- edscott wilson garcia <edscott at imp.mx> wrote:
> > Hey Kameshwar,
> > 
> > El jue, 08-05-2003 a las 06:52, K. Prasad escribió:
> > 
> > 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
> > 
> 
> 
> __________________________________
> 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