mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
MAXPATHLEN contains the trailing NUL.
This commit is contained in:
parent
167ea27b4f
commit
77892acd6a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73261
@ -100,7 +100,7 @@ main(argc, argv)
|
||||
struct exec exec;
|
||||
int ch, cnt, efd, fd, sflag, uid;
|
||||
char *binfile, *corefile;
|
||||
char errbuf[_POSIX2_LINE_MAX], fname[MAXPATHLEN + 1];
|
||||
char errbuf[_POSIX2_LINE_MAX], fname[MAXPATHLEN];
|
||||
int is_aout;
|
||||
|
||||
sflag = 0;
|
||||
|
@ -100,7 +100,7 @@ main(argc, argv)
|
||||
struct exec exec;
|
||||
int ch, cnt, efd, fd, sflag, uid;
|
||||
char *binfile, *corefile;
|
||||
char errbuf[_POSIX2_LINE_MAX], fname[MAXPATHLEN + 1];
|
||||
char errbuf[_POSIX2_LINE_MAX], fname[MAXPATHLEN];
|
||||
int is_aout;
|
||||
|
||||
sflag = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user