Wiki TODO Entry: check usage of setenv()

Gordon Bergling gbergling at
Wed Aug 10 04:39:06 PDT 2005


on 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 

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,


More information about the Kernel mailing list