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

Re: hurd-i386 updates



On Tue, Jul 13, 2004 at 02:54:13PM +0200, Robert Millan wrote:
> On Tue, Jul 13, 2004 at 12:26:12AM -0500, Branden Robinson wrote:
> >    125  static void
> >    126  xf86PrintOSKernelString(void)
> >    127  {
> 
> >    140       if ((infile = fopen("/proc/version", "r")) != NULL)
> 
> Doesn't look much different from `uname -srv`. We could use this hack for
> Linux and a simple uname() call otherwise.
> 
> But I don't see why this requires a macro in the conffile. Can't we just use
> #ifdef __linux__ in the code?

It used to be #ifdef REDHAT_CUSTOM or something, but I changed it when I
stole it.

-- 
Daniel Stone                                                <daniels@debian.org>
Debian: the universal operating system                     http://www.debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: