/*
- * Copyright (c) 2009-2010, 2012-2014 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 2009-2010, 2012-2015 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
#include "sudo_compat.h"
-#ifndef LINE_MAX
-# define LINE_MAX 2048
-#endif
-
#ifdef HAVE_FGETLN
ssize_t
sudo_getline(char **bufp, size_t *bufsizep, FILE *fp)
/*
- * Copyright (c) 2005,2008,2010-2013 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 2005,2008,2010-2015 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
#include "sudo_compat.h"
#include "sudo_util.h"
-#ifndef LINE_MAX
-# define LINE_MAX 2048
-#endif
-
#undef GRMEM_MAX
#define GRMEM_MAX 200
/*
- * Copyright (c) 2012-2013 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 2012-2015 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
#include "sudo_util.h"
#include "sudo_fatal.h"
-#ifndef LINE_MAX
-# define LINE_MAX 2048
-#endif
-
__dso_public int main(int argc, char *argv[]);
static void
# include "compat/getopt.h"
#endif /* HAVE_GETOPT_LONG */
-#ifndef LINE_MAX
-# define LINE_MAX 2048
-#endif
-
/*
* Info present in the I/O log file
*/
/*
- * Copyright (c) 2005, 2008, 2010-2013
+ * Copyright (c) 2005, 2008, 2010-2015
* Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
#include "tsgetgrpw.h"
#include "sudoers.h"
-#ifndef LINE_MAX
-# define LINE_MAX 2048
-#endif
-
#undef GRMEM_MAX
#define GRMEM_MAX 200