[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [PATCH] Re: propedit on svn:mime-type

From: Sander Striker <striker_at_apache.org>
Date: 2003-03-10 18:12:59 CET

> From: Rafael Garcia-Suarez [mailto:raphel.garcia-suarez@hexaflux.com]
> Sent: Monday, March 10, 2003 6:10 PM

>> No, the type of a string literal is a character array, not a character
>> pointer. So writing "\n" is semantically equivalent to writing
>>
>> (char[]){ '\n', '\0' }
>>
>> if such a thing could be done in C.
>
> Duh, thanks for correcting me. I'm not familiar with the C standards ;
> I wonder if this idiom is reasonably portable across compilers.

It is.

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 10 18:13:41 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.