Ticket #26406: portutil.tcl.diff
File portutil.tcl.diff, 943 bytes (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
src/port1.0/portutil.tcl
858 858 proc reinplace {args} { 859 859 860 860 set extended 0 861 set suppress 0 861 862 while 1 { 862 863 set arg [lindex $args 0] 863 864 if {[string index $arg 0] eq "-"} { … … 866 867 E { 867 868 set extended 1 868 869 } 870 n { 871 set suppress 1 872 } 869 873 - { 870 874 break 871 875 } … … 904 908 } 905 909 lappend cmdline $portutil::autoconf::sed_ext_flag 906 910 } 911 if {$suppress} { 912 lappend cmdline -n 913 } 907 914 set cmdline [concat $cmdline [list $pattern < $file >@ $tmpfd]] 908 915 if {[catch {eval exec $cmdline} error]} { 909 916 global errorInfo