diff nt/minitar.c @ 398:74fd4e045ea6 r21-2-29

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