from 128 to to 256, because some users have really long option
strings. Suggestion from jon+amd-at-spock.org.
2005-10-05 Erez Zadok <ezk@cs.sunysb.edu>
+ * libamu/hasmntopt.c (amu_hasmntopt): increase size of MNTMAXSTR
+ from 128 to to 256, because some users have really long option
+ strings. Suggestion from jon+amd-at-spock.org.
+
* amd/opts.c (expand_op): should check BUFSPACE for vlen+1, not
just vlen. Bug discovered when started using xstrlcpy().
#include <amu.h>
#ifndef MNTMAXSTR
-# define MNTMAXSTR 128
+# define MNTMAXSTR 256
#endif /* not MNTMAXSTR */
*
* From: Piete Brooks <pb@cl.cam.ac.uk>
*/
-
static char *
nextmntopt(char **p)
{
return rp;
}
+
/*
* replacement for hasmntopt if the system does not have it.
*/