[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/compress.c pcompress2.c uncompress.c

Chris Lattner lattner at cs.uiuc.edu
Fri Dec 3 09:03:49 PST 2004



Changes in directory llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2:

compress.c updated: 1.1 -> 1.2
pcompress2.c updated: 1.1 -> 1.2
uncompress.c updated: 1.1 -> 1.2
---
Log message:

Increase filename buffer size so this testcase passes when passed in `pwd`/test.in
and `pwd` is large


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

Index: llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/compress.c
diff -u llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/compress.c:1.1 llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/compress.c:1.2
--- llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/compress.c:1.1	Sat Oct 11 16:18:47 2003
+++ llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/compress.c	Fri Dec  3 11:03:35 2004
@@ -37,7 +37,7 @@
 void compress(int argc, char *argv[]) 
 {
   char *filename;
-  char outname[100];
+  char outname[1000];
   struct stat buf; 
   unsigned int filesize, outsize;
 


Index: llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/pcompress2.c
diff -u llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/pcompress2.c:1.1 llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/pcompress2.c:1.2
--- llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/pcompress2.c:1.1	Sat Oct 11 16:18:48 2003
+++ llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/pcompress2.c	Fri Dec  3 11:03:35 2004
@@ -27,7 +27,7 @@
 #ifndef BENCHMARK 
   const char* argv0;
 #else
-  char filename[100];
+  char filename[1000];
 #endif  
 
 #ifdef BENCHMARK  


Index: llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/uncompress.c
diff -u llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/uncompress.c:1.1 llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/uncompress.c:1.2
--- llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/uncompress.c:1.1	Sat Oct 11 16:18:48 2003
+++ llvm-test/MultiSource/Benchmarks/FreeBench/pcompress2/uncompress.c	Fri Dec  3 11:03:35 2004
@@ -40,7 +40,7 @@
   FILE *fpi;
 #ifndef BENCHMARK
   FILE *fpo;
-  char outname[100];
+  char outname[1000];
 #endif
   unsigned int insize, outsize;
 






More information about the llvm-commits mailing list