summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2001-11-29 17:04:16 +0000
committernsayer <nsayer@FreeBSD.org>2001-11-29 17:04:16 +0000
commit67d7256175fdbb7418b041ea8998d5ef28589025 (patch)
tree79b245990b48a8e2d2376eea24112714b9f64421 /security
parent64da54f9a254d4dbdadd0a533fd397b1d1b8caee (diff)
downloadFreeBSD-ports-67d7256175fdbb7418b041ea8998d5ef28589025.zip
FreeBSD-ports-67d7256175fdbb7418b041ea8998d5ef28589025.tar.gz
s/malloc/unistd/
Submitted by: Harald Schmalzbauer <H.Schmalzbauer@belenus.com>
Diffstat (limited to 'security')
-rw-r--r--security/pam_smb/files/patch-malloc44
1 files changed, 44 insertions, 0 deletions
diff --git a/security/pam_smb/files/patch-malloc b/security/pam_smb/files/patch-malloc
new file mode 100644
index 0000000..5ffc3f3
--- /dev/null
+++ b/security/pam_smb/files/patch-malloc
@@ -0,0 +1,44 @@
+--- smbval/smblib.c.orig Thu Nov 29 08:58:05 2001
++++ smbval/smblib.c Thu Nov 29 08:58:33 2001
+@@ -24,7 +24,7 @@
+ */
+
+ #include "../config.h"
+-#include <malloc.h>
++#include <unistd.h>
+
+ int SMBlib_errno;
+ int SMBlib_SMB_Error;
+--- smbval/smblib-util.c.orig Thu Nov 29 08:58:15 2001
++++ smbval/smblib-util.c Thu Nov 29 08:58:31 2001
+@@ -24,7 +24,7 @@
+ */
+
+ #include "smblib-priv.h"
+-#include <malloc.h>
++#include <unistd.h>
+
+ #include "rfcnb.h"
+
+--- smbval/rfcnb-util.c.orig Thu Nov 29 08:57:54 2001
++++ smbval/rfcnb-util.c Thu Nov 29 08:58:39 2001
+@@ -24,7 +24,7 @@
+ */
+
+ #include <string.h>
+-#include <malloc.h>
++#include <unistd.h>
+
+ #include "std-includes.h"
+ #include "rfcnb-priv.h"
+--- smbval/session.c.orig Thu Nov 29 08:58:00 2001
++++ smbval/session.c Thu Nov 29 08:58:36 2001
+@@ -23,7 +23,7 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+-#include <malloc.h>
++#include <unistd.h>
+ #include <string.h>
+
+ int RFCNB_errno = 0;
OpenPOWER on IntegriCloud