Date: Thu, 26 Jan 2012 12:41:24 -0500 From: Michael Scheidell <scheidell@freebsd.org> To: <rflynn@acsalaska.net> Cc: freebsd-ports@freebsd.org Subject: Re: what is maxcmdlen? $0 len? Message-ID: <4F219044.9030705@freebsd.org> In-Reply-To: <4352.46.129.107.107.1327599369.squirrel@mymail.acsalaska.net> References: <4F2173A8.5010803@freebsd.org> <4352.46.129.107.107.1327599369.squirrel@mymail.acsalaska.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/26/12 12:36 PM, rflynn@acsalaska.net wrote: > Also, it looks like swatch is creating a temporary script that is > actually run, so the status command is not supposed to find it. > > It's a design issue upstream that you want them to find a better > solution for. > I am thinking: either do what SHOULD be done, and in swatch(). check for cmdlen > (x?) and what is x?) and let swatch die. I am experimenting with: if len > x ; then procname=/usr/local/bin/perl;fi (x being 222 so far). ugly, but it works for small (< 222) and large (>222).. wish I knew if x (222) changes for arch/perlversion/osversion -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 >*| *SECNAP Network Security Corporation * Best Mobile Solutions Product of 2011 * Best Intrusion Prevention Product * Hot Company Finalist 2011 * Best Email Security Product * Certified SNORT Integrator
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F219044.9030705>