freebsd-ports/mail/popd/files/patch-lib__private.h
Philip M. Gollucci 97e4c17bf0 - Fix a null pointer exception
(asked submitted to send this patch upstream)

PR:             ports/134721
Submitted by:   Dmitry <hanabana@mail.ru>
Approved by:    maintainer timeout (ian@freislich.nom.za; 1.5 months)
2009-06-23 23:39:18 +00:00

12 lines
287 B
C

--- ./lib/private.h.orig 2001-10-10 05:48:11.000000000 -0400
+++ ./lib/private.h 2009-06-23 19:35:15.499808776 -0400
@@ -26,6 +26,9 @@
* $Id: private.h,v 1.1 2001/10/10 09:48:11 ianf Exp $
*/
+#undef NULL
+#define NULL 0
+
#define TRUE 1
#define FALSE 0
#define MAXINCR 20