On Fri, Apr 18, 2008 at 09:28:24PM -0400, Ted Unangst wrote:
> On Apr 18, 2008, at 1:47 PM, Paul Irofti <[EMAIL PROTECTED]> wrote:
>
>> On Fri, Apr 18, 2008 at 03:20:56PM +0200, Jurjen Oskam wrote:
>>>
>>>
>>> #include <stdio.h>
>>> #include <errno.h>
>>> #include <stdlib.h>
>>>
>>> int main(int argc, char **argv)
>>> {
>>> char *var1 = "FOO=TESTING";
>>
>> A bit OT but you should really alloc that or use a static.
>
> Why?
Mainly because its bad practice and expanding the code would probably
lead to at least a couple of bugs related to string manipulation.