Mail Archives: cygwin/2007/04/24/09:17:38
--------------enigF2DB34D8135F30902A9B3785
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
According to Christopher Faylor on 4/24/2007 6:53 AM:
> If I do a 'strings' on info.exe, I see the strings 'bzip2' and 'gzip'
without
> extensions.
True, but look at this:
$ strings /bin/info.exe | grep -A12 gunzip
gunzip
.bz2
bunzip2
uncompress
unyabba
.info
-info
/index
.inf
/usr/local/info:/usr/info:...
.exe
%s%s < %s
%s...
Info intentionally appends the .exe suffix, concatenating both 'gunzip'
and '.exe' along with the redirection, in creating the system() call, so
that the subsidiary /bin/sh invocation sees 'gunzip.exe < filename.gz'.
[and while testing this, I noticed that strace shows argv of the primary
process, but not of the children processes; it would be nice to see argv
for all processes in an strace]
> I have to admit that my eyes glaze over when people start talking about
> .exe extensions so I wasn't paying attention (my bad) when this decision
> was made. I don't remember, however, this decision being put to a vote
> for package maintainers because I definitely would have voted for each
> maintainer fixing their package rather than having you do it for us.
Fair enough.
The list of affected packages is here:
http://cygwin.com/ml/cygwin-apps/2007-04/msg00065.html
And I will release coreutils-6.9-2 that does not do the postinstall
renaming when bumping it to current, rather than promoting the existing 6.9=
-1.
--=20
Don't work too hard, make some time for fun as well!
Eric Blake ebb9 AT byu DOT net
--------------enigF2DB34D8135F30902A9B3785
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGLgOW84KuGfSFAYARAmWIAJ9bFaG09GU7ouV1ftfJpF8SOGa9DgCeOdjw
iaJRgW3FJnn2BCQb0bFfliM=
=k3aN
-----END PGP SIGNATURE-----
--------------enigF2DB34D8135F30902A9B3785--
- Raw text -