[llvm-commits] CVS: llvm/utils/mkpatch

Reid Spencer reid at x10sys.com
Tue Jan 16 14:41:28 PST 2007



Changes in directory llvm/utils:

mkpatch updated: 1.3 -> 1.4
---
Log message:

Join two lines that caused awk to squak on some platforms.


---
Diffs of the changes:  (+2 -2)

 mkpatch |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/utils/mkpatch
diff -u llvm/utils/mkpatch:1.3 llvm/utils/mkpatch:1.4
--- llvm/utils/mkpatch:1.3	Thu Jan 11 00:51:56 2007
+++ llvm/utils/mkpatch	Tue Jan 16 16:41:12 2007
@@ -32,6 +32,6 @@
 /^Index: .*[.]cvs$/ { deleting = 1; fname=substr($0,7); \
   print "Skipping: ", fname > "/dev/stderr"; } \
 /^Index:.*/ && !/^Index: .*[.]cvs$/ { deleting = 0; } \
-{ if (! deleting) { print; } } \
-'  > "$NAME".patch  || error "sed/awk cleanup failed"
+{ if (! deleting) { print; } } '  > "$NAME".patch  || \
+  error "sed/awk cleanup failed"
 






More information about the llvm-commits mailing list