diff options
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/tdeio/configure.in.in | 14 | ||||
-rw-r--r-- | tdeio/tdeio/global.cpp | 4 | ||||
-rw-r--r-- | tdeio/tdeio/kurlcompletion.cpp | 3 |
3 files changed, 1 insertions, 20 deletions
diff --git a/tdeio/tdeio/configure.in.in b/tdeio/tdeio/configure.in.in index f45411458..cf9911512 100644 --- a/tdeio/tdeio/configure.in.in +++ b/tdeio/tdeio/configure.in.in @@ -32,20 +32,6 @@ AC_FIND_ZLIB AC_CHECK_HEADERS(sys/mnttab.h sys/mntent.h mntent.h fstab.h sys/ucred.h sys/mount.h) AC_CHECK_FUNCS(setmntent getmntinfo) -AH_VERBATIM(_GETMNTINFO, [ -#ifdef __osf__ -#ifdef __cplusplus -extern "C" { -#endif -#include <sys/mount.h> -int getmntinfo(struct statfs **mntbufp, int flags); -#include <sys/fs_types.h> /* for mnt_names[] */ -#ifdef __cplusplus -} -#endif -#endif -]) - dnl ------------------------------------------------------------------------ dnl Try to find if libvolmgt is installed (Solaris) dnl ------------------------------------------------------------------------ diff --git a/tdeio/tdeio/global.cpp b/tdeio/tdeio/global.cpp index be6e6d89a..f026b3044 100644 --- a/tdeio/tdeio/global.cpp +++ b/tdeio/tdeio/global.cpp @@ -1760,11 +1760,7 @@ static TQString get_mount_info(const TQString& filename, if (realpath(device_name, realpath_buffer) != 0) // succes, use result from realpath device_name = realpath_buffer; -#ifdef __osf__ - char * mounttype = mnt_names[mounted[i].f_type]; -#else char * mounttype = mounted[i].f_fstypename; -#endif if ( is_my_mountpoint( mounted[i].f_mntonname, realname, max ) ) { mountPoint = TQFile::decodeName(mounted[i].f_mntonname); diff --git a/tdeio/tdeio/kurlcompletion.cpp b/tdeio/tdeio/kurlcompletion.cpp index 1bbac7cfe..7c79d48f3 100644 --- a/tdeio/tdeio/kurlcompletion.cpp +++ b/tdeio/tdeio/kurlcompletion.cpp @@ -223,8 +223,7 @@ void DirectoryListThread::run() // Loop through all directory entries // Solaris and IRIX dirent structures do not allocate space for d_name. On - // systems that do (HP-UX, Linux, Tru64 UNIX), we overallocate space but - // that's ok. + // systems that do (HP-UX, Linux), we overallocate space but that's ok. #ifndef HAVE_READDIR_R struct dirent *dirEntry = 0; while ( !terminationRequested() && |