Overview
| Artifact ID: | 356d2adb855e4d09f4fd86937d130bca47748d67 |
|---|---|
| Ticket: | 465765ffffffffffffffffffffffffffffffffff
zero-length write considered harmful |
| User & Date: | nobody on 2002-02-02 10:32:34 |
Changes
- icomment:
Logged In: NO If you want to be conservative with the fix, you could use if (toWrite == 0 && isatty(fsPtr->fd)) return 0; or similar to avoid _only_ the effect of logging out the user. (Sockets are not ttys.) I just lost five hours of my life on this braindamage and want them back.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"