| Age | Commit message (Collapse) | Author |
|
- SHLIBDIR Location to install shared libraries if ${USE_SHLIBDIR}
is "yes". Defaults to "/usr/lib".
- USE_SHLIBDIR If "yes", install shared libraries in ${SHLIBDIR}
instead of ${LIBDIR}. Defaults to "no".
Sets ${_LIBSODIR} to the appropriate value.
This may be set by individual Makefiles as well.
- SHLINKDIR Location of shared linker. Defaults to "/usr/libexec".
If != "/usr/libexec", change the dynamic-linker
encoded in shared programs
* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
libtermcap libutil libz
* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
to ${_LIBSODIR}/${LIB}.so* for compatibility.
* Always install /sbin/init statically (for now)
The net effect of these changes depends on how the variables are set:
1.) If nothing is set or changed, there is no change from the
current behaviour:
- Static /bin, /sbin, and bits of /usr/*
- Dynamic rest
- Shared linker is /usr/libexec/ld*so
2.) If the following make variables are set:
LDSTATIC=
SHLINKDIR=/lib
SHLIBDIR=/lib
Then the behaviour becomes:
- Dynamic tools
- .so libraries used by /bin and /sbin are installed to /lib,
with symlinks from /usr/lib/lib*so to -> /lib/lib*so
where appropriate
- Shared linker is /lib/ld*so
3.) As per 2.), but add the following variable:
USE_SHLIBDIR=yes
This forces all .so's to be instaleld in /lib (with compat
symlinks), not just those tagged by their Makefiles to be.
Again, compat symlinks are installed
|
|
|
|
Do NOT return an error from term_init() if term_set() fails. Otherwise
el_init() barfs and libedit fails to work.
|
|
|
|
Pointed by charles.
|
|
fails. This makes editline work on dumb terminals again. Noted by mycroft.
Oops, too agressive error checking.
|
|
|
|
highlighted to me by way of Mike Barcroft <mike@FreeBSD.org> (thanks!)
|
|
to keep at least one entry on the history list is retained)
This fixes lib/9704 by Phil Nelson.
|
|
function via a new el_set() operation.
Thanks, nicely done :-)
|
|
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
|
|
|
|
|
|
|
|
Ensure that the <readline/history.h> link to <readline/readline.h> is
installed too for 'make includes'. Also, avoid creating obj dir.
This is finally real fix for lib/12929.
XXX Is this right?
|
|
is installed during the 'make includes'.
Fixes lib/12929 by Martin Husemann.
|
|
|
|
occurences of ELRE_DEBUG(foo,bar,) -> ELRE_DEBUG(foo,bar). some compilers
(e.g, gcc on darwin) bitch about the former (`not enough args').
|
|
|
|
[inspired by the openbsd fix to readline]
|
|
|
|
height, not a magic value, so that e.g. el_display[] and el_vdisplay[]
are not bigger than needed.
Discussed with Christos Zoulas.
|
|
|
|
This also addresses lib/9712 by Phil Nelson.
|
|
visual instead of ordinary bell, they should set their environment
appropriately
|
|
|
|
|
|
|
|
|
|
|
|
them there.
readline.h of libedit had to move to subdirectory 'readline', due to the way
BSD makefiles work; this is better than potentially fragile Makefile hacks
|
|
get more memory.
|
|
|
|
return -1 if alloc fails.
|
|
rl_completion_append_character
|
|
This addresses lib/10513 by Giles Lean. Tested with PostgreSQL 7.0.2 psql.
|
|
rl_complete_internal(): only replace the completed string with common part
of possible matches if there is a possible completion
|
|
* pad entries shorter than 'max' by spaces correctly
* fix off-by-one error which caused extra newline to be printed
if the list fit exactly to a screen
* fix typo in _rl_qsort_string_compare, which caused the list to not
be sorted after all
|
|
|
|
|
|
implement displaying of possible completions, add hook to display the list
on second rl_complete() invocation in row (typically, double <TAB>)
This addresses the completion part of lib/11581 by Richard Earnshaw.
|
|
hardcoded value of 4.
A_K_NKEYS is currently 6 and this mismatch was stomping memory when
initializing the keys. (specifically gdb lost the exec file name if it was
a long path name).
|
|
- improve debugging support
|
|
|
|
|
|
- fix a couple of comments
|
|
|
|
- ansi prototypes & features (such as stdargs)
- 8 space indents
|
|
picked up by the ultrix compiler, reported by simonb@ ...
|
|
output being used.
|