Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
DISCONTINUED:openSUSE:11.2
bonnie++
bonnie++-1.02_unlocked.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bonnie++-1.02_unlocked.patch of Package bonnie++
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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor