Wireshark-dev: Re: [Wireshark-dev] Python error: "execvp: bad file number"
From: Gisle Vanem <[email protected]>
Date: Fri, 17 Feb 2012 19:28:02 +0100
"Graham Bloice" <[email protected]> wrote:

I built on the same platform just a few minutes ago (from trunk r41048)  and
register.c was fine.  I'm using python 2.7.1 though.  How are you
determining your environment size?
I'm sure the is a function for this,  but I approximated by a 
"set > foo", counting the lines ("wc -c foo"). Isn't each env-var 
separated by a 0 in a block somewhere? Hence 
 env-size ~= size of foo - lines in foo. 

(since each line has a '\r\n' termination).