Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 11/13/1997 04:50:02
thorpej
Wed Nov 12 20:43:07 PST 1997
Update of /cvsroot/src/lib/libedit
In directory netbsd1:/var/slash-tmp/cvs-serv15017
Modified Files:
Makefile
Log Message:
Build readline.o into debugging versions of libedit, too.
thorpej
Wed Nov 12 20:48:50 PST 1997
Update of /cvsroot/src/lib/libedit
In directory netbsd1:/var/slash-tmp/cvs-serv15346
Modified Files:
term.c term.h
Log Message:
Un-"protect" term_beep() and rename it to __term_beep() to keep it out
of the user's namespace. We need to do this because the readline
emulation functions call term_beep(), but readline isn't built using
the same (funky) namespace-protection method as the rest of libedit (it's
included like a normal library object).
Without this (fairly disgusting) hack, any program linked against
libedit will fail to link with an unresolved reference to term_beep()
if using an Elf toolchain (e.g. on the Alpha).
XXX Why this doesn't happen with NetBSD's a.out toolchain is a mystery
XXX to me, and I'm not sure I really want to know (given that a.out
XXX _should_ break the same way as Elf does in this case).