[lkml]   [2003]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: ipsec-tools 0.1 + kernel 2.5.64
On Wed, Mar 05, 2003 at 01:43:30PM -0500, Derek Atkins wrote:
> Well, the problem is that the replacement function is only valid on
> Linux, so I need to have the <OS> test in there anyways.

It's probably not valid on Linux but on OSes that support the functionality
you use to implement it. It might e.g. work on the Hurd that uses old
Linux networking code.

> It may be
> "bad style", but the test needs to exist _somewhere_. Besides, I've
> never been one to be convinced to do something purely based on
> stylistic arguments. Give me a real technical reason why it needs to
> be different and I'll consider changing it.

Checking for OSes is wrong because you couldn't care less for the
OS, you care for the functionality that is provided. This is the
nice idea behind autoconf (the implementation of autoconf is a completly
different issue, though).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.060 / U:2.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site