summaryrefslogtreecommitdiff
path: root/packages/nfs-utils/files/uclibc_bzero_fix.patch
blob: 9a276d326e341d5376d955174ac1f644810b8f7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
 support/nfs/svc_socket.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: nfs-utils-1.0.6/support/nfs/svc_socket.c
===================================================================
--- nfs-utils-1.0.6.orig/support/nfs/svc_socket.c	2007-05-27 16:14:09.000000000 +0100
+++ nfs-utils-1.0.6/support/nfs/svc_socket.c	2007-05-28 22:43:55.000000000 +0100
@@ -63,7 +63,7 @@ svc_socket (u_long number, int type, int
 	}
     }
 
-  __bzero ((char *) &addr, sizeof (addr));
+  memset ((char *) &addr,0, sizeof (addr));
   addr.sin_family = AF_INET;
 
 #ifndef __UCLIBC__	/* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */
---
 support/nfs/svc_socket.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: nfs-utils-1.0.6/support/nfs/svc_socket.c
===================================================================
--- nfs-utils-1.0.6.orig/support/nfs/svc_socket.c	2007-05-27 16:14:09.000000000 +0100
+++ nfs-utils-1.0.6/support/nfs/svc_socket.c	2007-05-28 22:43:55.000000000 +0100
@@ -63,7 +63,7 @@ svc_socket (u_long number, int type, int
 	}
     }
 
-  __bzero ((char *) &addr, sizeof (addr));
+  memset ((char *) &addr,0, sizeof (addr));
   addr.sin_family = AF_INET;
 
 #ifndef __UCLIBC__	/* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */
---
 support/nfs/svc_socket.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: nfs-utils-1.0.6/support/nfs/svc_socket.c
===================================================================
--- nfs-utils-1.0.6.orig/support/nfs/svc_socket.c	2007-05-27 16:14:09.000000000 +0100
+++ nfs-utils-1.0.6/support/nfs/svc_socket.c	2007-05-28 22:43:55.000000000 +0100
@@ -63,7 +63,7 @@ svc_socket (u_long number, int type, int
 	}
     }
 
-  __bzero ((char *) &addr, sizeof (addr));
+  memset ((char *) &addr,0, sizeof (addr));
   addr.sin_family = AF_INET;
 
 #ifndef __UCLIBC__	/* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */
---
 support/nfs/svc_socket.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: nfs-utils-1.0.6/support/nfs/svc_socket.c
===================================================================
--- nfs-utils-1.0.6.orig/support/nfs/svc_socket.c	2007-05-27 16:14:09.000000000 +0100
+++ nfs-utils-1.0.6/support/nfs/svc_socket.c	2007-05-28 22:43:55.000000000 +0100
@@ -63,7 +63,7 @@ svc_socket (u_long number, int type, int
 	}
     }
 
-  __bzero ((char *) &addr, sizeof (addr));
+  memset ((char *) &addr,0, sizeof (addr));
   addr.sin_family = AF_INET;
 
 #ifndef __UCLIBC__	/* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */