DragonFly kernel List (threaded) for 2005-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Wiki TODO Entry: check usage of setenv()
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]