openbsd-ports/net/netatalk/stable/patches/patch-bin_adv1tov2_adv1tov2_c

13 lines
423 B
Plaintext

$OpenBSD: patch-bin_adv1tov2_adv1tov2_c,v 1.1 2003/08/22 11:18:19 naddy Exp $
--- bin/adv1tov2/adv1tov2.c.orig Mon Aug 18 13:33:27 2003
+++ bin/adv1tov2/adv1tov2.c Mon Aug 18 13:34:29 2003
@@ -28,7 +28,7 @@
/* translate characters */
static int xlate(char *name, int flags) {
static const char hexdig[] = "0123456789abcdef";
- char upath[MAXPATHLEN + 1];
+ char upath[MAXPATHLEN];
char *m, *u;
int doit = 0;