Wiki TODO Entry: check usage of setenv()
Gordon Bergling
gbergling at 0xfce3.net
Wed Aug 10 04:39:06 PDT 2005
Hi,
on http://wiki.dragonflybsd.org/index.php/SoC are several projects
listed. I have some spare time today and would like to take the setenv part.
I grep'ed through src and find some usage where the return code of
setenv isn't
checked and there are some things where I am not sure how to do the job
right.
1. What about src/contrib?
2. is something like
| if( setenv(....) != 1 )
| {
| fprintf(stderr, "Malloc failed!");
| }
enough or is there more to do?
best regards,
Gordon
More information about the Kernel
mailing list