Ticket #5734 enhancement closed fixed
attempt to quash a warning by storing the result of write() in _sigchld.c is unsuccessful
| Reported by: | glyph | Owned by: | glyph |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | branches/store-write-result-sigchld-5734 | |
| Author: | ashfall | Launchpad Bug: |
Description
We should apply this:
-
twisted/internet/_sigchld.c
12 12 13 13 static void got_signal(int sig) { 14 14 int saved_errno = errno; 15 int ignored_result;15 ssize_t ignored_result; 16 16 17 17 /* write() errors are unhandled. If the buffer is full, we don't 18 18 * care. What about other errors? */
since, in fact, write() returns ssize_t and not int. (Sometimes they're the same thing, sometimes not.)
Change History
Note: See
TracTickets for help on using
tickets.
