View Issue Details

IDProjectCategoryView StatusLast Update
0000626LDMud 3.3Portabilitypublic2011-02-19 17:26
Reporterzesstra Assigned Tozesstra  
PrioritynormalSeverityminorReproducibilityN/A
Status assignedResolutionopen 
Summary0000626: Remove special code for obsolete systems/platforms
DescriptionThe driver contains some special code for systems like OS2, EMX, AMIGA, Ultrix, SunOS4 and some others.
As these system are long dead and we anyway don't know if the driver would still run on them, I suggest to remove the code.
I prepared patches for the removal of:
- OS2
- EMX
- AMIGA
- BEOS
- SunOS4
- Ultrix
- MSDOS-leftovers

I will add a series of patches this evening to do this, please comment on the plan and/or patches.

Additionally we might discuss to remove:
- MSDOS filesystems semantics (MSDOS_FS)
- 'mips' which works around an (very) old Irix kernel bug in comm.h
- 'sgi' and '_MODERN_C' which add a prototype for crypt() in port.h which should be not needed for POSIX compliant systems nowadays.
- The semantics of 'sun' is not clear to me. I am tempted to assume 'sun' will be defined on older versions of SunOS while newer ones use 'solaris'. In that case, we could remove it.
- Does anybody know if current Solaris has still a getrusage with t.tv_nsec in microseconds rather than nanoseconds?
TagsNo tags attached.
Attached Files
0003-Removed-checks-for-OS2-__EMX_.patch (5,093 bytes)   
From a6c7bc93b388bf8ab68439942488e7d7290dbfb5 Mon Sep 17 00:00:00 2001
From: zesstra <zesstra@zesstra.de>
Date: Wed, 15 Apr 2009 23:33:08 +0200
Subject: [PATCH 03/12] Removed checks for OS2, __EMX_

These systems are anyway not supported any longer.

Signed-off-by: zesstra <zesstra@zesstra.de>
---
 src/autoconf/configure.in |   12 ------------
 src/comm.c                |    2 +-
 src/files.c               |    4 ----
 src/object.c              |    4 ++--
 src/pkg-pgsql.c           |    2 +-
 src/port.c                |   13 +------------
 src/port.h                |    4 ++--
 7 files changed, 7 insertions(+), 34 deletions(-)

diff --git a/src/autoconf/configure.in b/src/autoconf/configure.in
index e031ec4..b520626 100644
--- a/src/autoconf/configure.in
+++ b/src/autoconf/configure.in
@@ -636,13 +636,6 @@ dnl Not all checks happen here - the check for solaris for example requires
 dnl some library checks first.
 
 AC_EGREP_CPP(yes,[
-#if defined(__EMX__)
-yes
-#endif
-],
-[ EXTRA_CFLAGS="${EXTRA_CFLAGS} -DOS2" ])
-
-AC_EGREP_CPP(yes,[
 #if defined(__CYGWIN32__) || defined(__CYGWIN__)
 yes
 #endif
@@ -2434,8 +2427,6 @@ yes
 [ EXTRA_CFLAGS="${EXTRA_CFLAGS} -Dsolaris" ])
 fi
 
-AC_ARG_WITH(target,[  --with-target    ?? (OS2/WIN32/solaris)], EXTRA_CFLAGS="${EXTRA_CFLAGS} -D${withval}")
-
 # Some Unixes require the -n parameter for tail to work properly
 AC_MSG_CHECKING(if tail accepts the -n parameter)
 TAIL_N=""
@@ -2640,9 +2631,6 @@ case "$EXTRA_CFLAGS" in
         -ltcpip -lsocket -lnsl -lgcc -lc /usr/ucblib/libucb.a"
       LDFLAGS= "-u dgettext -lintl"
   fi ;;
- *-DOS2*)
-      LDFLAGS= "$LDFLAGS -Zbsd-signals -Zexe"
-      ;;
  *-MSWIN*)
       LDFLAGS= "$LDFLAGS -luser32 -lwinmm -lkernel32 -lwsock32"
       ;;
diff --git a/src/comm.c b/src/comm.c
index 0cd14c4..5dd5dbf 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -93,7 +93,7 @@
 
 #include <signal.h>
 
-#if defined(_AIX) || defined(__EMX__) || defined(OS2)
+#if defined(_AIX)
 #    include <sys/select.h>
 #endif
 
diff --git a/src/files.c b/src/files.c
index 6ef59c8..11da1dc 100644
--- a/src/files.c
+++ b/src/files.c
@@ -51,10 +51,6 @@ extern int lstat (CONST char *, struct stat *);
 extern int fchmod(int, int);
 #endif
 
-#if defined(OS2) || defined(__EMX__)
-#    define lstat stat
-#endif
-
 /*-------------------------------------------------------------------------*/
 
 #include "files.h"
diff --git a/src/object.c b/src/object.c
index b3a8516..225d903 100644
--- a/src/object.c
+++ b/src/object.c
@@ -6871,7 +6871,7 @@ v_save_object (svalue_t *sp, int numarg)
         i = 0; /* Result from efun */
 
         unlink(name);
-#if !defined(MSDOS_FS) && !defined(AMIGA) && !(defined(OS2) || defined(__EMX__)) && !defined(__BEOS__)
+#if !defined(MSDOS_FS) && !defined(AMIGA) && !defined(__BEOS__)
         if (link(tmp_name, name) == -1)
 #else
         close(f);
@@ -6884,7 +6884,7 @@ v_save_object (svalue_t *sp, int numarg)
             add_message("Failed to save object !\n");
             i = 1;
         }
-#if !defined(MSDOS_FS) && !defined(AMIGA) && !(defined(__EMX__) || defined(OS2)) && !defined(__BEOS__)
+#if !defined(MSDOS_FS) && !defined(AMIGA) && !defined(__BEOS__)
         close(f);
         unlink(tmp_name);
 #endif
diff --git a/src/pkg-pgsql.c b/src/pkg-pgsql.c
index a201b2f..497ecb5 100644
--- a/src/pkg-pgsql.c
+++ b/src/pkg-pgsql.c
@@ -77,7 +77,7 @@
 
 #else
 
-#    if defined(_AIX) || defined(__EMX__) || defined(OS2)
+#    if defined(_AIX)
 #        include <sys/select.h>
 #    endif
 
diff --git a/src/port.c b/src/port.c
index a1ab31a..05d9f36 100644
--- a/src/port.c
+++ b/src/port.c
@@ -197,17 +197,6 @@ xmemmem ( const char *haystack, size_t haystacklen
 } /* xmemmem() */
 
 /*-------------------------------------------------------------------------*/
-/* Some UNIX functions which are not supported on all platforms. */
-
-#if defined(__EMX__) || defined(OS2)
-int socketpair (int a, int b, int c, int *d)
-{
-    errno = EPERM;
-    return -1;
-}
-#endif
-
-/*-------------------------------------------------------------------------*/
 #ifdef STRTOL_BROKEN
 
 #define DIGIT(x)        (isdigit(x) ? (x) - '0' : \
@@ -378,7 +367,7 @@ getrusage (int who, struct rusage *rusage)
 }
 #endif /* getrusage implemented using times() */
 
-#if defined(CYGWIN) || defined(__EMX__) || defined(OS2)
+#if defined(CYGWIN)
 /*-----------------------------------------------------------------------
 ** void init_rusage (void)
 ** int getrusage (int who, struct rusage *rusage)
diff --git a/src/port.h b/src/port.h
index 79a2991..9a966a5 100644
--- a/src/port.h
+++ b/src/port.h
@@ -199,7 +199,7 @@ extern int errno;
 #    undef USE_MYSQL
 #endif
 
-#if defined( MSDOS ) || defined(CYGWIN) || defined(__EMX__) || defined(OS2)
+#if defined( MSDOS ) || defined(CYGWIN)
 #define MSDOS_FS
 #endif
 
@@ -602,7 +602,7 @@ extern char *crypt(const char *, const char *);
 #    define crypt(pass, salt) _crypt(pass, salt)
 #endif
 
-#if defined(CYGWIN) || defined(__EMX__) || defined(OS2)
+#if defined(CYGWIN)
 extern void init_rusage(void);
 #else
 #define init_rusage()
-- 
1.6.1

0004-Removed-check-for-define-MSDOS.patch (593 bytes)   
From ba8dc428101d9d2dcd7e2903d92e4529a09e8577 Mon Sep 17 00:00:00 2001
From: zesstra <zesstra@zesstra.de>
Date: Wed, 15 Apr 2009 21:13:48 +0200
Subject: [PATCH 04/12] Removed check for define MSDOS.

Signed-off-by: zesstra <zesstra@zesstra.de>
---
 src/port.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/port.h b/src/port.h
index 9a966a5..b413793 100644
--- a/src/port.h
+++ b/src/port.h
@@ -199,7 +199,7 @@ extern int errno;
 #    undef USE_MYSQL
 #endif
 
-#if defined( MSDOS ) || defined(CYGWIN)
+#if defined(CYGWIN)
 #define MSDOS_FS
 #endif
 
-- 
1.6.1

0005-Removed-checks-for-__BEOS__.patch (7,610 bytes)   
From 125b5969d523329f43da1c5868c0767460d58bd7 Mon Sep 17 00:00:00 2001
From: zesstra <zesstra@zesstra.de>
Date: Wed, 15 Apr 2009 23:41:16 +0200
Subject: [PATCH 05/12] Removed checks for __BEOS__

These systems are anyway not supported any longer.

Signed-off-by: zesstra <zesstra@zesstra.de>
---
 src/comm.c      |   36 ++++++++----------------------------
 src/make_func.y |    3 ---
 src/object.c    |    4 ++--
 src/port.h      |   49 +++++++++++++++++++------------------------------
 src/simulate.c  |    2 --
 src/slaballoc.c |    2 +-
 src/smalloc.c   |    2 +-
 7 files changed, 31 insertions(+), 67 deletions(-)

diff --git a/src/comm.c b/src/comm.c
index 5dd5dbf..d823b41 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -814,8 +814,6 @@ set_socket_nonblocking (SOCKET_T new_socket)
 {
     int tmp;
 
-#ifndef __BEOS__
-
     tmp = 1;
 
 # ifdef USE_IOCTL_FIONBIO
@@ -834,19 +832,6 @@ set_socket_nonblocking (SOCKET_T new_socket)
     }
 # endif /* !USE_IOCTL_FIONBIO */
 
-#else /* if __BEOS__ */
-
-    /* BeOS up to R4 uses different filedescriptors for files and sockets;
-     * so a fcntl() modifies the regular file with the number <new_socket>,
-     * but not the socket itself. setsockopt() comes to our rescue.
-     * TODO: Add setsockopt() to configure to test?
-     */
-    tmp = 1;
-    if (setsockopt(new_socket, SOL_SOCKET, SO_NONBLOCK, &tmp, sizeof tmp))
-        perror("setsockopt SO_NONBLOCK");
-
-#endif /* if !__BEOS__ */
-
 } /* set_socket_nonblocking() */
 
 /*-------------------------------------------------------------------------*/
@@ -2599,7 +2584,7 @@ get_message (char *buff)
          *   to prevent freezing.
          * TODO: Always use the readfds information.
          */
-#if !defined(__BEOS__) && !defined(CYGWIN)
+#if !defined(CYGWIN)
         if (udp_s >= 0)
 #else
         if (udp_s >= 0 && FD_ISSET(udp_s, &readfds))
@@ -5952,9 +5937,7 @@ open_ipv6_conn( const char *hostname, const unsigned short int port
     int sock;
     int con = 0;
     int fd_flags;
-#ifdef __BEOS__
-    const int bos = 1;
-#endif
+
     struct hostent *h;
     struct protoent *p;
     struct sockaddr_in6 addr;
@@ -5969,19 +5952,16 @@ open_ipv6_conn( const char *hostname, const unsigned short int port
         return -1;
     }
     endprotoent();
-#ifdef __BEOS__
-    if (setsockopt(sock, SOL_SOCKET, SO_NONBLOCK, &bos, sizeof(bos)))
-#else
-        fd_flags = fcntl(sock, F_GETFL, 0);
-#  if defined(O_NONBLOCK)
+
+    fd_flags = fcntl(sock, F_GETFL, 0);
+#if defined(O_NONBLOCK)
     fd_flags |= O_NONBLOCK;
-#  elif defined(O_NDELAY)
+#elif defined(O_NDELAY)
     fd_flags |= O_NDELAY;
-#  elif defined(FNDELAY)
+#elif defined(FNDELAY)
     fd_flags |= O_FNDELAY;
-#  endif
-    if (fcntl(sock, F_SETFL, fd_flags) == -1)
 #endif
+    if (fcntl(sock, F_SETFL, fd_flags) == -1)
     {
         perror("setsockopt/fcntl");
         close(sock);
diff --git a/src/make_func.y b/src/make_func.y
index 3c957d5..2608559 100644
--- a/src/make_func.y
+++ b/src/make_func.y
@@ -2706,9 +2706,6 @@ read_machine (void)
 #ifdef AMIGA
     add_define("AMIGA",-1,"");
 #endif
-#ifdef __BEOS__
-    add_define("__BEOS__", -1, "");
-#endif
 #ifdef DEBUG
     add_define("DEBUG", -1, "");
 #endif
diff --git a/src/object.c b/src/object.c
index 225d903..646d1c6 100644
--- a/src/object.c
+++ b/src/object.c
@@ -6871,7 +6871,7 @@ v_save_object (svalue_t *sp, int numarg)
         i = 0; /* Result from efun */
 
         unlink(name);
-#if !defined(MSDOS_FS) && !defined(AMIGA) && !defined(__BEOS__)
+#if !defined(MSDOS_FS) && !defined(AMIGA)
         if (link(tmp_name, name) == -1)
 #else
         close(f);
@@ -6884,7 +6884,7 @@ v_save_object (svalue_t *sp, int numarg)
             add_message("Failed to save object !\n");
             i = 1;
         }
-#if !defined(MSDOS_FS) && !defined(AMIGA) && !defined(__BEOS__)
+#if !defined(MSDOS_FS) && !defined(AMIGA)
         close(f);
         unlink(tmp_name);
 #endif
diff --git a/src/port.h b/src/port.h
index b413793..c8f8510 100644
--- a/src/port.h
+++ b/src/port.h
@@ -102,15 +102,6 @@ extern int errno;
 #include <math.h>
 #include <float.h>
 
-#ifdef __BEOS__
-     /* BeOS defines some standard non-standard types itself (like int32).
-      * Since the defs will be used as part of the networking includes,
-      * we force them in here globally and simply adapt the other
-      * definitions to avoid clashes.
-      */
-#    include <SupportDefs.h>
-#endif
-
 #ifdef HAVE_SYS_PARAM_H
 #    include <sys/param.h>
 #endif
@@ -424,34 +415,32 @@ typedef p_uint       mp_uint;
 #define SCNxMPINT  PRIxPINT
 
 
-#ifndef __BEOS__
 /* int32 : an integer with 32 bits.
    TODO: just use (u)int32_t instead of (u)int32. */
 typedef int32_t   int32;
 typedef uint32_t  uint32;
-#  ifndef PRId32
+#ifndef PRId32
    /* unfortunately there seems to be no PRId32 from inttypes.h or alike.
       TODO: Once we require C99, we can get rid of the this stuff */
-#    if !defined(CHAR_BIT) || CHAR_BIT != 8
-#      error CHAR_BIT does not exist or is != 8 which is currently not supported!
-       Thats it.
-#    endif
+#  if !defined(CHAR_BIT) || CHAR_BIT != 8
+#    error CHAR_BIT does not exist or is != 8 which is currently not supported!
+     Thats it.
+#  endif
    /* now sizeof(int32) has to be sizeof(char) * 4 == 4. */
-#    if SIZEOF_INT == 4
-#      define __PRId32PREFIX
-#    elif SIZEOF_LONG == 4
-#      define __PRId32PREFIX "l"
-#    elif SIZEOF_SHORT == 4
-#      define __PRIx32PREFIX "h"
-#    else
-#      error Could not find length modifier for (u)int32
-       Thats it.
-#    endif
-#    define PRId32 __PRId32PREFIX "d"
-#    define PRIu32 __PRId32PREFIX "u"
-#    define PRIx32 __PRId32PREFIX "x"
-#  endif /* PRId32 */
-#endif /* __BEOS__ */
+#  if SIZEOF_INT == 4
+#    define __PRId32PREFIX
+#  elif SIZEOF_LONG == 4
+#    define __PRId32PREFIX "l"
+#  elif SIZEOF_SHORT == 4
+#    define __PRIx32PREFIX "h"
+#  else
+#    error Could not find length modifier for (u)int32
+     Thats it.
+#  endif
+#  define PRId32 __PRId32PREFIX "d"
+#  define PRIu32 __PRId32PREFIX "u"
+#  define PRIx32 __PRId32PREFIX "x"
+#endif /* PRId32 */
 
 
 /* type to use with constant pointer arithmetic. */
diff --git a/src/simulate.c b/src/simulate.c
index 6acdc68..246b51d 100644
--- a/src/simulate.c
+++ b/src/simulate.c
@@ -580,7 +580,6 @@ dump_core(void)
  */
 
 {
-#if !defined(__BEOS__)
     /* we want a core dump, and abort() seems to fail for linux and sun */
     (void)signal(SIGFPE, SIG_DFL);
     {
@@ -588,7 +587,6 @@ dump_core(void)
         *((char*)0) = 0/a;
         *((char*)fatal) = 0/a;
     }
-#endif
     abort();
 } /* dump_core() */
 
diff --git a/src/slaballoc.c b/src/slaballoc.c
index 5aceca7..7278596 100644
--- a/src/slaballoc.c
+++ b/src/slaballoc.c
@@ -2092,7 +2092,7 @@ mem_realloc (POINTER p, size_t size)
 
 /* Extra types and definitions for the AVL routines */
 
-#if defined (sun) || defined(AMIGA) || defined(__linux__) || defined(__BEOS__)
+#if defined (sun) || defined(AMIGA) || defined(__linux__)
     /* there is a type signed char */
     typedef signed char balance_t;
 #   define BALANCE_T_BITS 8
diff --git a/src/smalloc.c b/src/smalloc.c
index 407ea1e..5fd23e7 100644
--- a/src/smalloc.c
+++ b/src/smalloc.c
@@ -1885,7 +1885,7 @@ mem_realloc (POINTER p, size_t size)
 
 /* Extra types and definitions for the AVL routines */
 
-#if defined (sun) || defined(AMIGA) || defined(__linux__) || defined(__BEOS__)
+#if defined (sun) || defined(AMIGA) || defined(__linux__)
     /* there is a type signed char */
     typedef signed char balance_t;
 #   define BALANCE_T_BITS 8
-- 
1.6.1

0006-Removed-checks-for-AMIGA.patch (6,827 bytes)   
From b10f3a3bba4bdcd409dbbf8509c964b423b1dd26 Mon Sep 17 00:00:00 2001
From: zesstra <zesstra@zesstra.de>
Date: Wed, 15 Apr 2009 23:53:14 +0200
Subject: [PATCH 06/12] Removed checks for AMIGA

Amiga systems are anyway not supported any longer.

Signed-off-by: zesstra <zesstra@zesstra.de>
---
 src/alloca.c        |    4 ----
 src/lex.c           |   10 ----------
 src/make_func.y     |    3 ---
 src/object.c        |    4 ++--
 src/slaballoc.c     |    4 ++--
 src/smalloc.c       |    4 ++--
 src/svalue.h        |   47 ++---------------------------------------------
 src/util/overhead.c |    2 +-
 8 files changed, 9 insertions(+), 69 deletions(-)

diff --git a/src/alloca.c b/src/alloca.c
index 9ad5ad4..0b55567 100644
--- a/src/alloca.c
+++ b/src/alloca.c
@@ -48,10 +48,6 @@ typedef void *pointer;  /* generic pointer type */
  * STACK_DIRECTION = 0 => direction of growth unknown
  */
 
-#if defined(AMIGA)
-#    define STACK_DIRECTION -1
-#endif
-
 #ifndef STACK_DIRECTION
 #    define STACK_DIRECTION  0  /* direction unknown */
 #endif
diff --git a/src/lex.c b/src/lex.c
index 80ee8ab..9b59cd3 100644
--- a/src/lex.c
+++ b/src/lex.c
@@ -698,11 +698,6 @@ init_lexer(void)
     {
         ident_t *p;
 
-#if defined(AMIGA) && defined(_DCC) && defined(DICE30)
-        if (n >= NELEM(instrs)-1)
-            continue;
-#endif
-
         if (instrs[n].Default == -1)
             continue;
 
@@ -736,11 +731,6 @@ init_lexer(void)
     {
         ident_t *p;
 
-#if defined(AMIGA) && defined(_DCC) && defined(DICE30)
-        if (i >= NELEM(reswords)-1)
-            continue;
-#endif
-
         p = make_shared_identifier(reswords[i].name, I_TYPE_RESWORD, 0);
         if (!p)
             fatal("Out of memory\n");
diff --git a/src/make_func.y b/src/make_func.y
index 2608559..1004a04 100644
--- a/src/make_func.y
+++ b/src/make_func.y
@@ -2703,9 +2703,6 @@ read_machine (void)
 {
     /* Some predefined macros */
 
-#ifdef AMIGA
-    add_define("AMIGA",-1,"");
-#endif
 #ifdef DEBUG
     add_define("DEBUG", -1, "");
 #endif
diff --git a/src/object.c b/src/object.c
index 646d1c6..84708aa 100644
--- a/src/object.c
+++ b/src/object.c
@@ -6871,7 +6871,7 @@ v_save_object (svalue_t *sp, int numarg)
         i = 0; /* Result from efun */
 
         unlink(name);
-#if !defined(MSDOS_FS) && !defined(AMIGA)
+#if !defined(MSDOS_FS)
         if (link(tmp_name, name) == -1)
 #else
         close(f);
@@ -6884,7 +6884,7 @@ v_save_object (svalue_t *sp, int numarg)
             add_message("Failed to save object !\n");
             i = 1;
         }
-#if !defined(MSDOS_FS) && !defined(AMIGA)
+#if !defined(MSDOS_FS)
         close(f);
         unlink(tmp_name);
 #endif
diff --git a/src/slaballoc.c b/src/slaballoc.c
index 7278596..d1cddaa 100644
--- a/src/slaballoc.c
+++ b/src/slaballoc.c
@@ -2092,7 +2092,7 @@ mem_realloc (POINTER p, size_t size)
 
 /* Extra types and definitions for the AVL routines */
 
-#if defined (sun) || defined(AMIGA) || defined(__linux__)
+#if defined (sun) || defined(__linux__)
     /* there is a type signed char */
     typedef signed char balance_t;
 #   define BALANCE_T_BITS 8
@@ -2100,7 +2100,7 @@ mem_realloc (POINTER p, size_t size)
     typedef short balance_t;
 #   define BALANCE_T_BITS 16
 #endif
-#if defined(sparc) || defined(AMIGA)
+#if defined(sparc)
     /* try to avoid multiple shifts, because these are costly */
 #   define NO_BARREL_SHIFT
 #endif
diff --git a/src/smalloc.c b/src/smalloc.c
index 5fd23e7..334e24b 100644
--- a/src/smalloc.c
+++ b/src/smalloc.c
@@ -1885,7 +1885,7 @@ mem_realloc (POINTER p, size_t size)
 
 /* Extra types and definitions for the AVL routines */
 
-#if defined (sun) || defined(AMIGA) || defined(__linux__)
+#if defined (sun) || defined(__linux__)
     /* there is a type signed char */
     typedef signed char balance_t;
 #   define BALANCE_T_BITS 8
@@ -1893,7 +1893,7 @@ mem_realloc (POINTER p, size_t size)
     typedef short balance_t;
 #   define BALANCE_T_BITS 16
 #endif
-#if defined(sparc) || defined(AMIGA)
+#if defined(sparc)
     /* try to avoid multiple shifts, because these are costly */
 #   define NO_BARREL_SHIFT
 #endif
diff --git a/src/svalue.h b/src/svalue.h
index 7ade63b..65365b2 100644
--- a/src/svalue.h
+++ b/src/svalue.h
@@ -334,10 +334,8 @@ struct svalue_s
  * be well below all existing host floating point formats so that we get
  * the same accuracy on all platforms.
  *
- * The functions to encode/decode float numbers exist in two version, one
- * fast one using internal knowledge about how the compiler stores its
- * numbers, and a second portable one. To keep the implementation
- * transparent, the following macros/functions are defined:
+ * To keep the implementation transparent, the following macros/functions are
+ * defined:
  *
  *   int FLOAT_FORMAT:
  *     0 for the portable format, 1 for the fast format.
@@ -360,47 +358,6 @@ struct svalue_s
  *     Declaration of a local variable which STORE_DOUBLE needs.
  */
 
-/* --- The fast format */
-
-#if (defined(AMIGA) && defined(_DCC))
-
-#define FLOAT_FORMAT_1
-
-/* Faster routines, using inline and knowlegde about double format.
- * The exponent isn't actually in 'exponent', but that doesn't really matter
- * as long as the accesses are consistent.
- *
- * The DICE compiler for the Amiga lacks the ldexp() and frexp() functions,
- * therefore these functions here are the only way to get things done.
- *
- * STORE_DOUBLE doesn't do any rounding, but truncates off the least
- * significant bits of the mantissa that won't fit together with the exponent
- * into 48 bits. To compensate for this, we initialise the unknown bits of
- * the mantissa with 0x7fff in READ_DOUBLE . This keeps the maximum precision
- * loss of a store/read pair to the same value as rounding, while being faster
- * and being more stable.
- */
-
-static INLINE
-double READ_DOUBLE(struct svalue *svalue_pnt)
-{        double tmp;
-        (*(long*)&tmp) = svalue_pnt->u.mantissa;
-        ((short*)&tmp)[2] = svalue_pnt->x.exponent;
-        ((short*)&tmp)[3] = 0x7fff;
-        return tmp;
-}
-
-#define SPLIT_DOUBLE(double_value, int_pnt) (\
-            (*(int_pnt) = ((short*)&double_value)[2]),\
-            *((long*)&double_value)\
-        )
-
-#define STORE_DOUBLE_USED
-#define STORE_DOUBLE(dest, double_value) (\
-            (dest)->u.mantissa = *((long*)&double_value),\
-            (dest)->x.exponent = ((short*)&double_value)[2]\
-        )
-#endif
 
 /* --- The portable format, used if no other format is defined */
 
diff --git a/src/util/overhead.c b/src/util/overhead.c
index 63706b8..49e25cf 100644
--- a/src/util/overhead.c
+++ b/src/util/overhead.c
@@ -17,7 +17,7 @@
  */
 
 #include <stdio.h>
-#if defined(HAVE_STDLIB_H) || defined(AMIGA)
+#if defined(HAVE_STDLIB_H)
 #  include <stdlib.h>
 #endif
 #ifdef HAVE_LIBC_H
-- 
1.6.1

0010-Removed-MSDOS-filesystem-semantics.patch (8,734 bytes)   
From 922ac79b2d91b6e7ecb8e75e41ae081da53b77e0 Mon Sep 17 00:00:00 2001
From: zesstra <zesstra@zesstra.de>
Date: Thu, 16 Apr 2009 00:24:38 +0200
Subject: [PATCH 10/12] Removed MSDOS filesystem semantics

Checks for MSDOS_FS and special behaviour (e.g. \\ as path separator) are
removed.

Signed-off-by: zesstra <zesstra@zesstra.de>
---
 doc/driver/predefined    |    6 ++----
 src/files.c              |    6 ------
 src/lex.c                |    3 ---
 src/main.c               |   11 -----------
 src/object.c             |   19 -------------------
 src/port.h               |    6 ------
 src/simulate.c           |   30 ------------------------------
 src/util/indent/args.c   |    5 +----
 src/util/indent/indent.c |   13 -------------
 9 files changed, 3 insertions(+), 96 deletions(-)

diff --git a/doc/driver/predefined b/doc/driver/predefined
index 27e8dbc..8ee651a 100644
--- a/doc/driver/predefined
+++ b/doc/driver/predefined
@@ -69,9 +69,6 @@ DESCRIPTION
       __LPC_ARRAY_CALLS__: call_other()s on arrays of objects enabled.
       __BOOT_TIME__      : the time() the driver was started.
 
-    If the driver is compiled for using the MS-DOS filesystem
-    conventions, __MSDOS_FS__ is defined.
-
     If the ERQ is supported, the following macros are defined:
 
       __ERQ_MAX_SEND__  : the max size of the send buffer
@@ -118,7 +115,8 @@ HISTORY
     3.3.713 added __IDNA__, __SQLITE__.
     3.3.714 added __OPENSSL__, __GNUTLS__.
     3.3.718 added __XML_DOM__.
-    3.3.719 removed __PTHREADS__ and added __GCRYPT__.
+    3.3.719 removed __PTHREADS__, AMIGA, MSDOS_FS, __BEOS__  
+		    and added __GCRYPT__.
 
 SEE ALSO
     pragma(LPC), preprocessor(LPC)
diff --git a/src/files.c b/src/files.c
index 9756d61..554469b 100644
--- a/src/files.c
+++ b/src/files.c
@@ -1295,9 +1295,6 @@ v_read_file (svalue_t *sp, int num_arg)
         for (p2 = str; p != end; ) {
             c = *p++;
             if ( c == '\n' ) {
-#ifdef MSDOS_FS
-                if ( p2[-1] == '\r' ) p2--;
-#endif
                 if (!--len) {
                     *p2++=c;
                     break;
@@ -1336,9 +1333,6 @@ v_read_file (svalue_t *sp, int num_arg)
             for (p = p2; p != end; ) {
                 c = *p++;
                 if ( c == '\n' ) {
-#ifdef MSDOS_FS
-                    if ( p2[-1] == '\r' ) p2--;
-#endif
                     if (!--len) {
                         *p2++ = c;
                         break;
diff --git a/src/lex.c b/src/lex.c
index 2878bae..b17859a 100644
--- a/src/lex.c
+++ b/src/lex.c
@@ -818,9 +818,6 @@ init_lexer(void)
 #ifdef EVAL_COST_TRACE
     add_permanent_define("__EVAL_COST_TRACE__", -1, string_copy("1"), MY_FALSE);
 #endif
-#ifdef MSDOS_FS
-    add_permanent_define("__MSDOS_FS__", -1, string_copy("1"), MY_FALSE);
-#endif
 #ifdef HAS_IDN
     add_permanent_define("__IDNA__", -1, string_copy("1"), MY_FALSE);
 #endif
diff --git a/src/main.c b/src/main.c
index 4c7e58d..e8ba358 100644
--- a/src/main.c
+++ b/src/main.c
@@ -541,11 +541,7 @@ main (int argc, char **argv)
                      , (unsigned long)strlen(BINDIR)+6);
             }
             strcpy(erq_file, BINDIR);
-#ifndef MSDOS_FS
             strcat(erq_file, "/erq");
-#else
-            strcat(erq_file, "\\erq");
-#endif
         }
         else if (*erq_file != '/')
         {
@@ -557,11 +553,7 @@ main (int argc, char **argv)
                      , (unsigned long)(strlen(BINDIR)+2+strlen(erq_file)));
             }
             strcpy(tmp, BINDIR);
-#ifndef MSDOS_FS
             strcat(tmp, "/");
-#else
-            strcat(tmp, "\\");
-#endif
             strcat(tmp, erq_file);
             free(erq_file);
             erq_file = tmp;
@@ -2089,9 +2081,6 @@ options (void)
 #       if defined(NO_INLINES)
                               , "NO_INLINES"
 #       endif
-#       if defined(MSDOS_FS)
-                              , "MSDOS_FS"
-#       endif
 #       if defined(TRACECODE)
                               , "TRACECODE"
 #       endif
diff --git a/src/object.c b/src/object.c
index 84708aa..dff6cbb 100644
--- a/src/object.c
+++ b/src/object.c
@@ -6723,13 +6723,8 @@ v_save_object (svalue_t *sp, int numarg)
         tmp_name = name + len + sizeof save_file_suffix;
         strcpy(name, get_txt(sfile));
 
-#ifndef MSDOS_FS
         strcpy(name+len, save_file_suffix);
-#endif
         sprintf(tmp_name, "%s.tmp", name);
-#ifdef MSDOS_FS
-        strcpy(name+len, save_file_suffix);
-#endif
 
         free_mstring(sfile);
 
@@ -6871,12 +6866,7 @@ v_save_object (svalue_t *sp, int numarg)
         i = 0; /* Result from efun */
 
         unlink(name);
-#if !defined(MSDOS_FS)
         if (link(tmp_name, name) == -1)
-#else
-        close(f);
-        if (rename(tmp_name,name) < 0)
-#endif
         {
             perror(name);
             printf("%s Failed to link %s to %s\n"
@@ -6884,10 +6874,8 @@ v_save_object (svalue_t *sp, int numarg)
             add_message("Failed to save object !\n");
             i = 1;
         }
-#if !defined(MSDOS_FS)
         close(f);
         unlink(tmp_name);
-#endif
 
         /* free the error handler and the arguments (numarg + 1  from sp) and
          * push result on the stack.
@@ -8279,10 +8267,8 @@ restore_svalue (svalue_t *svp, char **pt, char delimiter)
                 return MY_FALSE;
             }
 
-#ifndef MSDOS_FS
             if (c == '\r')
                 c = '\n';
-#endif
 
             if (c == '\\')
             {
@@ -8515,13 +8501,8 @@ old_restore_string (svalue_t *v, char *str)
     if ( '\0' != (c = *cp++) )
     {
         do {
-#ifndef MSDOS_FS
             if (c == '\r')
                 cp[-1] = '\n';
-#else
-            if (c == CTRLZ)
-                cp[-1] = '\n';
-#endif
         } while ( '\0' != (c = *cp++) );
 
         if (cp[-2] == '\n' && cp[-3] == '\"')
diff --git a/src/port.h b/src/port.h
index c8f8510..240c6f6 100644
--- a/src/port.h
+++ b/src/port.h
@@ -124,8 +124,6 @@ extern int errno;
  *                to HAS_IPV6 from autoconf.
  *   USE_MYSQL    check the definition from config.h in relation
  *                to HAS_MYSQL from autoconf.
- *   MSDOS_FS     if the filesystem uses MS-DOS semantics
- *                (i.e. backslashes as directory separators)
  */
 
 #ifndef CHAR_BIT
@@ -190,10 +188,6 @@ extern int errno;
 #    undef USE_MYSQL
 #endif
 
-#if defined(CYGWIN)
-#define MSDOS_FS
-#endif
-
 /*------------------------------------------------------------------
  * Test for C99-compatible data types
  * TODO: check if we can remove these checks once (if?) we require a C99
diff --git a/src/simulate.c b/src/simulate.c
index 246b51d..c003a66 100644
--- a/src/simulate.c
+++ b/src/simulate.c
@@ -1636,36 +1636,6 @@ legal_path (const char *path)
      || path[0] == '/')
         return MY_FALSE;
 
-#ifdef MSDOS_FS
-    {
-        const char *name;
-
-        if (strchr(path,'\\'))
-            return MY_FALSE; /* better safe than sorry ... */
-        if (strchr(path,':'))
-            return MY_FALSE; /* \B: is okay for DOS .. *sigh* */
-        name = strrchr(path,'/');
-        if (NULL != name)
-            name++;
-        else
-            name = path;
-        if (!strcasecmp(name,"NUL")
-         || !strcasecmp(name,"CON")
-         || !strcasecmp(name,"PRN")
-         || !strcasecmp(name,"AUX")
-         || !strcasecmp(name,"COM1")
-         || !strcasecmp(name,"COM2")
-         || !strcasecmp(name,"COM3")
-         || !strcasecmp(name,"COM4")
-         || !strcasecmp(name,"LPT1")
-         || !strcasecmp(name,"LPT2")
-         || !strcasecmp(name,"LPT3")
-         || !strcasecmp(name,"LPT4")
-           )
-            return MY_FALSE;
-    }
-#endif
-
     return check_no_parentdirs(path);
 } /* legal_path() */
 
diff --git a/src/util/indent/args.c b/src/util/indent/args.c
index 1cac294..736b899 100644
--- a/src/util/indent/args.c
+++ b/src/util/indent/args.c
@@ -245,11 +245,8 @@ set_profile()
 {
     register FILE *f;
     char *fname;
-#ifndef MSDOS
     static char prof[] = ".indent.pro";
-#else
-    static char prof[] = "indent.pro";
-#endif
+
     char *homedir;
 
     homedir = getenv("HOME");
diff --git a/src/util/indent/indent.c b/src/util/indent/indent.c
index 784dc82..77c21a4 100644
--- a/src/util/indent/indent.c
+++ b/src/util/indent/indent.c
@@ -1335,21 +1335,8 @@ bakcopy()
     if (*p == '/')
 	p++;
     bakfile = xmalloc(40 + strlen(p));
-#ifndef MSDOS
     sprintf(bakfile, "%s.BAK", p);
-#else
-    {
-	char *here;
 
-	if ((here = strchr(p,'.')) == NULL || here <= p)
-	    sprintf(bakfile,"%s.BAK",p);
-	else {
-	    *here = 0;
-	    sprintf(bakfile,"%s.BAK",p);
-	    *here = '.';
-	}
-    }
-#endif
     errbuf = xmalloc(80 + strlen(p));
 
     sprintf(errbuf,"indent: %s",bakfile);
-- 
1.6.1

0011-Removed-checks-for-SunOS4.patch (2,772 bytes)   
From dd68c681d3ae902d82db59c9d0d406ddd7614265 Mon Sep 17 00:00:00 2001
From: zesstra <zesstra@zesstra.de>
Date: Thu, 16 Apr 2009 00:42:19 +0200
Subject: [PATCH 11/12] Removed checks for SunOS4

The last release of SunOS4 was in 1994. I don't think, we have SunOS4 users
left.

Signed-off-by: zesstra <zesstra@zesstra.de>
---
 src/comm.c      |   12 ------------
 src/files.c     |    7 -------
 src/port.h      |    4 ----
 src/slaballoc.c |    4 ----
 src/smalloc.c   |    4 ----
 5 files changed, 0 insertions(+), 31 deletions(-)

diff --git a/src/comm.c b/src/comm.c
index d823b41..050dac3 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -164,18 +164,6 @@
 #    define socket_close  close
 #endif /* SOCKET_LIB */
 
-#if defined(SunOS4)
-struct timeval;
-extern SOCKET_T socket(int, int, int);
-extern int getpeername(SOCKET_T, struct sockaddr *, int *);
-extern void  shutdown(SOCKET_T, int);
-extern int setsockopt(SOCKET_T, int, int, char *, int);
-extern int bind(SOCKET_T, struct sockaddr *, int);
-extern int listen(SOCKET_T, int);
-extern SOCKET_T accept(SOCKET_T, struct sockaddr *, int *);
-extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
-#endif /* SunOS4 */
-
 #if defined(_AIX)
 typedef unsigned long length_t;
 #elif defined(__INTEL_COMPILER) || defined (__GNUC__)
diff --git a/src/files.c b/src/files.c
index 554469b..53eb433 100644
--- a/src/files.c
+++ b/src/files.c
@@ -44,13 +44,6 @@ extern int lstat(const char *, struct stat *);
 #    define S_ISREG(m) (((m)&S_IFMT) == S_IFREG)
 #endif
 
-#ifdef SunOS4
-#    if !defined (__GNUC__)
-extern int lstat (CONST char *, struct stat *);
-#    endif
-extern int fchmod(int, int);
-#endif
-
 /*-------------------------------------------------------------------------*/
 
 #include "files.h"
diff --git a/src/port.h b/src/port.h
index 240c6f6..2131ebf 100644
--- a/src/port.h
+++ b/src/port.h
@@ -44,10 +44,6 @@ Thats it.
  * Define some system macros.
  */
 
-#if defined(sun) && !defined(solaris)
-#    define SunOS4
-#endif
-
 #if defined(M_UNIX) || defined(__linux__) || defined(solaris) || \
     defined(_POSIX_VERSION)
 #    ifndef POSIX
diff --git a/src/slaballoc.c b/src/slaballoc.c
index d1cddaa..fa26a89 100644
--- a/src/slaballoc.c
+++ b/src/slaballoc.c
@@ -3444,10 +3444,6 @@ esbrk (word_t size, size_t * pExtra)
 
 {
 #ifdef SBRK_OK
-#ifdef SunOS4
-    extern char *sbrk();
-    extern int brk();
-#endif
 
     mdb_log_sbrk(size);
     *pExtra = 0;
diff --git a/src/smalloc.c b/src/smalloc.c
index 334e24b..17de1d3 100644
--- a/src/smalloc.c
+++ b/src/smalloc.c
@@ -3231,10 +3231,6 @@ esbrk (word_t size, size_t * pExtra)
 
 {
 #ifdef SBRK_OK
-#ifdef SunOS4
-    extern char *sbrk();
-    extern int brk();
-#endif
 
     mdb_log_sbrk(size);
     *pExtra = 0;
-- 
1.6.1

0012-Removed-support-for-Ultrix.patch (1,260 bytes)   
From 3869369729d973def41735c216bfe3f5ee9062a8 Mon Sep 17 00:00:00 2001
From: zesstra <zesstra@zesstra.de>
Date: Thu, 16 Apr 2009 00:51:24 +0200
Subject: [PATCH 12/12] Removed support for Ultrix.

Ultrix was last released in 1995. I assume, we don't have any Ultrix users
and remove the checks for the define ultrix.

Signed-off-by: zesstra <zesstra@zesstra.de>
---
 src/my-rusage.h |    2 +-
 src/port.h      |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/my-rusage.h b/src/my-rusage.h
index d288235..d01bd11 100644
--- a/src/my-rusage.h
+++ b/src/my-rusage.h
@@ -38,7 +38,7 @@
 #    ifdef sun
          extern int getpagesize();
 #    endif
-#    if defined(sun) || defined(ultrix)
+#    if defined(sun)
          extern int getrusage (int, struct rusage *);
 #    endif
 
diff --git a/src/port.h b/src/port.h
index 2131ebf..cdf7897 100644
--- a/src/port.h
+++ b/src/port.h
@@ -572,8 +572,7 @@ extern void move_memory(char *, char *, size_t);
 #endif
 
 #if ((!defined(HAVE_CRYPT) && !defined(HAVE__CRYPT))) || \
-    (defined(sgi) && !defined(_MODERN_C)) || defined(ultrix) \
-    || defined(sun)
+    (defined(sgi) && !defined(_MODERN_C)) || defined(sun)
 extern char *crypt(const char *, const char *);
 #endif
 
-- 
1.6.1

0007-Removed-work-around-for-a-compiler-bug-in-gcc-2.7.2.patch (2,800 bytes)   
From f162fec14b9c9d6304ffbbd3ac48d5e845a9112b Mon Sep 17 00:00:00 2001
From: zesstra <zesstra@zesstra.de>
Date: Wed, 15 Apr 2009 23:58:36 +0200
Subject: [PATCH 07/12] Removed work-around for a compiler bug in gcc-2.7.2.1-i486-linux.

This work-around may not be necessary anymore. Removing work-around and
define UNION_BUG.

Signed-off-by: zesstra <zesstra@zesstra.de>
---
 src/closure.c |   23 ++---------------------
 1 files changed, 2 insertions(+), 21 deletions(-)

diff --git a/src/closure.c b/src/closure.c
index 158c7db..ce1144d 100644
--- a/src/closure.c
+++ b/src/closure.c
@@ -3770,24 +3770,14 @@ compile_value (svalue_t *value, int opt_flags)
 
                         for (; j--; labels++)
                         {
-#if defined(__linux__) && defined(__GNUC__)
-                              /* Workaround for probable optimizer bug. */
-                            ph_int label_type;
-#define UNION_BUG
-#endif
                             l = new_case_entry();
                             l->addr =
                               current.code_max - current.code_left - switch_pc;
                             l->line = 1;
 
                             /* Create the case_list_entry for this case label */
-#ifndef UNION_BUG
                             if (j && labels[1].type == T_CLOSURE
-#else
-                            if (j && (label_type = labels[1].type) == T_CLOSURE
-#endif
-                              && labels[1].x.closure_type ==
-                                  F_RANGE +CLOSURE_EFUN )
+                                  && labels[1].x.closure_type == F_RANGE +CLOSURE_EFUN )
                             {
                                 /* It's a ({#'.., <low>, <high>}) range */
                             	
@@ -3877,15 +3867,9 @@ compile_value (svalue_t *value, int opt_flags)
                                 {
                                     zero = l;
                                 }
-#ifndef UNION_BUG
                             }
                             else if (labels->type == T_CLOSURE
-#else
-                            }
-                            else if ((label_type = labels->type) == T_CLOSURE
-#endif
-                               && labels->x.closure_type ==
-                                  F_CSTRING0 +CLOSURE_OPERATOR)
+                                     && labels->x.closure_type == F_CSTRING0 +CLOSURE_OPERATOR)
                             {
                             	/* #'default label */
                             	
@@ -4682,9 +4666,6 @@ compile_value (svalue_t *value, int opt_flags)
     current.levels_left++;
     return opt_flags;
 
-#ifdef UNION_BUG
-#undef UNION_BUG
-#endif
 } /* compile_value() */
 
 /*-------------------------------------------------------------------------*/
-- 
1.6.1

0008-Removed-a-check-for-gcc-2.7.patch (730 bytes)   
From b7e1e5731eb283e8ff0efaa5e24f420714061b54 Mon Sep 17 00:00:00 2001
From: zesstra <zesstra@zesstra.de>
Date: Thu, 16 Apr 2009 00:09:27 +0200
Subject: [PATCH 08/12] Removed a check for gcc < 2.7

Signed-off-by: zesstra <zesstra@zesstra.de>
---
 src/files.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/files.c b/src/files.c
index 11da1dc..9756d61 100644
--- a/src/files.c
+++ b/src/files.c
@@ -45,7 +45,7 @@ extern int lstat(const char *, struct stat *);
 #endif
 
 #ifdef SunOS4
-#    if !defined (__GNUC__) || __GNUC__ < 2 || __GNUC__ == 2 && __GNUC_MINOR__ < 7
+#    if !defined (__GNUC__)
 extern int lstat (CONST char *, struct stat *);
 #    endif
 extern int fchmod(int, int);
-- 
1.6.1

0009-Removed-work-around-for-compiler-bug-with-gcc-3.2.patch (1,706 bytes)   
From 417953317ffd15a48c585ae9024674545ff344ec Mon Sep 17 00:00:00 2001
From: zesstra <zesstra@zesstra.de>
Date: Thu, 16 Apr 2009 00:11:47 +0200
Subject: [PATCH 09/12] Removed work-around for compiler bug with gcc >= 3.2 on Cygwin.

This compiler bug is most probably fixed in recent versions of gcc.

Signed-off-by: zesstra <zesstra@zesstra.de>
---
 src/lex.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/src/lex.c b/src/lex.c
index 9b59cd3..2878bae 100644
--- a/src/lex.c
+++ b/src/lex.c
@@ -6038,32 +6038,14 @@ handle_define (char *yyt, Bool quote)
     source_loc_t loc;         /* Location of the #define */
     char namebuf[NSIZE];      /* temp buffer for read identifiers */
     char args[NARGS][NSIZE];  /* parsed argument names of function macros */
-#if defined(CYGWIN) && __GNUC__ >= 3 && __GNUC_MINOR__ >= 2
-#   define MTEXT_IS_POINTER
-    char *mtext;
-      /* replacement text, with arguments replaced by the MARKS characters.
-       * Under Cygwin and high optimization, the compiler produces faulty
-       * code if the mtext[MLEN] definition is used.
-       */
-#else
     char mtext[MLEN];
       /* replacement text, with arguments replaced by the MARKS characters
        */
-#endif /* CYGWIN and gcc 3.2 or newer */
     char *p;                  /* current text pointer */
     char *q;                  /* destination for parsed text */
 
     loc = current_loc;
 
-#if defined(MTEXT_IS_POINTER)
-    mtext = alloca(MLEN);
-    if (!mtext)
-    {
-        lexerror("Out of stack memory");
-        return;
-    }
-#endif /* MTEXT_IS_POINTER */
-
     p = yyt;
     strcat(p, " "); /* Make sure GETALPHA terminates */
 
-- 
1.6.1

Activities

zesstra

2009-04-16 12:29

administrator   ~0001047

I attached a first series of patches removing special code for obsolete systems.
Patch 10 is one that removes the MSDOS filesystem sematics. I included it, but that is highly preliminary as we have to decide first, if we want this.

Patches 7, 8 and 9 are a little bit different, because they remove work-arounds for old compiler bugs. I included them here for simplicity, but if you like, we can transfer them to a new issue.

zesstra

2009-05-06 14:28

administrator   ~0001085

Ok, patches were applied in revisions 2566 - 2573.
The patches for the old compiler (work-arounds) were combined into r2570.
The MSDOS filesystem semantics were removed in r2573.

zesstra

2009-05-06 14:48

administrator   ~0001086

Some other things to check may be:
_MODERN_C
sgi
sun
sparc
CYGWIN
MSWIN
__CYGWIN32__
POSIX
_GNU_SOURCE
solaris
__hpux__

Not so much as in 'not supported' but as in 'check if (work-around) is still needed'... I will have a more detailed look, what these defines actually do.

Issue History

Date Modified Username Field Change
2009-04-16 02:59 zesstra New Issue
2009-04-16 02:59 zesstra Status new => assigned
2009-04-16 02:59 zesstra Assigned To => zesstra
2009-04-16 12:21 zesstra File Added: 0003-Removed-checks-for-OS2-__EMX_.patch
2009-04-16 12:22 zesstra File Added: 0004-Removed-check-for-define-MSDOS.patch
2009-04-16 12:22 zesstra File Added: 0005-Removed-checks-for-__BEOS__.patch
2009-04-16 12:23 zesstra File Added: 0006-Removed-checks-for-AMIGA.patch
2009-04-16 12:24 zesstra File Added: 0010-Removed-MSDOS-filesystem-semantics.patch
2009-04-16 12:24 zesstra File Added: 0011-Removed-checks-for-SunOS4.patch
2009-04-16 12:24 zesstra File Added: 0012-Removed-support-for-Ultrix.patch
2009-04-16 12:29 zesstra Note Added: 0001047
2009-04-16 12:29 zesstra File Added: 0007-Removed-work-around-for-a-compiler-bug-in-gcc-2.7.2.patch
2009-04-16 12:29 zesstra File Added: 0008-Removed-a-check-for-gcc-2.7.patch
2009-04-16 12:29 zesstra File Added: 0009-Removed-work-around-for-compiler-bug-with-gcc-3.2.patch
2009-05-06 14:28 zesstra Note Added: 0001085
2009-05-06 14:48 zesstra Note Added: 0001086
2009-05-28 14:56 zesstra Target Version 3.3.719 => 3.3.720
2011-02-19 17:26 zesstra Target Version 3.3.720 =>