[pacman-dev] Strange cleanup() function usage in pacman.c

Nagy Gabor ngaba at bibl.u-szeged.hu
Sun Mar 9 06:40:48 EDT 2008


Cleanup() is a signal handler. However, we usually pass some return
values to it manually, see lines 816 and 822 for example.
Or run pacman -V --debug. (parseargs returns with 2 == SIGINT)
Is this OK?




More information about the pacman-dev mailing list