From 8400486b39e9f57a03d2efe49cf8eab233476669 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 5 Jun 2013 02:00:26 +0000 Subject: Some places used PATH_MAX from , some MAXPATHLEN from . Consistently use the PATH_MAX since it is specified by POSIX, while MAXPATHLEN is not. In preparation for using this at a few more places. --- mansearch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mansearch.h') diff --git a/mansearch.h b/mansearch.h index 8cfbc340..fc2dfe75 100644 --- a/mansearch.h +++ b/mansearch.h @@ -1,4 +1,4 @@ -/* $Id: mansearch.h,v 1.2 2012/06/09 14:11:16 kristaps Exp $ */ +/* $Id: mansearch.h,v 1.3 2013/06/05 02:00:26 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons * @@ -61,7 +61,7 @@ __BEGIN_DECLS struct manpage { - char file[MAXPATHLEN]; /* prefixed by manpath */ + char file[PATH_MAX]; /* prefixed by manpath */ char *desc; /* description of manpage */ int form; /* 0 == catpage */ }; -- cgit v1.2.3