Dear Chris,

In message <52f8a706.7030...@free.fr> you wrote:
>
> >     "abc"
> >     "def"
> >
> > Is a valid C string, and does not require a backslash. Do I miss
> > something?
> 
> Yes, you are of course correct: the result is the C string "abcdef" and =
> 
> the backslash in the original is superfluous.
> However a grep for "abcdef" in the source code won't match it :(
> This is why splitting strings like this is discouraged in the Linux kernel.

To be precise, the Linux CodingStyle refers to "user-visible strings
such as printk messages".

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
 The software required `Windows 95 or better', so I installed Linux.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to