]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Ignore SIGXFSZ.
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 23 Apr 2002 20:31:01 +0000 (20:31 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 23 Apr 2002 20:31:01 +0000 (20:31 +0000)
commit1b0bf9b7616a5d8b624ccb1670c7b71fa0850209
treeb33f580155d26ff58bc77ceed5816c7cebee99b3
parent74ce77f0e67f0d67a3ae0d35ae11c7c48a7a67a5
Ignore SIGXFSZ.

The SIGXFSZ signal is sent when the maximum file size limit is
exceeded (RLIMIT_FSIZE).  Apparently, it is also sent when the 2GB
file limit is reached on platforms without large file support.

The default action for SIGXFSZ is to terminate the process and dump
core.  When it is ignored, the system call that caused the limit to be
exceeded returns an error and sets errno to EFBIG.  Python
always checks errno on I/O syscalls, so there is nothing to do with
the signal.
Python/pythonrun.c