CVS: rdesktop disk.c,1.17,1.18

Michael Gernoth <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14042

Modified Files:
	disk.c 
Log Message:
mntent on solaris is different than on linux.
Need to port it when I have more time...
Disable it on solaris for the time being


Index: disk.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/disk.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** disk.c	24 Feb 2004 15:24:38 -0000	1.17
--- disk.c	28 Feb 2004 10:52:29 -0000	1.18
***************
*** 106,110 ****
  #include <sys/statvfs.h>	/* solaris statvfs */
  #include <sys/mntent.h>
! #define HAVE_MNTENT_H
  #define MNTENT_PATH "/etc/mnttab"
  #define STATFS_FN(path, buf) (statvfs(path,buf))
--- 106,111 ----
  #include <sys/statvfs.h>	/* solaris statvfs */
  #include <sys/mntent.h>
! /* TODO: Fix mntent-handling for solaris */
! #undef HAVE_MNTENT_H
  #define MNTENT_PATH "/etc/mnttab"
  #define STATFS_FN(path, buf) (statvfs(path,buf))



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.