[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C/bison/files.c
Evan Cheng
evan.cheng at apple.com
Tue Nov 28 09:41:28 PST 2006
Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C/bison:
files.c updated: 1.3 -> 1.4
---
Log message:
Fix undefined behavior, main should return 0 if executed correctly.
---
Diffs of the changes: (+1 -1)
files.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm-test/MultiSource/Benchmarks/Prolangs-C/bison/files.c
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C/bison/files.c:1.3 llvm-test/MultiSource/Benchmarks/Prolangs-C/bison/files.c:1.4
--- llvm-test/MultiSource/Benchmarks/Prolangs-C/bison/files.c:1.3 Sun Dec 5 23:59:14 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C/bison/files.c Tue Nov 28 11:41:13 2006
@@ -245,7 +245,7 @@
void done(int k)
{
- return;
+ exit(k);
if (faction)
fclose(faction);
More information about the llvm-commits
mailing list