mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- The thread-safe system() call now blocks all standard I/O operations
until the function has returned. Which is harsh, but there is no elegant solution to the issue of keeping the same dos.library file handles from concurrent use which SystemTagList() might just end up using. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14898 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: stdio_fscanf.c,v 1.4 2005-02-27 18:09:10 obarthel Exp $
|
||||
* $Id: stdio_fscanf.c,v 1.5 2005-03-24 15:31:16 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -59,8 +59,6 @@ fscanf(FILE *stream, const char *format, ...)
|
||||
if(__check_abort_enabled)
|
||||
__check_abort();
|
||||
|
||||
flockfile(stream);
|
||||
|
||||
#if defined(CHECK_FOR_NULL_POINTERS)
|
||||
{
|
||||
if(stream == NULL || format == NULL)
|
||||
@ -79,8 +77,6 @@ fscanf(FILE *stream, const char *format, ...)
|
||||
|
||||
out:
|
||||
|
||||
funlockfile(stream);
|
||||
|
||||
RETURN(result);
|
||||
return(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user