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

Re: [PATCH] added --force-* options for conffile handling

On Tue, Oct 12, 1999 at 03:19:18AM +0200, Wichert Akkerman wrote:
> Previously Marcus Brinkmann wrote:
> > #31620:
> >   * scripts/dpkg-divert and update-alternatives: Don't hardcode ENOENT!
> Where do you propose we get ENOENT for? POSIX might not be available
> and we have to get it somewhere..

That's a problem, mmh?

Indeed there is a bug report against perl-base for including POSIX (for
other reasons), so it may be a good idea to go this route.

However, evem missing POSIX, there are still "-d", "-e" etc for testing the
existence. This works without any perl modules. The code has to be restructured
for this, of course. Or you hack around it in C, which is bad, IMHO.


`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
Marcus.Brinkmann@ruhr-uni-bochum.de,     marcus@gnu.org    PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       brinkmd@debian.org

Reply to: