Hacking in hostile env
Par jd le lundi, novembre 13 2006, 00:49 - Free Software - Lien permanent
I don't know why, but debmirror (or Perl ?) fails to work with Solaris.
For example this code
while(($res = $gunzf->gzreadline($line) > 0)
&& !($line =~ /^$/)) {
$buf = $buf . $line;
}
read the full buffer instead of reading a block of text separated by empty spaces...
Multiline matching (m//m) fails to work too.
So I rewrote almost the full Packages.gz parser in a dirty Perl way for a friend, and it works. I 0\/\/N3d you, fucking OS.
And there's people wanting to port Debian to that, good luck