[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] order of dependencies
From: |
Jim Meyering |
Subject: |
Re: [Bug-gnulib] order of dependencies |
Date: |
Mon, 15 Sep 2003 21:54:41 +0200 |
Bruno Haible <address@hidden> wrote:
> Paul Eggert wrote:
>> I'm sorting the dependencies in the modules/* files as I go along; I
>> assume the existing order is immaterial, and if nobody else minds I'd
>> rather have them sorted for sanity's sake.
>
> The order is indeed immaterial for the tools; however for the developers
> who don't use gnulib-tool and instead look at MODULES.html, it's nicer
> to have the more important dependencies come first. For example, the
> most important dependency of 'xgethostname' is probably 'gethostname',
> not 'error'...
If you opt not to sort them, then it'd be nice if there
were some other mechanism to make duplicates unlikely.
In sorting #include directives in coreutils' copy.c, I was surprised
to find a duplicate `#include "same.h"' just a few days ago.
Re: [Bug-gnulib] order of dependencies, Paul Eggert, 2003/09/15