Re: [PATCH] NTFS error messages: replace static char pointers by static char arrays

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ahmed S. Darwish
Date: Tuesday, October 9, 2007 - 5:40 am

On Tue, Oct 09, 2007 at 01:55:42AM +0400, Dmitri Vorobiev wrote:

Hi Dmitri,

Isn't the only difference between char *c = "msg" and char c[] = "msg" is 
that the first is a non-const pointer to a const char array while the second 
is a modifiable char array ?

If so, what's the point of the patch ?

Thanks,

-- 
Ahmed S. Darwish
HomePage: http://darwish.07.googlepages.com
Blog: http://darwish-07.blogspot.com
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] NTFS error messages: replace static char point ..., Ahmed S. Darwish, (Tue Oct 9, 5:40 am)
Re: [PATCH] NTFS error messages: replace static char point ..., Philipp Matthias Hahn, (Tue Oct 9, 11:33 am)
Re: [PATCH] NTFS error messages: replace static char point ..., Folkert van Heusden, (Sat Oct 13, 3:00 pm)