Re: [PATCH] Fix breakage caused by spelling 'fix'

From: Steven Cole (elenstev@mesatop.com)
Date: Thu Mar 06 2003 - 17:37:24 EST


On Thu, 2003-03-06 at 14:57, Linus Torvalds wrote:
>
> On Thu, 6 Mar 2003, Michael Hayes wrote:
> >
> > This fixes a spelling "fix" that resulted in a compile error.
> >
> > With apologies to Russell King.
>
> Ugh, please make things like this just write out the full non-contracted
> thing. Ie "cannot" is a perfectly fine word, we don't need to force
> spelling errors.
>
> Linus

For yet another alternative:

[steven@spc9 steven]$ cat -n hello.c
     1 #if 0
     2 /* This won't break anything */
     3 #include <bogus.h>
     4 #endif
     5
     6 #if 0
     7 * This won't compile
     8 #include <missing.h>
     9 #endif
    10
    11 #include <stdio.h>
    12 int main()
    13 {
    14 printf("Hello world!\n");
    15 }
[steven@spc9 steven]$ cc -c hello.c
hello.c:7:11: missing terminating ' character

--- linux-2.5.64/include/asm-arm/proc-fns.h.orig Thu Mar 6 15:19:17 2003
+++ linux-2.5.64/include/asm-arm/proc-fns.h Thu Mar 6 15:20:13 2003
@@ -124,9 +124,9 @@
 #endif /* __KERNEL__ */
 
 #if 0
- * The following is to fool mkdep into generating the correct
- * dependencies. Without this, it can't figure out that this
- * file does indeed depend on the cpu-*.h files.
+/* The following is to fool mkdep into generating the correct */
+/* dependencies. Without this, it can't figure out that this */
+/* file does indeed depend on the cpu-*.h files. */
 #include <asm/cpu-single.h>
 #include <asm/cpu-multi26.h>
 #include <asm/cpu-multi32.h>

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



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:34 EST