diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-06-09 09:29:53 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-06-09 09:29:53 +0000 |
| commit | 177bf8278ce700a65f931042758a33638a437613 (patch) | |
| tree | 9e9d5c0496838138c10c4e6a915ab72d25b59bc6 | |
| parent | 85cfadeb74ae8ee6541d06a6b591be6dc4e82cbc (diff) | |
Notes
| -rw-r--r-- | usr.sbin/pkg_install/add/extract.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/add/extract.c b/usr.sbin/pkg_install/add/extract.c index ac8d4bffbb9f..ed3ad2c49a67 100644 --- a/usr.sbin/pkg_install/add/extract.c +++ b/usr.sbin/pkg_install/add/extract.c @@ -1,6 +1,6 @@ #ifndef lint static const char rcsid[] = - "$Id: extract.c,v 1.22 1998/10/12 20:01:48 jkh Exp $"; + "$Id: extract.c,v 1.23 1998/10/28 22:44:24 jkh Exp $"; #endif /* @@ -29,8 +29,8 @@ static const char rcsid[] = #define STARTSTRING "tar cf - " -#define TOOBIG(str) ((strlen(str) + 22 + strlen(home) + where_count > maxargs) \ - || (strlen(str) + 6 + strlen(home) + perm_count > maxargs)) +#define TOOBIG(str) ((strlen(str) + FILENAME_MAX + where_count > maxargs) \ + || (strlen(str) + FILENAME_MAX + perm_count > maxargs)) #define PUSHOUT(todir) /* push out string */ \ if (where_count > sizeof(STARTSTRING)-1) { \ |
