Skip to content

Commit

Permalink
Merge pull request #417 from litherum/nsfilehandle-fstat
Browse files Browse the repository at this point in the history
-[NSFileHandle initWithFileDescriptor:] logs a message each time fstat() doesn't succeed on UNIX
  • Loading branch information
rfm authored Jun 10, 2024
2 parents 4d3926d + e39309a commit 3202bd0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Source/GSFileHandle.m
Original file line number Diff line number Diff line change
Expand Up @@ -1108,11 +1108,6 @@ - (id) initWithFileDescriptor: (int)desc closeOnDealloc: (BOOL)flag
*/
isStandardFile = NO;
#else
/* This should never happen on unix. If it does, we have somehow
* ended up with a bad descriptor.
*/
NSLog(@"unable to get status of descriptor %d - %@",
desc, [NSError _last]);
isStandardFile = NO;
#endif
}
Expand Down

0 comments on commit 3202bd0

Please sign in to comment.