]> Dogcows Code - chaz/tar/blobdiff - src/port.c
Fix Solaris bug where chmod fails if we don't have PRIV_SYS_LINKDIR
[chaz/tar] / src / port.c
index aab6039cdaa773ae2de2b6e258de77e921f90c05..10ec32ed72884f90e8e4cef0266e4d86af8515e6 100644 (file)
@@ -45,12 +45,12 @@ extern long baserec;
 
 #ifdef __MSDOS__
 char TTY_NAME[] = "con";
-
-#else /* not __MSDOS__ */
-
+#define HAVE_STRSTR
+#define HAVE_RENAME
+#define HAVE_MKDIR
+#else
 char TTY_NAME[] = "/dev/tty";
-
-#endif /* not __MSDOS__ */
+#endif
 
 /* End of system-dependent #ifdefs */
 
@@ -1001,6 +1001,7 @@ un_quote_string (string)
   return ret;
 }
 
+#ifndef __MSDOS__
 void 
 ck_pipe (pipes)
      int *pipes;
@@ -1011,7 +1012,7 @@ ck_pipe (pipes)
       exit (EX_SYSTEM);
     }
 }
-
+#endif /* !__MSDOS__ */
 
 #ifndef HAVE_STRSTR
 /*
@@ -1204,6 +1205,7 @@ msg (str, args)
 void
 msg_perror (str, args)
      char *str;
+     int args;
 {
   int save_e;
 
This page took 0.021774 seconds and 4 git commands to generate.