mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
s/malloc/unistd/
Submitted by: Harald Schmalzbauer <H.Schmalzbauer@belenus.com>
This commit is contained in:
parent
7b859cdd96
commit
a2772e99a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50724
44
security/pam_smb/files/patch-malloc
Normal file
44
security/pam_smb/files/patch-malloc
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user