Here is what happens (complete output):

Daniel Macks wrote:
Interesting findings! In the original sort_versions, what happens if
you change
        sort { version_cmp($a,"<=>",$b) } @_;
to
        sort version_cmp($a,"<=>",$b) @_;

% fink dumpinfo fink
Array found where operator expected at /sw/lib/perl5/Fink/Services.pm line 766, at end of line
(Missing operator before ?)
syntax error at /sw/lib/perl5/Fink/Services.pm line 766, near ") @_"
BEGIN not safe after errors--compilation aborted at /sw/lib/perl5/Fink/Services.pm line 1076.
Compilation failed in require at /sw/bin/fink line 180.


or
        sort { &version_cmp($a,"<=>",$b) } @_;

% fink dumpinfo fink
Information about 3333 packages read in 3 seconds.
infofile: /sw/fink/dists/unstable/main/finkinfo/base/fink.info
package: fink
version: 0.23.6
revision: 1
family: fink
status: latest have-deb installed
allversions:
Failed: Sort subroutine didn't return single value at /sw/lib/perl5/Fink/Services.pm line 766.


--
Martin





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to