diff options
author | shaun <shaun@FreeBSD.org> | 2007-09-27 03:10:54 +0800 |
---|---|---|
committer | shaun <shaun@FreeBSD.org> | 2007-09-27 03:10:54 +0800 |
commit | 1d99e1bf1587927af7c8e1d1bd2facf3619ab2a7 (patch) | |
tree | 7dd3f3d0d1fa63866db8acec06ee069be0dfc2b1 /news/inn/files | |
parent | 2ff155f86a7edbe55873f118d7ee4a6b62cf89d3 (diff) | |
download | freebsd-ports-gnome-1d99e1bf1587927af7c8e1d1bd2facf3619ab2a7.tar.gz freebsd-ports-gnome-1d99e1bf1587927af7c8e1d1bd2facf3619ab2a7.tar.zst freebsd-ports-gnome-1d99e1bf1587927af7c8e1d1bd2facf3619ab2a7.zip |
Fix a bug which causes innfeed to segfault on 64-bit architectures.
Submitted by: Kai Gallasch <gallasch@free.de>
Debugged by: Julien ÉLIE <julien@trigofacile.com>
Patched by: roberto
Diffstat (limited to 'news/inn/files')
-rw-r--r-- | news/inn/files/patch-innfeed_endpoint.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/news/inn/files/patch-innfeed_endpoint.c b/news/inn/files/patch-innfeed_endpoint.c new file mode 100644 index 000000000000..b50fb3011898 --- /dev/null +++ b/news/inn/files/patch-innfeed_endpoint.c @@ -0,0 +1,11 @@ +--- innfeed/endpoint.c.orig Mon Mar 20 04:14:57 2006 ++++ innfeed/endpoint.c Wed Sep 26 20:02:26 2007 +@@ -1644,7 +1644,7 @@ + if (sigHandlers == NULL) + { + sigHandlers = xmalloc (sizeof(sigfn) * NSIG) ; +- sigFlags = xmalloc (sizeof(int) * NSIG) ; ++ sigFlags = xmalloc (sizeof(sig_atomic_t) * NSIG) ; + for (i = 0 ; i < NSIG ; i++) + { + sigHandlers [i] = NULL ; |