]> git.saurik.com Git - wxWidgets.git/commitdiff
OS/2 version was using ~ instead of * for a termination character so
authorBrian Smith <dbsoft@technologist.com>
Thu, 7 Sep 2000 22:53:38 +0000 (22:53 +0000)
committerBrian Smith <dbsoft@technologist.com>
Thu, 7 Sep 2000 22:53:38 +0000 (22:53 +0000)
executables created with this packinst would not function.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/Install/packinst/packinst.c

index cad4a82fa67f29f5c1a4417d1c7c7f2a1e24d4df..27dcc9edf183c6e959a69d985fc9c4c56cee8a7e 100644 (file)
@@ -174,13 +174,13 @@ int main(int argc, char *argv[])
                   INSTALLER_CONFIRM_OVERWRITE, INSTALLER_PACKAGE_COUNT);
    for(z=0;z<INSTALLER_PACKAGE_COUNT;z++)
       fprintf(installfile, "-%s", INSTALLER_PACKAGES[z]);
                   INSTALLER_CONFIRM_OVERWRITE, INSTALLER_PACKAGE_COUNT);
    for(z=0;z<INSTALLER_PACKAGE_COUNT;z++)
       fprintf(installfile, "-%s", INSTALLER_PACKAGES[z]);
-   fwrite("~", 1, 1, installfile);
+   fwrite("*", 1, 1, installfile);
    for(z=0;z<INSTALLER_PACKAGE_COUNT;z++)
       {
          struct stat blah;
 
          stat(packagefilename[z], &blah);
    for(z=0;z<INSTALLER_PACKAGE_COUNT;z++)
       {
          struct stat blah;
 
          stat(packagefilename[z], &blah);
-         fprintf(installfile, "DBSOFT-ACE%d%d-%lu~", z, packagefiles[z], blah.st_size);
+         fprintf(installfile, "DBSOFT-ACE%d%d-%lu*", z, packagefiles[z], blah.st_size);
          append_file(packagefilename[z]);
          printf("Package: %s - %d files in %s (%lu bytes).\n", INSTALLER_PACKAGES[z], packagefiles[z], packagefilename[z], blah.st_size);
       }
          append_file(packagefilename[z]);
          printf("Package: %s - %d files in %s (%lu bytes).\n", INSTALLER_PACKAGES[z], packagefiles[z], packagefilename[z], blah.st_size);
       }