Setup.exe BUG - uncertain how to resolve.
Max Bowsher
maxb@ukf.net
Sun Jul 21 07:28:00 GMT 2002
Whilst searching for the cause of the 'setup shows non-cached package versions
in install-from-local-directory mode' bug, which first appeared in 2.258, I came
across another problem - setup was reading the source package size from the ini
file, but was then using that value as the _installed_ size of the package (not
the size of the istallation tarball, as it actually is). So, I commented out the
erroneous line, and, in some mysterious way, the original bug I was looking for
went away too!
I am very confused by this. Please can someone who knows the setup code better
than me comment on this?
Thanks,
Max.
Diff of the line I commented out:
Index: IniDBBuilderPackage.cc
===================================================================
RCS file: /home/max/cvsmirror/cygwin-apps-cvs/setup/IniDBBuilderPackage.cc,v
retrieving revision 2.12
diff -u -p -r2.12 IniDBBuilderPackage.cc
--- IniDBBuilderPackage.cc 2002/07/15 11:27:03 2.12
+++ IniDBBuilderPackage.cc 2002/07/21 11:54:57
@@ -151,7 +151,7 @@ IniDBBuilderPackage::buildPackageSource
cbpv.setSourcePackageSpecification (PackageSpecification (cspv.Name()));
// process_src (*cspv.source(), path);
- setSourceSize (*cspv.source(), size);
+ // setSourceSize (*cspv.source(), size);
}
void
===================================================================
More information about the Cygwin-apps
mailing list