diff src/sysdep.c @ 103711:531520bb5152

* sysdep.c (sys_suspend): Remove USG_JOBCTRL #ifdef, unused. (mkdir): Remove MKDIR_PROTOTYPE #ifdef, unused. * callproc.c (child_setup): Use #else instead of a separate #ifdef. * term.c (init_tty): Remove spurious #ifdef.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 03 Jul 2009 13:46:39 +0000
parents 316f9e26e9c7
children 41169068dcab
line wrap: on
line diff
--- a/src/sysdep.c	Fri Jul 03 13:42:29 2009 +0000
+++ b/src/sysdep.c	Fri Jul 03 13:46:39 2009 +0000
@@ -623,18 +623,11 @@
   }
 
 #else /* No SIGTSTP */
-#ifdef USG_JOBCTRL /* If you don't know what this is don't mess with it */
-  ptrace (0, 0, 0, 0);		/* set for ptrace - caught by csh */
-  kill (getpid (), SIGQUIT);
-
-#else /* No SIGTSTP or USG_JOBCTRL */
-
 /* On a system where suspending is not implemented,
    instead fork a subshell and let it talk directly to the terminal
    while we wait.  */
   sys_subshell ();
 
-#endif /* no USG_JOBCTRL */
 #endif /* no SIGTSTP */
 }
 
@@ -2782,14 +2775,10 @@
 /*
  * Make a directory.
  */
-#ifdef MKDIR_PROTOTYPE
-MKDIR_PROTOTYPE
-#else
 int
 mkdir (dpath, dmode)
      char *dpath;
      int dmode;
-#endif
 {
   int cpid, status, fd;
   struct stat statbuf;
@@ -3211,8 +3200,8 @@
   return proclist;
 }
 
-/* The WINDOWSNT implementation is on w32.c.
-   The MSDOS implementation is on dosfns.c.  */
+/* The WINDOWSNT implementation is in w32.c.
+   The MSDOS implementation is in dosfns.c.  */
 #elif !defined (WINDOWSNT) && !defined (MSDOS)
 
 Lisp_Object
@@ -3754,8 +3743,8 @@
   return attrs;
 }
 
-/* The WINDOWSNT implementation is on w32.c.
-   The MSDOS implementation is on dosfns.c.  */
+/* The WINDOWSNT implementation is in w32.c.
+   The MSDOS implementation is in dosfns.c.  */
 #elif !defined (WINDOWSNT) && !defined (MSDOS)
 
 Lisp_Object