LPD: helper support rewritten again

dronnikov at gmail.com dronnikov at gmail.com
Sun Mar 23 21:52:18 UTC 2008


Hello, Denys!

The order of data and control files is not important now.
Comments are clarified.

Environment manipulation seems to be very tricky!
Reading mans I discovered that:
* We can not free the string we have just passed to putenv() because it results in broken environment. 
* And we can not use setenv() because it seems to be leaky. 
In either case we loose some memory! 

So what to choose?! I have chosen to use putenv().
May be we should compose the whole environment "by hands"? 

--
Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lpd.patch
Type: application/octet-stream
Size: 6350 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20080323/d058b055/attachment-0002.obj 


More information about the busybox mailing list