From: Thorsten B. <tho...@do...> - 2011-05-30 11:19:11
|
Hi Arjen! >> Anyway: The fix I suggested (i.e. checking the string character by >> character for 0x0A or 0x0D) should work here as well. > > I suggest using the symbolic escape sequences \r and \n, > as that is what they are for. Yes. I didn't know C has constants for that. BTW: You can also define a constant for the string length instead of using integer literals in the code. > I can check your patch, that should be no problem (and > check it in) That would be of great help. Thanks. -- Gruß, Thorsten |