@@ -0,0 +1,29 @@
+Binary files bonnie++-1.02/bon_file.o and bonnie++-1.02_patched/bon_file.o differ
+diff -ruN bonnie++-1.02/bon_io.cpp bonnie++-1.02_patched/bon_io.cpp
+--- bonnie++-1.02/bon_io.cpp Mon Apr 16 17:16:05 2001
++++ bonnie++-1.02_patched/bon_io.cpp Sun Dec 16 23:24:07 2001
+@@ -233,7 +233,7 @@
+ int next;
+ for(int i = 0; i < m_chunk_size; i++)
+ {
+- if ((next = getc(m_stream[m_file_ind])) == EOF)
++ if ((next = getc_unlocked(m_stream[m_file_ind])) == EOF)
+ {
+ fprintf(stderr, "Can't getc(3)\n");
+ return -1;
+@@ -283,7 +283,7 @@
+ {
+ for(int i = 0; i < m_chunk_size; i++)
+ {
+- if (putc(i & 0x7f, m_stream[m_file_ind]) == EOF)
++ if (putc_unlocked(i & 0x7f, m_stream[m_file_ind]) == EOF)
+ {
+ fprintf(stderr, "Can't putc() - disk full?\n");
+ return -1;
+Binary files bonnie++-1.02/bon_io.o and bonnie++-1.02_patched/bon_io.o differ
+Binary files bonnie++-1.02/bon_suid.o and bonnie++-1.02_patched/bon_suid.o differ
+Binary files bonnie++-1.02/bon_time.o and bonnie++-1.02_patched/bon_time.o differ
+Binary files bonnie++-1.02/bonnie++ and bonnie++-1.02_patched/bonnie++ differ
+Binary files bonnie++-1.02/forkit.o and bonnie++-1.02_patched/forkit.o differ
+Binary files bonnie++-1.02/semaphore.o and bonnie++-1.02_patched/semaphore.o differ
+Binary files bonnie++-1.02/zcav and bonnie++-1.02_patched/zcav differ
|