summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-12 15:10:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-12 19:27:09 +0900
commit8e2288b4463a0dbe89fccc63f5120746ca5d18ae (patch)
tree04bda58c9e147da611d2b2554f88bffb4e425baf
parent890889340b73f0bdf9d8f31a941de39494ca17d9 (diff)
downloadtdeutils-8e2288b4463a0dbe89fccc63f5120746ca5d18ae.tar.gz
tdeutils-8e2288b4463a0dbe89fccc63f5120746ca5d18ae.zip
Remove support for OSFHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--doc/kcalc/kcalc_on_OSF.txt62
-rw-r--r--kdf/unix_outputs/unix-defines.txt125
-rw-r--r--ksim/monitors/filesystem/filesystemstats.cpp5
3 files changed, 0 insertions, 192 deletions
diff --git a/doc/kcalc/kcalc_on_OSF.txt b/doc/kcalc/kcalc_on_OSF.txt
deleted file mode 100644
index 59b6e6e..0000000
--- a/doc/kcalc/kcalc_on_OSF.txt
+++ /dev/null
@@ -1,62 +0,0 @@
-X-RDate: Mon, 01 Sep 1997 07:45:22 -0400 (EDT)
-Return-Path: <knoll@daniel.mpi-hd.mpg.de>
-Received: from cornell.edu (cornell.edu [132.236.56.6]) by
- postoffice2.mail.cornell.edu (8.8.5/8.8.5) with ESMTP id KAA06175 for
- <bw18@POSTOFFICE2.MAIL.CORNELL.EDU>; Tue, 26 Aug 1997 10:56:10 -0400 (EDT)
-Received: (from daemon@localhost) by cornell.edu (8.8.5/8.8.5) id KAA25547 for
- bw18@postoffice3.mail.cornell.edu; Tue, 26 Aug 1997 10:55:42 -0400 (EDT)
-Received: from polygon.math.cornell.edu (POLYGON.MATH.CORNELL.EDU
- [128.84.234.110]) by cornell.edu (8.8.5/8.8.5) with SMTP id KAA25126 for
- <bw18@cornell.edu>; Tue, 26 Aug 1997 10:55:15 -0400 (EDT)
-Received: from mpimail.mpi-hd.mpg.de by polygon.math.cornell.edu (5.x/SMI-SVR4)
- id AA07964; Tue, 26 Aug 1997 10:54:56 -0400
-Received: from daniel.mpi-hd.mpg.de (daniel.mpi-hd.mpg.de [149.217.1.90]) by
- mpimail.mpi-hd.mpg.de (8.8.2/8.8.2) with SMTP id QAA19532 for
- <wuebben@math.cornell.edu>; Tue, 26 Aug 1997 16:54:56 +0200 (MET DST)
-Received: from localhost by daniel.mpi-hd.mpg.de
- (5.65v4.0/1.1.10.5/31Jul97-0446PM) id AA04869; Tue, 26 Aug 1997 16:54:56 +0200
-Date: Tue, 26 Aug 1997 16:54:56 +0200 (MET DST)
-X-PH: V4.1@cornell.edu (Cornell Modified)
-Message-Id: <Pine.OSF.3.96.970826163314.32213A-100000@daniel.mpi-hd.mpg.de>
-Mime-Version: 1.0
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-XFMstatus: 0002
-From: Lars Knoll <Lars.Knoll@mpi-hd.mpg.de>
-To: wuebben@math.cornell.edu
-Subject: kcalc unter dec osf4.0
-
-Hi,
-
-ich hatte ein paar Probleme, kcalc auf einer dec alpha unter osf4.0
-zu kompilieren. Das Problem ist, dass bei diesem System
- sizeof(long double) = sizeof(double)
-ist, und dass Routinen namens asinl, fabsl, ... existieren, aber nicht
-in irgendwelchen headers definiert werden.
-Zusaetzlich funktioniert fabsl() wie erwartet, asinl gibt aber leider
-immer nur 0. zurueck. Der folgende patch loest das Problem bei mir.
-
-Lars
-
-
-diff -c kcalc/kcalc.h kcalc.osf/kcalc.h
-*** kcalc/kcalc.h Sun Aug 3 05:01:41 1997
---- kcalc.osf/kcalc.h Tue Aug 26 16:53:12 1997
-***************
-*** 63,68 ****
---- 63,72 ----
-
- /* TAKE CARE OF TH HAVE_LONG_DOUBLE defines in core.cpp*/
-
-+ /* dec osf4.0 has fabsl, but not asinl... */
-+ #ifdef __osf__
-+ #undef HAVE_FABSL
-+ #endif
-
- #ifdef HAVE_FABSL
- #define CALCAMNT long double
-
-
-
----
-Lars Knoll knoll@mpi-hd.mpg.de
- PGP pub key [6DADF3D5]: finger knoll@pluto.mpi-hd.mpg.de
diff --git a/kdf/unix_outputs/unix-defines.txt b/kdf/unix_outputs/unix-defines.txt
deleted file mode 100644
index 75a2846..0000000
--- a/kdf/unix_outputs/unix-defines.txt
+++ /dev/null
@@ -1,125 +0,0 @@
-What about using builtin symbols defined by the compiler (gcc)
-itself. For example on Alpha I have :
-
-lappa{bussat}(74) echo 'main(){printf("hello world\n";}' |gcc -E -v -
-Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf4.0/2.7.2.3/specs
-gcc version 2.7.2.3
- /usr/local/lib/gcc-lib/alpha-dec-osf4.0/2.7.2.3/cpp -lang-c -v -undef
--D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -D__osf__ -D__alpha -D__alpha__
--D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__ -D__alpha
--D__alpha__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix
--D__SYSTYPE_BSD -Asystem(unix) -Asystem(xpg4) -Acpu(alpha)
--Amachine(alpha) -D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C -
-GNU CPP version 2.7.2.3
-#include "..." search starts here:
-#include <...> search starts here:
- /usr/local/include
- /usr/local/alpha-dec-osf4.0/include
- /usr/local/lib/gcc-lib/alpha-dec-osf4.0/2.7.2.3/include
- /usr/include
-End of search list.
-# 1 ""
-main(){printf("hello world\n";}
-
-On HP, this becomes :
-bussat [21] echo 'main(){printf("hello world\n";}' |gcc -E -v -
-Reading specs from
-/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.10/2.7.2.2/specs
-gcc version 2.7.2.2
- /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.10/2.7.2.2/cpp -lang-c -v -undef
--D__GNUC__=2 -D__GNUC_MINOR__=7 -Dhppa -Dhp9000s800 -D__hp9000s800
--Dhp9k8 -DPWB -Dhpux -Dunix -D_HPUX_SOURCE -D__hppa__ -D__hp9000s800__
--D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux__ -D__unix__
--D_HPUX_SOURCE -D__hppa -D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux
--D__unix -Asystem(unix) -Asystem(hpux) -Acpu(hppa) -Amachine(hppa)
--D__hp9000s700 -D_PA_RISC1_1 -
-GNU CPP version 2.7.2.2 (hppa)
-#include "..." search starts here:
-#include <...> search starts here:
- /opt/gcc/include
- /opt/gcc/hppa1.1-hp-hpux10.10/include
- /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.10/2.7.2.2/include
- /usr/include
-End of search list.
-# 1 ""
-main(){printf("hello world
-";}
-
-On Sun Solaris2.5 I found
-lappsun8{bussat}[1]: echo 'main(){printf("hello world\n";}' |gcc -E -v -
-Reading specs from
-/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/specs
-gcc version 2.7.2
- /opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/cpp -lang-c -v
--undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dsun -Dsparc -Dunix -D__svr4__
--D__SVR4 -D__GCC_NEW_VARARGS__ -D__sun__ -D__sparc__ -D__unix__
--D__svr4__ -D__SVR4 -D__GCC_NEW_VARARGS__ -D__sun -D__sparc -D__unix
--Asystem(unix) -Asystem(svr4) -Acpu(sparc) -Amachine(sparc) -
-GNU CPP version 2.7.2 (sparc)
-#include "..." search starts here:
-#include <...> search starts here:
- /usr/local/include
- /opt/FSFgcc/sparc-sun-solaris2.5/include
- /opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include
- /usr/include
-End of search list.
-# 1 ""
-main(){printf("hello world
-";}
-
-Finally, on Sun with SunOS4.1 the results are :
-lappsun1{bussat}[1]: echo 'main(){printf("hello world\n";}' |gcc -E -v
--
-Reading specs from
-/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.6.0/specs
-gcc version 2.6.0
- /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.6.0/cpp -lang-c -v
--undef -D__GNUC__=2 -D__GNUC_MINOR__=6 -Dsparc -Dsun -Dunix
--D__GCC_NEW_VARARGS__ -D__sparc__ -D__sun__ -D__unix__
--D__GCC_NEW_VARARGS__ -D__sparc -D__sun -D__unix -Asystem(unix)
--Asystem(bsd) -Acpu(sparc) -Amachine(sparc) -
-GNU CPP version 2.6.0 (sparc)
-#include "..." search starts here:
-#include <...> search starts here:
- /usr/local/include
- /usr/local/sparc-sun-sunos4.1.3_U1/include
- /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.6.0/include
- /usr/include
-End of search list.
-# 1 ""
-main(){printf("hello world
-";}
-
-on a Linux box there is:
-mike@kermit:/home/mike > echo 'main(){printf("hello world\n";}' |gcc -E -v -
-Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs
-gcc version 2.7.2.1
- /usr/lib/gcc-lib/i486-linux/2.7.2.1/cpp -lang-c -v -undef -D__GNUC__=2
--D__GNUC_MINOR__=7 -D__ELF__ -Dunix -Di386 -Dlinux -D__ELF__ -D__unix__
--D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(unix)
--Asystem(posix) -Acpu(i386) -Amachine(i386) -D__i486__ - GNU CPP version
-2.7.2.1 (i386 Linux/ELF) #include "..." search starts here: #include <...>
-search starts here: /usr/local/include
- /usr/i486-linux/include
- /usr/lib/gcc-lib/i486-linux/2.7.2.1/include
- /usr/include
-End of search list.
-# 1 ""
-main(){printf("hello world\n";}
-
-on digital UNIX V3.2D-1 there is
-mkropfbe@edusrv(1)$ echo 'main(){printf("hello world\n";}' |gcc -E -v -
-Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/specs
-gcc version 2.7.2
- /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/cpp -lang-c -v -undef
--D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -D__osf__ -D__alpha -D__alpha__
--D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__ -D__alpha
--D__alpha__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix
--D__SYSTYPE_BSD -Asystem(unix) -Asystem(xpg4) -Acpu(alpha) -Amachine(alpha)
--D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C - GNU CPP version 2.7.2 #include
-"..." search starts here: #include <...> search starts here:
-/usr/local/include /usr/local/alpha-dec-osf3.2/include
-/usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/include /usr/include
-End of search list.
-# 1 ""
-main(){printf("hello world\n";}
diff --git a/ksim/monitors/filesystem/filesystemstats.cpp b/ksim/monitors/filesystem/filesystemstats.cpp
index 5c1cf3a..045e2ad 100644
--- a/ksim/monitors/filesystem/filesystemstats.cpp
+++ b/ksim/monitors/filesystem/filesystemstats.cpp
@@ -175,12 +175,7 @@ FilesystemStats::List FilesystemStats::readEntries()
Entry entry;
entry.dir = sfs[i].f_mntonname;
entry.fsname = sfs[i].f_mntfromname;
-
-#ifdef __osf__
- entry.type = getvfsbynumber(sfs[i].f_type);
-#else
entry.type = sfs[i].f_fstypename;
-#endif
list.append( entry );
}