Remove bogus error log pointed out by Riccardo Mottola

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28356 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-06-17 08:45:54 +00:00
parent 80fe7ffde0
commit 0007b42900
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2009-06-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/NSMessagePort.m: Don't use NSLog() to report error
when writing to mailslot ... it's usually just that the remote
end has terminated, so invalidating the port silently is better.
2009-06-13 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSKeyedArchiver.h:

View file

@ -872,7 +872,11 @@ again:
}
else if ((errno = GetLastError()) != ERROR_IO_PENDING)
{
NSLog(@"unable to write to mailslot '%@' - %@",
/* This is probably an end of file
* eg. when the process at the other end has terminated.
*/
NSDebugMLog(@"NSMessagePort",
@"unable to write to mailslot '%@' - %@",
this->name, [NSError _last]);
[self invalidate];
}