Source-Changes archive

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

NetBSD master CVS tree commits



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).




Home | Main Index | Thread Index | Old Index