Re: [PATCH] VFS KPI/API versioning



On Sat, Aug 29, 2009 at 04:04:55AM +0200, Attilio Rao wrote:
[snip]
Something that concerned me is also the mis-usage of the VFS_VERSION
macro, which can be easilly used at compile time in order to determine
if a feature is present or not. Basically, I have no idea by when it
doesn't get updated and if it has ever been checked in our codes. It
seems to use a random number as the start count, while it could have
been handled differently. Maybe it would be the case to start taking
care of that too, which can be an interesting tool.

Quite offtopic, just a note about the "random number as the start count"
part - it's not exactly random; take a "fgrep 1966" to calendar.freebsd ;)

G'luck,
Peter

--
Peter Pentchev roam@xxxxxxxxxxx roam@xxxxxxxx roam@xxxxxxxxxxx
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
This would easier understand fewer had omitted.

Attachment: pgp5b8JXJOeZm.pgp
Description: PGP signature



Relevant Pages

  • Re: macro operators?
    ... macro, means the value of max is assigned at compile time. ... And also quite dangerous for all of the subtle side effects it causes. ...
    (comp.lang.c)
  • Re: MACRO help
    ... A better macro is ... This has also got the nice feature that it will give a compile time ... error if you try to use it on a pointer. ...
    (comp.lang.c)
  • Re: Great SWT Program
    ... text in the user's language of choice is a feature of GUIs and not ... literal tab characters in code. ... characters into spaces" feature on. ...
    (comp.lang.java.programmer)
  • Re: Efficency and the standard library
    ... macro, test suite, etc.) from me. ... that my implementation of a TESTER macro conforms to an interface ... following the relevant discussion that I was proposing to run ...
    (comp.lang.c)
  • Re: Efficency and the standard library
    ... macro, test suite, etc.) from me. ... conforms to the spinoza1111 interface to allow easy copy/paste of his tests; ... following the relevant discussion that I was proposing to run ...
    (comp.lang.c)