NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/44888: [patch] libedit read.c: fix logic



On Apr 20, 10:45pm, lwindschuh%gmail.com@localhost 
(lwindschuh%gmail.com@localhost) wrote:
-- Subject: lib/44888: [patch] libedit read.c: fix logic

| It is strange to me that ma->level is not permanently incremented, only in 
the edge case where strdup returns NULL (which happens in my case).

It is permanently increament when strdup does not return NULL. In the error
case where strdup returns NULL it is decremented. Perhaps something else
is going on?

christos


Home | Main Index | Thread Index | Old Index