Displaying 11 results from an estimated 11 matches for "rl_callback_handler_install".
2000 Jul 11
1
Help: R seg faults
..._IO_fflush (fp=0x819ecd8) at iofflush.c:41
41 result = _IO_SYNC (fp) ? EOF : 0;
(gdb) bt
#0 0x400da7bc in _IO_fflush (fp=0x819ecd8) at iofflush.c:41
#1 0x8122165 in rl_prep_terminal (meta_flag=0) at rltty.c:555
#2 0x811cb08 in _rl_callback_newline () at callback.c:76
#3 0x811cb4a in rl_callback_handler_install (prompt=0x4093c210 "> ", linefunc=0x80e8798 <readline_handler>) at callback.c:95
#4 0x80e89b5 in Rstd_ReadConsole (prompt=0x4093c210 "> ", buf=0xbfffeedc "", len=1024, addtohistory=1) at ../../../R-1.1.0/src/unix/sys-std.c:357
#5 0x80e6b2e in R_ReadConsol...
2002 Oct 15
1
Core dump with a 64-bit system (PR#2165)
...ack.current >= ReadlineStack.max - 1) {
warning("An unusual circumstance has arisen in the nesting of readline
input. Please report using bug.report()");
} else
- ReadlineStack.fun[ReadlineStack.current++] = f;
+ ReadlineStack.fun[++ReadlineStack.current] = f;
rl_callback_handler_install(prompt, f);
}
In a 32-bit system the first call overwrites only ReadlineStack.max and this is
probably never noticed. In a 64-bit system the results are more interesting :-)
Kai
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -...
2019 Apr 18
1
R prompt updates are not validated
I was trying to get an interactive R prompt with the current working directory. I reviewed R source 'main.c' and 'options.c', and saw that a 20 char buffer is used when in Browse debugging mode, but that no other validation is done on the length of the prompt option.
This hangs R, or takes extremely long to return:
# R --vanilla
big <- paste(sample(LETTERS, size = 1e7, replace
2001 Nov 07
1
Configuring 2.2.2 (or 2.0.7) on Digital Unix 4.0f fails - "No locking"
...ne.h... no
checking for history.h... no
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for readline.h... (cached) no
checking for readline/readline.h... (cached) yes
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... yes
checking for rl_callback_handler_install in -lreadline... yes
checking for connect... yes
checking for yp_get_default_domain... yes
checking for execl... yes
checking for waitpid... yes
checking for getcwd... yes
checking for strdup... yes
checking for strtoul... yes
checking for strerror... yes
checking for chown... yes
checking for fcho...
2002 Oct 21
1
compilation probs...
...hecking for readline.h... (cached) no
checking for readline/readline.h... (cached) yes
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lterminfo... no
checking for tgetent in -ltermlib... no
checking for rl_callback_handler_install in -lreadline... no
checking for connect... no
checking for connect in -lsocket... no
checking for connect in -linet... no
checking for yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... no
checking for execl... no
checking for dlopen... (cached) no
checking for dlclose... n...
2001 Jan 26
10
Please Help
I've downloaded the binary Samba 2.0.7 for AIX. I have no idea how to install this critter. Can anyone walk me thru this step by step? I think once i have
it running, I'll be able to configure it based on the info at samba.org. It's just getting it running that troubles me. I have some experience with *nix, but
not with compliling (sorry, no C compliler on system) and installing
2004 Jan 15
2
Installation Problem !!!
...or readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for readline.h... (cached) no
checking for readline/readline.h... (cached) yes
checking for tgetent in -lncurses... yes
checking for rl_callback_handler_install in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes
checking for connect... yes
checking for library containing yp_get_default_domain... -lnsl
checking for yp_get_default_domain... yes
checking for execl... yes
checking for dlopen... yes
checking for dlclose... yes
checking...
2003 Jan 28
1
can't create user entries in smbpasswd
...no
checking for readline/readline.h... (cached) yes
checking for readline/history.h... (cached) yes
checking for readline.h... (cached) no
checking for readline/readline.h... (cached) yes
checking for tgetent in -lncurses... (cached) no
checking for tgetent in -lcurses... (cached) yes
checking for rl_callback_handler_install in -lreadline... (cached) yes
checking for connect... (cached) no
checking for printf in -lnsl_s... (cached) no
checking for printf in -lnsl... (cached) yes
checking for connect in -lsocket... (cached) yes
checking for connect in -linet... (cached) no
checking for yp_get_default_domain... (cached)...
2013 Jan 07
4
3.6.10 file handle leak under ancient 32-bit kernel
...or readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for readline.h... (cached) no
checking for readline/readline.h... (cached) yes
checking for tgetent in -lncurses... yes
checking for rl_callback_handler_install in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes
checking whether rl_event_hook is declared... no
checking for history_list in -lreadline... yes
checking for library containing yp_get_default_domain... -lnsl
checking for yp_get_default_domain... yes
checking for execl......
2003 Apr 20
1
log of build of 2.2.8a on Solaris9 using SUN's studio7 cc.
...-fast -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c -lncurses -ldl 1>&5
configure:4637: checking for rl_callback_handler_install in -lreadline
configure:4656: /opt/SUNWspro/bin/cc -o conftest -O -fast -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib co...
2010 May 02
2
samba4 make error - drsblobs.so
...or readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for readline.h... (cached) no
checking for readline/readline.h... (cached) yes
checking for tgetent in -lncurses... yes
checking for rl_callback_handler_install in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes
checking whether rl_event_hook is declared... yes
checking for history_list in -lreadline... yes
checking whether to use extern readline... yes
checking Whether to use external heimdal libraries... no
checking for u_char.....