mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Added a wrapper function which handles the thread-safe stdio stream
resolution. - In tcflush() a break signal can no longer cause the read flush loop to be quit with two semaphores still locked. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15170 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: unistd_fchown.c,v 1.14 2006-09-25 15:38:21 obarthel Exp $
|
||||
* $Id: unistd_fchown.c,v 1.15 2006-11-16 14:39:23 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@@ -89,7 +89,7 @@ fchown(int file_descriptor, uid_t owner, gid_t group)
|
||||
}
|
||||
|
||||
PROFILE_OFF();
|
||||
success = (__safe_examine_file_handle(fd->fd_DefaultFile,fib) && (parent_dir = __safe_parent_of_file_handle(fd->fd_DefaultFile)) != ZERO);
|
||||
success = (__safe_examine_file_handle(fd->fd_File,fib) && (parent_dir = __safe_parent_of_file_handle(fd->fd_File)) != ZERO);
|
||||
PROFILE_ON();
|
||||
|
||||
if(NO success)
|
||||
|
||||
Reference in New Issue
Block a user