On Fri, Apr 18, 2008 at 08:47:44PM +0300, Paul Irofti wrote: > > int main(int argc, char **argv) > > { > > char *var1 = "FOO=TESTING"; > > A bit OT but you should really alloc that or use a static.
I'm almost a complete C non-programmer; I've copy-pasted this program from somewhere on the Web. You'll not be seeing me near any C code with any significant value anytime soon. :) But thanks for the tip. -- Jurjen Oskam Savage's Law of Expediency: You want it bad, you'll get it bad.