On Sun, Feb 22, 2015 at 10:16:44AM +0100, Mathieu Malaterre wrote: > On Sat, Feb 21, 2015 at 10:25 PM, Bill Allombert <[email protected]> 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 [email protected] [*], 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.
What the environment variable JPEGMEM does is to allow the user to configure the memory limit consistently across all applications. It is supported by all programs linked with libjpeg, not only libjpeg-progs. Cheers, -- Bill. <[email protected]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

