Ticket #15514: reinplace-warning2.diff
File reinplace-warning2.diff, 587 bytes (added by ryandesign (Ryan Carsten Schmidt), 16 years ago) |
---|
-
src/port1.0/portutil.tcl
776 776 777 777 close $tmpfd 778 778 779 if {![catch {exec cmp -s $file $tmpfile}]} { 780 ui_warn "[format [msgcat::mc "reinplace %1\$s didn't change anything in %2\$s"] $pattern $file]" 781 } 782 779 783 set attributes [file attributes $file] 780 784 # We need to overwrite this file 781 785 if {[catch {file attributes $file -permissions u+w} error]} {