Re: Style(9) and portability

2004-03-06 Thread Marcel Moolenaar
On Sat, Mar 06, 2004 at 12:18:21PM -0800, Tim Kientzle wrote: > One of the recommendations in style(9) is > inherently non-portable. I'm trying > to ensure that the new code I'm writing > for FreeBSD is portable to other systems, > so I've been scratching my head over > how to deal with the versio

Re: Style(9) and portability

2004-03-06 Thread Garance A Drosihn
At 12:18 PM -0800 3/6/04, Tim Kientzle wrote: ... I've been scratching my head over how to deal with the version ID code that is supposed to apear as the first two lines of any FreeBSD source file: #include __FBSDID("$FreeBSD$"); Clearly, I cannot reasonably assume that all platforms define a __FB

Re: Style(9) and portability

2004-03-06 Thread Colin Percival
At 20:18 06/03/2004, Tim Kientzle wrote: I've been scratching my head over how to deal with the version ID code that is supposed to apear as the first two lines of any FreeBSD source file: #include __FBSDID("$FreeBSD$"); Clearly, I cannot reasonably assume that all platforms define a __FBSDID macr