-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
On Tue, 28 Jan 2003, Christian Hammers wrote:
> > make[2]: Entering directory `/home/mike/RPM/BUILD/mysql-3.23.54/Docs'
> > perl -w ./Support/generate-mirror-listing.pl manual.texi > ../MIRRORS
> > [and hanging there]
>
> Yup, the algo is basically like this:
> line: while (<>) { last line if /START/;};
> line: while (<>) { last line if /END/; do_some_thing }
> No if the whole file is read without a "START", it comes to the second
> while and, oh wonder, no input. (Perls '<>' notation includes some very
> black magic if you ask me, just read the eof() chapter in 'man perlfunc')
>
> --- Support/generate-mirror-listing.pl.orig 2003-01-28 01:48:35.000000000 +0100
> +++ Support/generate-mirror-listing.pl 2003-01-28 01:56:18.000000000 +0100
> @@ -4,8 +4,9 @@
>
> line: while (<>) { last line if /START_OF_MIRROR_LISTING/;};
>
> +die("No listing found") if eof; # no parenthesis!
> +
>
> Well in principle the whole MIRRORS file cannot generated by manual.texi
> any more so the code will probably vanish from Docs/Makefile.am.
Exactly. I've just removed this code from the 3.23 tree yesterday:
http://mysql.bkbits.net:8080/mysql-3.23/cset@ style="color:#666">stripped?nav=index.html|ChangeSet@-1d
Feel free to remove it for your packages as well.
Bye,
LenZ
- --
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Lenz Grimmer <lenz@stripped>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer
/_/ /_/\_, /___/\___\_\___/ Hamburg, Germany
<___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQE+NmfaSVDhKrJykfIRArjMAJ0QXFXzMNzTDehTw3YVx7xw5CzJ5ACfYYVJ
j75dga4jPWQkLjcJq8n8J+s=
=cYGR
-----END PGP SIGNATURE-----