Overview
| Artifact ID: | bb453919bbb8f47f3391da51dc4c45cbccb59848 |
|---|---|
| Ticket: | 3865631578e3423a7786527af579e844c6ace321
Tcl panics when writing a file exceeding `ulimit -f` |
| User & Date: | sbron on 2013-08-30 19:34:36 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
When writing a file that exceeds the size allowed by ulimit -f, Tcl panics (File size limit exceeded). This can easily be turned into a more reasonable I/O error (file too large): --- unix/tclUnixInit.c.ORIG 2013-08-30 17:58:40.000000000 +0200 +++ unix/tclUnixInit.c 2013-08-30 20:58:00.827304606 +0200 @@ -448,6 +448,10 @@ (void) signal(SIGPIPE, SIG_IGN); #endif /* SIGPIPE */ +#ifdef SIGXFSZ + (void) signal(SIGXFSZ, SIG_IGN); +#endif /* SIGXFSZ */ + #if defined(__FreeBSD__) && defined(__GNUC__) /* * Adjust the rounding mode to be more conventional. Note that FreeBSD - foundin changed to: "8.5.15rc0"
- is_private changed to: "0"
- login: "sbron"
- priority changed to: "5 Medium"
- private_contact changed to: "8475f421649231f1e116ac602bea4537d2b027b4"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "sbron"
- subsystem changed to: "37. File System"
- title changed to:
Tcl panics when writing a file exceeding `ulimit -f`
- type changed to: "Patch"