diff options
author | dteske <dteske@FreeBSD.org> | 2016-01-09 23:44:41 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2016-01-09 23:44:41 +0000 |
commit | fdecbaeff59263df5ae9b87a90264a9eebdec0a3 (patch) | |
tree | f42c6d81da976240d17059ef26ab8f309e587613 /lib | |
parent | cac8f39a781454431a4cb30944a534b220f71c2b (diff) | |
download | FreeBSD-src-fdecbaeff59263df5ae9b87a90264a9eebdec0a3.zip FreeBSD-src-fdecbaeff59263df5ae9b87a90264a9eebdec0a3.tar.gz |
MFC SVN revisions 293340, 293379
r293340: Increase maximum buffer size for `-x cmd' value
r293379: Bump copyright
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libdpv/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdpv/util.h b/lib/libdpv/util.h index 7bb3b18..d746cb6 100644 --- a/lib/libdpv/util.h +++ b/lib/libdpv/util.h @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2013-2014 Devin Teske <dteske@FreeBSD.org> + * Copyright (c) 2013-2016 Devin Teske <dteske@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -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); |