diff nt/minitar.c @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 74fd4e045ea6
children
line wrap: on
line diff
--- a/nt/minitar.c	Mon Aug 13 11:19:22 2007 +0200
+++ b/nt/minitar.c	Mon Aug 13 11:20:41 2007 +0200
@@ -13,7 +13,7 @@
 
 
 #include <stdio.h>
-#include <errno.h>
+#include <Errno.h>
 
 #include <zlib.h>
 
@@ -43,6 +43,7 @@
 {
   char tmp[MAXNAMELEN];
   char *cp;
+  extern int errno;
 
   for (cp=path; cp; cp = (char*)strchr(cp+1,'/')){
     if (!*cp)
@@ -203,7 +204,6 @@
 	in_block = 0;
     }
   }
-  exit (0);
 }