* s/usg5-4.h (HAVE_SYSVIPC): Remove, unused.
authorDan Nicolaescu <dann@ics.uci.edu>
Wed, 16 Jul 2008 07:53:39 +0000 (07:53 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Wed, 16 Jul 2008 07:53:39 +0000 (07:53 +0000)
(USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not
used by this configuration.
* emacs.c: Remove code depending on USG_SHARED_LIBRARIES.
* unexec.c: Remove code depending on HPUX and
USG_SHARED_LIBRARIES, not used with this file.  Remove code
depending on IRIS, unused.  Remove if 0-ed code.

src/ChangeLog
src/emacs.c
src/s/usg5-4.h

index 8d6aeea..d85ed84 100644 (file)
@@ -1,5 +1,13 @@
 2008-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
 
+       * s/usg5-4.h (HAVE_SYSVIPC): Remove, unused.
+       (USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not
+       used by this configuration.
+       * emacs.c: Remove code depending on USG_SHARED_LIBRARIES.
+       * unexec.c: Remove code depending on HPUX and
+       USG_SHARED_LIBRARIES, not used with this file.  Remove code
+       depending on IRIS, unused.  Remove if 0-ed code.
+
        * s/template.h: Remove comments about static.
 
        * sysdep.c: Remove code depending on NEED_PTEM_H, unused.  Remove
index 869bdef..35b2fad 100644 (file)
@@ -226,13 +226,6 @@ extern Lisp_Object Vauto_save_list_file_name;
 
 extern Lisp_Object Vinhibit_redisplay;
 
-#ifdef USG_SHARED_LIBRARIES
-/* If nonzero, this is the place to put the end of the writable segment
-   at startup.  */
-
-unsigned int bss_end = 0;
-#endif
-
 /* Nonzero means running Emacs without interactive terminal.  */
 
 int noninteractive;
@@ -1006,11 +999,6 @@ main (argc, argv
   /* Record (approximately) where the stack begins.  */
   stack_bottom = &stack_bottom_variable;
 
-#ifdef USG_SHARED_LIBRARIES
-  if (bss_end)
-    brk ((void *)bss_end);
-#endif
-
   clearerr (stdin);
 
 #ifndef SYSTEM_MALLOC
index 4cc8bed..4c2a59c 100644 (file)
@@ -34,10 +34,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #define SYSTEM_TYPE "usg-unix-v"
 
-/* Default is to set interrupt_input to 0: don't do input buffering within Emacs */
-
-/* #define INTERRUPT_INPUT */
-
 /*
  *     Define HAVE_TERMIO if the system provides sysV-style ioctls
  *     for terminal control.
@@ -49,20 +45,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
  *     Define HAVE_PTYS if the system supports pty devices.
  */
 
-/* Some versions of V.3 have this, but not all.
-   #define HAVE_PTYS  */
-
-/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets.  */
-
-/* #define HAVE_SOCKETS */
-
-/*
- *     Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
- *      The 4.2 opendir, etc., library functions.
- */
-
-/* #define NONSYSTEM_DIR_LIBRARY */
-
 /*
  *     Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir
  *     library functions.  Almost, but not quite the same as
@@ -70,10 +52,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
  */
 #define SYSV_SYSTEM_DIR
 
-/* Define this symbol if your system has the functions bcopy, etc. */
-
-/* #define BSTRING */
-
 /* subprocesses should be defined if you want to
  have code for asynchronous subprocesses
  (as used in M-x compile and M-x shell).
@@ -81,19 +59,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #define subprocesses
 
-/* define MAIL_USE_FLOCK if the mailer uses flock
-   to interlock access to /usr/spool/mail/$USER.
-   The alternative is that a lock file named
-   /usr/spool/mail/$USER.lock.  */
-
-/* #define MAIL_USE_FLOCK */
-
-/* Define CLASH_DETECTION if you want lock files to be written
-   so that Emacs can tell instantly when you try to modify
-   a file that someone else has modified in his Emacs.  */
-
-/* #define CLASH_DETECTION */
-
 /* The file containing the kernel's symbol table is called /unix.  */
 
 #define KERNEL_FILE "/unix"
@@ -103,10 +68,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #define LDAV_SYMBOL "avenrun"
 
-/* Define this if system V IPC is available.  */
-
-#define HAVE_SYSVIPC
-
 /* Special hacks needed to make Emacs run on this system.  */
 
 /*
@@ -151,10 +112,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #define BSTRING
 #endif /* HAVE_X_WINDOWS */
 
-/* Enable support for shared libraries in unexec.  */
-
-#define USG_SHARED_LIBRARIES
-
 /* On USG systems signal handlers return void */
 
 #define SIGTYPE void