Displaying 1 result from an estimated 1 matches for "string2list".
Did you mean:
rstringlist
2005 Mar 09
1
makeklcc.pl passes '' to ld if LDFLAGS empty among things
...;#!${perlpath}\n";
-----
Or the more extreme:
-----
--- 1/makeklcc.pl 2005-03-10 00:22:03.000000000 +0200
+++ 2/makeklcc.pl 2005-03-10 01:26:51.000000000 +0200
@@ -7,24 +7,14 @@
($klccin, $klibcconf, $perlpath) = @ARGV;
-# This should probably handle quotes and escapes...
-sub string2list($)
-{
- my($s) = @_;
-
- $s =~ s/\s+/\',\'/g;
- return "(\'".$s."\')";
-}
-
print "#!${perlpath}\n";
open(KLIBCCONF, '<', $klibcconf) or die "$0: cannot open $klibcconf: $!\n";
while ( defined($l = <KLIBCCONF>) )...