Update of /cvsroot/fink/scripts/pdb In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv10694
Modified Files: Tag: redesign_pdb dump Log Message: Usually called with STDOUT connected to a .sql file--keep STDOUT directed to STDERR for entire time there might be diagnostic output Index: dump =================================================================== RCS file: /cvsroot/fink/scripts/pdb/dump,v retrieving revision 1.32.2.10 retrieving revision 1.32.2.11 diff -u -d -r1.32.2.10 -r1.32.2.11 --- dump 22 Feb 2007 16:28:27 -0000 1.32.2.10 +++ dump 23 Feb 2007 03:14:39 -0000 1.32.2.11 @@ -36,6 +36,11 @@ use Getopt::Long; +# temporarily send stdout to stderr +open(OLDOUT, ">&STDOUT"); +open(STDOUT, ">&STDERR") or die "Can't dup stderr"; +select(OLDOUT); select(STDOUT); # keep 'use strict' happy + ### get parameters my ($distribution, $release, $architecture, $rel_id, $tree, $wanthelp, $q); @@ -149,11 +154,6 @@ ### read package info -# temporarily send stdout to stderr -open(OLDOUT, ">&STDOUT"); -open(STDOUT, ">&STDERR") or die "Can't dup stderr"; -select(OLDOUT); select(STDOUT); # keep 'use strict' happy - # if possible, use a symlink $distribution-$tree -> $tree # so that each .info pathname is unique across all distributions # (since we may use the dists/ symlink not the actual $distribution dir) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits