From: guenther Date: Sun, 20 Jul 2014 07:34:43 +0000 (+0000) Subject: Don't depend on for MAXPATHLEN X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a72d26d29cb1278f2fd5a3b1587a78ed3e88a505;p=openbsd Don't depend on for MAXPATHLEN --- diff --git a/usr.bin/telnet/utilities.c b/usr.bin/telnet/utilities.c index f04a21e70c0..3f1757f960c 100644 --- a/usr.bin/telnet/utilities.c +++ b/usr.bin/telnet/utilities.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utilities.c,v 1.14 2014/07/20 06:39:41 guenther Exp $ */ +/* $OpenBSD: utilities.c,v 1.15 2014/07/20 07:34:43 guenther Exp $ */ /* $NetBSD: utilities.c,v 1.5 1996/02/28 21:04:21 thorpej Exp $ */ /* @@ -38,6 +38,7 @@ #include "telnet_locl.h" #include +#include #include FILE *NetTrace = 0; /* Not in bss, since needs to stay */ @@ -62,7 +63,7 @@ upcase(char *argument) * The following are routines used to print out debugging information. */ -unsigned char NetTraceFile[MAXPATHLEN] = "(standard output)"; +unsigned char NetTraceFile[PATH_MAX] = "(standard output)"; void SetNetTrace(file)