6 messages in com.mysql.lists.packagersRe: [packagers] MySQL 3.23.55 is rele...
FromSent OnAttachments
Lenz Grimmer24 Jan 2003 02:48 
Christian Hammers25 Jan 2003 07:06 
Lenz Grimmer27 Jan 2003 04:46 
Michael Shigorin27 Jan 2003 12:23 
Christian Hammers27 Jan 2003 16:58 
Lenz Grimmer28 Jan 2003 03:21 
Subject:Re: [packagers] MySQL 3.23.55 is released
From:Lenz Grimmer (le@mysql.com)
Date:01/28/2003 03:21:38 AM
List:com.mysql.lists.packagers

-----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@1.1317?nav=index.html|ChangeSet@-1d

Feel free to remove it for your packages as well.

iD8DBQE+NmfaSVDhKrJykfIRArjMAJ0QXFXzMNzTDehTw3YVx7xw5CzJ5ACfYYVJ j75dga4jPWQkLjcJq8n8J+s= =cYGR -----END PGP SIGNATURE-----