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: FW: [PATCH] jv-lang, guard against NULL


On Thu, Aug 02, 2007 at 02:30:01PM -0700, Michael Snyder wrote:
> Good idea -- except, can we really be sure that name can
> never legitimately be null?  Oh, yeah, I guess the unprotected
> strrchr sort of tells us that, doesn't it?
> 
> OK, how about this?

I've no complaint.  I don't think this sort of assert adds much value,
though.

-- 
Daniel Jacobowitz
CodeSourcery


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