My little understanding of C language tells me that " const char" is only read-only. So, why do we change the of "ellipsis" On Jun 18, 2013 10:32 AM, "Shaukat Mahmood Ahmad" <[email protected]> wrote:
> I will not take it as mistake, its better to ask if you have some > confusion instead of making assumptions on your own. > > On Tue, Jun 18, 2013 at 2:23 PM, Laurent Alebarde <[email protected]> > wrote: > > Sorry, I will do penance for my mistake. > > > > Cheers, > > > > > > Laurent. > > > > > > Le 18/06/2013 10:29, Pieter Hintjens a écrit : > > > > Laurent, > > > > I am not an expert, but it looks to me that the room for "..." has not > been > > allocated. If my analysis is correct, a possible correction would be: > > > > There's no bug, the code is correct (the variable name is indeed > > misspelled). > > > > What the C code does is define a pointer to a constant string ("""), > > which it then switches to a different constant string ("...") if it > > wants to print that out, and then it finally uses the pointer in the > > fprintf call. There's no allocation happening. > > > > -Pieter > > _______________________________________________ > > zeromq-dev mailing list > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > > > > > _______________________________________________ > > zeromq-dev mailing list > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
