Re: [KBUILD] Re: Announcing CML2, a replacement for the kbuild system

From: Riley Williams (rhw@MemAlpha.cx)
Date: Sat May 27 2000 - 08:28:15 EST


Hi Alexander.

> Feel free to join... Another source of fun: take a random
> file from inlude/*/, pick a random prototype defined there,
> grep the tree for said beast. Estimate the probability of
> finding the function in question

> a) called by somebody
> b) defined somewhere
> c) (a) && !(b)

> Admittedly, P(c) is pretty low, but non-zero. P(!b) is
> _far_ from zero.

Also watch out for constructs like the following...

        sample.h

                #define FOO BAZ

                void FOO (void);

        sample.c

                void BAZ (void) {
                        :
                }

Yes, I have come across programs doing tricks like that. I'm not
aware of any occurrances of it in the kernel source, but it
wouldn't surprise me...

Best wishes from Riley.

 * Copyright (C) 2000, Memory Alpha Systems.
 * All rights and wrongs reserved.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
 * http://www.memalpha.cx/Linux/Kernel/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:18 EST