OS/2 version was using ~ instead of * for a termination character so

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
This commit is contained in:
Brian Smith
2000-09-07 22:53:38 +00:00
parent 6ab5e82fc3
commit ebe0155da5

View 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]);
fwrite("~", 1, 1, installfile);
fwrite("*", 1, 1, installfile);
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);
}