
10 Feb
2014
10 Feb
'14
7:27 p.m.
Dear Chris,
In message 52F8A706.7030103@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: wd@denx.de
The software required `Windows 95 or better', so I installed Linux.