Author: muggenhor
Date: Sun Feb 1 12:54:25 2009
New Revision: 6577
URL: http://svn.gna.org/viewcvs/warzone?rev=6577&view=rev
Log:
* Fix warnings about "possibly dangerous code" added in r6570:
- Don't ignore write(2)'s return value, instead handle it properly to deal
with the cases where write(2) gets interrupted (by a signal) or returns
prematurely because of non-blocking I/O
- Properly handle popen(3) returning NULL
* Don't assume the data written to stdout by "which" will just fit in our
buffer
Modified:
trunk/lib/exceptionhandler/dumpinfo.cpp
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits