* Fixed tar creation support when reading from stdin ('tar -cf - . ')
    thanks to Daniel Quinlan <quinlan@transmeta.com>
 -Erik
diff --git a/tar.c b/tar.c
index 611bbd9..af017d1 100644
--- a/tar.c
+++ b/tar.c
@@ -198,6 +198,8 @@
 					tarName = *(++argv);
 					if (tarName == NULL)
 						fatalError( "Option requires an argument: No file specified\n");
+					if (!strcmp(tarName, "-"))
+						tostdoutFlag = TRUE;
 					stopIt=TRUE;
 					break;