diff options
author | Dan McGee <dan@archlinux.org> | 2012-02-14 12:12:24 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-02-14 12:12:24 -0600 |
commit | 6c78f0d56007ae5bbbaf9f15f6399e6e2967dd76 (patch) | |
tree | e8efb918af8a305c8b3654b5541972e3c0689076 | |
parent | 13a1d5883c9aa81ee10d61cbe4c2f2223dad9a50 (diff) | |
download | pacman-6c78f0d56007ae5bbbaf9f15f6399e6e2967dd76.tar.xz |
Update SIGPIPE signal handler comment
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | lib/libalpm/dload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 414d5d76..ee95e8a7 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -436,8 +436,8 @@ static int curl_download_internal(struct dload_payload *payload, curl_easy_setopt(curl, CURLOPT_WRITEDATA, localf); - /* ignore any SIGPIPE signals- these may occur if our FTP socket dies or - * something along those lines. Store the old signal handler first. */ + /* Ignore any SIGPIPE signals. With libcurl, these shouldn't be happening, + * but better safe than sorry. Store the old signal handler first. */ mask_signal(SIGPIPE, SIG_IGN, &orig_sig_pipe); mask_signal(SIGINT, &inthandler, &orig_sig_int); |