Re: Bug in g_strjoin



As Kenneth Albanowski said:
> 
> Unless I'm missing something, you have not provided a NULL terminator when
> you are invoking g_strjoin. The compiler is under no guarantee of
> providing an explicit NULL terminator, and this cannot be relied on. If
> you look at the definition of the exec* functions, you'll see the
> requirement for NULL. (printf and family doesn't need one because the
> formatting string governs how many arguments are used.)

Oops. I was not aware of that NULL terminator. Yes, that should fix
everything. thanks,

--gilbert

-- 
Gilbert Ramirez                Voice:  +1 210 358 4032
Technical Services             Fax:    +1 210 358 1122
University Health System       San Antonio, Texas, USA



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]