bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] Binary backward-incompatibility


From: Daniel Macks
Subject: [Bug-readline] Binary backward-incompatibility
Date: Sun, 23 Sep 2007 16:50:40 -0400
User-agent: Mutt/1.4.2.1i

While upgrading from readline-5.0 to readline-5.2 on my OS X 10.3
machine, I see what appears to be a binary incompatibility: readline.h
has changed the value of the RL_STATE_DONE. Actually it appears the
change occurred in the 5.0 -> 5.1 version. Whereas all other
long-existing RL_STATE_* tokens were given a "0" high-nybble,
RL_STATE_DONE has that "0" inserted at a lower position, and the value
formerly known as RL_STATE_DONE got recycled as RL_STATE_CALLBACK.
Seems like Bad Things could happen for a binary compiled against rl5.0
if the rl binary is upgraded to 5.2.

dan

-- 
Daniel Macks
address@hidden
http://www.netspace.org/~dmacks





reply via email to

[Prev in Thread] Current Thread [Next in Thread]