This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v5] C++ify gdb/common/environ.c


On 06/19/2017 05:19 AM, Sergio Durigan Junior wrote:

> I
> think it also makes a lot more sense to always initialize the vector
> with a NULL element, because this means we're correctly dealing with the
> case where there's no environment variable to be passed to the inferior.

This sentence confuses me, because I don't understand what you mean
by "correctly" here.  What was incorrect?

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]