autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Patch] autoconf.sh - no FD + chmod at right time


From: Tim Van Holder
Subject: RE: [Patch] autoconf.sh - no FD + chmod at right time
Date: Thu, 19 Apr 2001 18:21:27 +0200

> > Using a file instead of an FD avoids problems with running
> > autoconf from autoupdate on DOS (where FD 4, 7, 8 and 9
> > are reserved by Perl).
> 
> Why don't you use another FD instead of using a tmp file?

Which one? I tried 3, 5 and 6 as well; they gave the same errors.
Unless using a temp file is less portable, I don't see a problem
with that.

> > Also, $outfile was being chmod'ed before being created
> > by the finalize script.
> 
> No, it was chmod +x after the exec that creates the files, which is
> what matters.
> 
Right - silly of me.  In any case, when using the other parts
of this patch, the chmod must be moved until after the finalize,
because the output file won't exist till then.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]