[llvm-commits] CVS: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c

Chris Lattner lattner at cs.uiuc.edu
Fri Jun 25 03:08:01 PDT 2004


Changes in directory llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl:

doio.c updated: 1.1 -> 1.2

---
Log message:

fix the test on FreeBSD, contributed by Vladimir Merzliakov


---
Diffs of the changes:  (+6 -1)

Index: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c
diff -u llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c:1.1 llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c:1.2
--- llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c:1.1	Tue Feb 17 16:21:16 2004
+++ llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/doio.c	Fri Jun 25 03:07:12 2004
@@ -1,4 +1,4 @@
-/* $RCSfile: doio.c,v $$Revision: 1.1 $$Date: 2004/02/17 22:21:16 $
+/* $RCSfile: doio.c,v $$Revision: 1.2 $$Date: 2004/06/25 08:07:12 $
  *
  *    Copyright (c) 1989, Larry Wall
  *
@@ -6,6 +6,9 @@
  *    as specified in the README file that comes with the perl 3.0 kit.
  *
  * $Log: doio.c,v $
+ * Revision 1.2  2004/06/25 08:07:12  lattner
+ * fix the test on FreeBSD, contributed by Vladimir Merzliakov
+ *
  * Revision 1.1  2004/02/17 22:21:16  criswell
  * Initial commit of the perl Malloc Benchmark.  I've cheated a little by
  * generating the yacc output files and committing them directly, but it was
@@ -2689,7 +2692,9 @@
     char *mbuf, *shm;
     int id, mpos, msize;
     struct shmid_ds shmds;
+#if !defined(__FreeBSD__)
     extern char *shmat();
+#endif
 
     id = (int)str_gnum(st[++sp]);
     mstr = st[++sp];





More information about the llvm-commits mailing list