From d492eec303dc9bc22f5373f3412d4cac3ef3ae6a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 30 Dec 2005 05:37:57 +0000 Subject: define our own _Q_PATH_MAX rather than relying on _POSIX_PATH_MAX/PATH_MAX --- qxpak.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qxpak.c') diff --git a/qxpak.c b/qxpak.c index 22b83206..52e390d4 100644 --- a/qxpak.c +++ b/qxpak.c @@ -1,7 +1,7 @@ /* * Copyright 2005 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/qxpak.c,v 1.7 2005/12/11 18:58:13 solar Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/qxpak.c,v 1.8 2005/12/30 05:37:57 vapier Exp $ * * Copyright 2005 Ned Ludd - * Copyright 2005 Mike Frysinger - @@ -46,7 +46,7 @@ static const char *qxpak_opts_help[] = { "Write files to stdout", COMMON_OPTS_HELP }; -static const char qxpak_rcsid[] = "$Id: qxpak.c,v 1.7 2005/12/11 18:58:13 solar Exp $"; +static const char qxpak_rcsid[] = "$Id: qxpak.c,v 1.8 2005/12/30 05:37:57 vapier Exp $"; #define qxpak_usage(ret) usage(ret, QXPAK_FLAGS, qxpak_long_opts, qxpak_opts_help, lookup_applet_idx("qxpak")) @@ -286,7 +286,7 @@ void xpak_create(const char *file, int argc, char **argv) struct dirent **dir; int i, fidx, numfiles; struct stat st; - char path[_POSIX_PATH_MAX], *p; + char path[_Q_PATH_MAX], *p; int index_len, data_len; if (argc == 0) -- cgit v1.2.3-65-gdbad