Changeset 2e9b59b for libcfa/src/fstream.cfa
- Timestamp:
- Apr 19, 2022, 3:00:04 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 5b84a321
- Parents:
- ba897d21 (diff), bb7c77d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.cfa
rba897d21 r2e9b59b 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Jan 10 08:45:05202213 // Update Count : 51 312 // Last Modified On : Sat Apr 9 14:55:54 2022 13 // Update Count : 515 14 14 // 15 15 … … 161 161 for ( cnt; 10 ) { 162 162 errno = 0; 163 disable_interrupts(); 163 164 len = vfprintf( (FILE *)(os.file$), format, args ); 165 enable_interrupts(); 164 166 if ( len != EOF || errno != EINTR ) break; // timer interrupt ? 165 167 if ( cnt == 9 ) abort( "ofstream fmt EINTR spinning exceeded" ); … … 293 295 for () { // no check for EINTR limit waiting for keyboard input 294 296 errno = 0; 297 disable_interrupts(); 295 298 len = vfscanf( (FILE *)(is.file$), format, args ); 299 enable_interrupts(); 296 300 if ( len != EOF || errno != EINTR ) break; // timer interrupt ? 297 301 } // for
Note:
See TracChangeset
for help on using the changeset viewer.