On Sat, Feb 21, 2015 at 10:25 PM, Bill Allombert <ballo...@debian.org> wrote: > On Sat, Feb 21, 2015 at 06:16:47PM +0100, Mathieu Malaterre wrote: >> Package: libjpeg9 >> Version: 1:9a-2 >> Severity: minor >> >> As discussed on d-devel@l.d.o [*], it would be nice to remove the >> getenv/putenv usage from the lib itself (move the functionalities to >> the command lines). Quotes: > > But libraries do not have command lines ?
I meant to say, move the functionalities out of the library and within the `libjpeg-progs` only, either using a specific function within the library which is not part of the regular API, or some kind of duplicate code within the example command line tools. >> getenv is, yes, but it is not protected against concurrent calls to >> setenv/putenv. So there are thread safety concerns here indeed. > > At least, libjpeg does not use setenv/putenv. Correct, the putenv stuff was added somewhere in the -turbo fork. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org