diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-10 13:00:53 -0600 | 
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-10 13:02:01 -0600 | 
| commit | 3a3dc38cc8604e55a5ca9d7fa081d6591ade3b9c (patch) | |
| tree | b06a97e75208cc95057d0ef9a4bd48ad8a45a853 /package/nfs-utils/patches/patch-support_nfs_conffile_c | |
| parent | 0ef6c3891113cfc711d990f767a3ffcd78d834b5 (diff) | |
update to latest upstream version
Diffstat (limited to 'package/nfs-utils/patches/patch-support_nfs_conffile_c')
| -rw-r--r-- | package/nfs-utils/patches/patch-support_nfs_conffile_c | 42 | 
1 files changed, 0 insertions, 42 deletions
| diff --git a/package/nfs-utils/patches/patch-support_nfs_conffile_c b/package/nfs-utils/patches/patch-support_nfs_conffile_c deleted file mode 100644 index 0c59eea59..000000000 --- a/package/nfs-utils/patches/patch-support_nfs_conffile_c +++ /dev/null @@ -1,42 +0,0 @@ ---- nfs-utils-1.3.0.orig/support/nfs/conffile.c	2014-03-25 16:12:07.000000000 +0100 -+++ nfs-utils-1.3.0/support/nfs/conffile.c	2014-05-17 21:30:36.886783421 +0200 -@@ -72,10 +72,10 @@ TAILQ_HEAD (conf_trans_head, conf_trans) - /* -  * Radix-64 Encoding. -  */ --static const u_int8_t bin2asc[] -+static const uint8_t bin2asc[] -   = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; -  --static const u_int8_t asc2bin[] = -+static const uint8_t asc2bin[] = - { -   255, 255, 255, 255, 255, 255, 255, 255, -   255, 255, 255, 255, 255, 255, 255, 255, -@@ -109,10 +109,10 @@ LIST_HEAD (conf_bindings, conf_binding) -  - static char *conf_addr; -  --static __inline__ u_int8_t -+static __inline__ uint8_t - conf_hash(char *s) - { --	u_int8_t hash = 0; -+	uint8_t hash = 0; -  - 	while (*s) { - 		hash = ((hash << 1) | (hash >> 7)) ^ tolower (*s); -@@ -603,10 +603,10 @@ cleanup: -  - /* Decode a PEM encoded buffer.  */ - int --conf_decode_base64 (u_int8_t *out, u_int32_t *len, u_char *buf) -+conf_decode_base64 (uint8_t *out, uint32_t *len, unsigned char *buf) - { --	u_int32_t c = 0; --	u_int8_t c1, c2, c3, c4; -+	uint32_t c = 0; -+	uint8_t c1, c2, c3, c4; -  - 	while (*buf) { - 		if (*buf > 127 || (c1 = asc2bin[*buf]) == 255) | 
