search for: add_history

Displaying 4 results from an estimated 4 matches for "add_history".

2002 Jul 10
0
history patch (was Re: portable snprintf implementation)
...dentical lines are only entered once. *** src/unix/sys-std.c.orig Sat Jun 29 19:16:31 2002 --- src/unix/sys-std.c Wed Jul 10 16:23:59 2002 *************** *** 324,331 **** return; if (line[0]) { # ifdef HAVE_READLINE_HISTORY_H ! if (strlen(line) && readline_addtohistory) ! add_history(line); # endif l = (((readline_len-2) > strlen(line))? strlen(line): (readline_len-2)); --- 324,353 ---- return; if (line[0]) { # ifdef HAVE_READLINE_HISTORY_H ! if (strlen(line) && readline_addtohistory){ ! static char called=0; ! /* RJVB: Only add lines th...
2002 Jul 01
3
patch: readline support for sftp
...ltermcap $SFTPLIB") + ]) + ]) + + PRESERVE_LIBS="$LIBS" + LIBS="$LIBS $SFTPLIB" + AC_MSG_CHECKING([for readline support]) + AC_TRY_RUN( + [ +#include <stdio.h> +#include <readline/readline.h> +#include <readline/history.h> +int main() { add_history(rl_library_version); return 0; } + ], + [AC_MSG_RESULT(yes) + READLINE="yes" + ], + [ + AC_MSG_RESULT(no) + AC_MSG_ERROR([** Failed to compile small readline program]) + ])...
2011 Sep 23
2
cbind() crashes on raw vectors
...2.13.1/bin/exec/R: malloc(): memory corruption: 0x0000000002d73ca0 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x79d7a)[0x7f3592b91d7a] /lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x6e)[0x7f3592b9431e] /lib/libreadline.so.5(xmalloc+0x6)[0x7f3592620ab6] /lib/libreadline.so.5(add_history+0xbe)[0x7f359262136e] /home/hpages/R-2.13.1/lib/libR.so(+0x1b6538)[0x7f35936bd538] /lib/libreadline.so.5(rl_callback_read_char+0x8c)[0x7f359261cb1c] /home/hpages/R-2.13.1/lib/libR.so(+0x1b6f74)[0x7f35936bdf74] /home/hpages/R-2.13.1/lib/libR.so(Rf_ReplIteration+0xe7)[0x7f3593610eb7] /home/hpages/R-2...
1999 Jul 01
1
SAMBA digest 2150
...t ); /* We read the line > here */ > > > > if ( !temp ) > > break; /* EOF occured */ > > > > if ( *temp ) /* If non-empty line, save to > history */ > > add_history (temp); > > > > strncpy( line, temp, 1023 ); /* Maximum size of > (pstring)line. Null is guarranteed. */ > > #else > 1778a1828 > > #endif > 2123a2174,2177 > > #ifdef HAVE_LIBREADLINE > > /* Allow conditional parsing of the ~/.inputrc...