didn't package / properly
authorewt <devnull@localhost>
Tue, 9 Sep 1997 19:11:27 +0000 (19:11 +0000)
committerewt <devnull@localhost>
Tue, 9 Sep 1997 19:11:27 +0000 (19:11 +0000)
CVS patchset: 1817
CVS date: 1997/09/09 19:11:27

CHANGES
build/pack.c

diff --git a/CHANGES b/CHANGES
index 585ddff..9fa0a4e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,7 @@
        - had some wrong month lengths in changelog date parsing
        - updated fine-requires (Linux version) to add lines for shell
          scripts (Donnie Barnes)
+       - didn't package / properly
 
 2.4.5 -> 2.4.6:
        - added os_canon entries for BSD/OS and NextStep
index 51df4dd..4776748 100644 (file)
@@ -219,9 +219,17 @@ static int cpio_gzip(int fd, char *tempdir, char *writePtr,
     numMappings = 0;
     while (chptr && *chptr) {
        cpioList[numMappings].fsPath = chptr;
-       cpioList[numMappings++].mapFlags = tempdir ? CPIO_FOLLOW_SYMLINKS : 0;
+       cpioList[numMappings].mapFlags = tempdir ? CPIO_FOLLOW_SYMLINKS : 0;
+
        chptr = strchr(chptr, '\n');
        if (chptr) *chptr++ = '\0';
+
+       /* hack */
+       if (!strlen(cpioList[numMappings].fsPath)) {
+           cpioList[numMappings].fsPath = ".";
+       }
+
+       numMappings++;
     }
  
     oldhandler = signal(SIGPIPE, SIG_IGN);