use ARG_MAX instead of COMMAND_SZ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12070 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -145,10 +145,9 @@ extern des_cblock iv;
|
||||
#define KCMD_NEW_VERSION "KCMDV0.2"
|
||||
|
||||
#define USERNAME_SZ 16
|
||||
#ifndef NCARGS
|
||||
#define NCARGS 8192
|
||||
#ifndef ARG_MAX
|
||||
#define ARG_MAX 8192
|
||||
#endif
|
||||
#define COMMAND_SZ (NCARGS+1)
|
||||
|
||||
#define RSH_BUFSIZ (5 * 1024) /* MIT kcmd can't handle larger buffers */
|
||||
|
||||
|
Reference in New Issue
Block a user