On Sun, May 08, 2005 at 10:25:02PM +0200, Michael Fedrowitz wrote:
> tags 306921 + upstream
> forwarded 306921 [EMAIL PROTECTED]
> thanks

> On Fri, 2005-04-29 at 05:17 -0700, Steve Langasek wrote:

> > Trying to use debdiff on a system with a small root partition can fail,
> > because interdiff -z does not respect the TMPDIR environment setting:

> > $ TMPDIR=/var/tmp debdiff gcc-3.4_3.4.3-12{,.1}.dsc
> > interdiff: writing temp file: No space left on device
> > debdiff: fatal error at line 365:
> > interdiff -z /home/devel/release/gcc-3.4_3.4.3-12.diff.gz 
> > /home/devel/release/gcc-3.4_3.4.3-12.1.diff.gz failed!
> > $

> > It would be helpful if it did respect this standard variable.

> Ok, this is weird, since it says quite clearly in interdiff.c:

> tmpdir = getenv ("TMPDIR");

> Possibly this is not used everywhere the way it's supposed to? (Don't
> have the time right now to investigate closer.)

When calling interdiff -z, it uses (IIRC) tmpfile() for creation of
temporary files, and this function does not respect TMPDIR.

Cheers,
-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to