This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] arm: ioperm use /proc/sys not sysctl


ebiederm@xmission.com (Eric W. Biederman) writes:

> Which explains how the tradition got started in gnu projects.  The
> come from a time before good version control could be counted on to
> keep and make all of those thing available to you.

Look at your favourite distribution's source packages.  Nothing but
tarballs inside.  Version control repositories change all the time,
moving around, the only reliable source of information is the tarball
contents still.

> In general why a change is made is different from why the code works
> the way it does.  If you don't retain support for calling sysctl() on
> some code path there is no need for the code to retain comments
> apologizing for that.  However the history of the code would not make
> sense without that explanation.

A comment should explain what the code does and why the code looks as it
looks now.  That is what matters when you want understand it.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]