svn commit: r293340 - head/lib/libdpv

Devin Teske dteske at FreeBSD.org
Thu Jan 7 18:50:03 UTC 2016


Author: dteske
Date: Thu Jan  7 18:50:02 2016
New Revision: 293340
URL: https://svnweb.freebsd.org/changeset/base/293340

Log:
  Increase maximum buffer size for `-x cmd' value
  
  MFC after:	3 days
  X-MFC-to:	stable/10

Modified:
  head/lib/libdpv/util.h

Modified: head/lib/libdpv/util.h
==============================================================================
--- head/lib/libdpv/util.h	Thu Jan  7 18:41:03 2016	(r293339)
+++ head/lib/libdpv/util.h	Thu Jan  7 18:50:02 2016	(r293340)
@@ -41,7 +41,7 @@
 #define PATH_SHELL	"/bin/sh"
 #endif
 
-#define CMDBUFMAX	4096
+#define CMDBUFMAX	65536
 
 __BEGIN_DECLS
 int	shell_spawn_pipecmd(const char *_cmd, const char *_label, pid_t *_pid);


More information about the svn-src-head mailing list