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
The following reply was made to PR lib/44888; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc:
Subject: Re: lib/44888: [patch] libedit read.c: fix logic
Date: Wed, 20 Apr 2011 18:52:33 -0400
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