diff options
author | Jeremy Allison <jra@samba.org> | 2003-08-06 21:31:11 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-08-06 21:31:11 +0000 |
commit | e602bca52fc50f2b126d5edbd7afd019bf96bbcc (patch) | |
tree | 9826cb31dd167c906a206dd7c5322b1addce789e /source3 | |
parent | 33f6eb9a17bad4738b4da2546eff3d7af4d14360 (diff) | |
download | samba-e602bca52fc50f2b126d5edbd7afd019bf96bbcc.tar.gz samba-e602bca52fc50f2b126d5edbd7afd019bf96bbcc.tar.bz2 samba-e602bca52fc50f2b126d5edbd7afd019bf96bbcc.zip |
Reversed replacement. Oops.
Jeremy.
(This used to be commit 520bee397d946766cef8ab9f0d7d89064106f510)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/clitar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c index 15c6ea3076..7e0efc7947 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -1477,7 +1477,7 @@ accordingly. static int read_inclusion_file(char *filename) { XFILE *inclusion = NULL; - char buf[MAX_PATH + 1]; + char buf[PATH_MAX + 1]; char *inclusion_buffer = NULL; int inclusion_buffer_size = 0; int inclusion_buffer_sofar = 0; @@ -1487,7 +1487,7 @@ static int read_inclusion_file(char *filename) int error = 0; clipn = 0; - buf[MAX_PATH] = '\0'; /* guarantee null-termination */ + buf[PATH_MAX] = '\0'; /* guarantee null-termination */ if ((inclusion = x_fopen(filename, O_RDONLY, 0)) == NULL) { /* XXX It would be better to include a reason for failure, but without * autoconf, it's hard to use strerror, sys_errlist, etc. |