This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Setup.exe BUG - uncertain how to resolve.
- From: "Max Bowsher" <maxb at ukf dot net>
- To: <cygwin-apps at cygwin dot com>
- Date: Sun, 21 Jul 2002 12:58:04 +0100
- Subject: Setup.exe BUG - uncertain how to resolve.
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
===================================================================