summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-06 16:36:34 +0900
committerMichele Calgaro <[email protected]>2025-01-07 09:55:35 +0900
commit1df809582147440749d88e03b70916044db15339 (patch)
tree952e675d15a9c79bc8418c0eb5f996af910f11f1 /tdeio
parente9b2881ed720ce8f3bf2053e359f386ce434b173 (diff)
downloadtdelibs-1df809582147440749d88e03b70916044db15339.tar.gz
tdelibs-1df809582147440749d88e03b70916044db15339.zip
Remove support for Tru64 and OSFHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/tdeio/configure.in.in14
-rw-r--r--tdeio/tdeio/global.cpp4
-rw-r--r--tdeio/tdeio/kurlcompletion.cpp3
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() &&