Displaying 1 result from an estimated 1 matches for "rl_vcpfunc_t".
2002 Oct 15
1
Core dump with a 64-bit system (PR#2165)
...The reason is a bug in pushReadline: the first call pushes the function below
the stack. The following patch solves the problem:
--- R-1.6.0/src/unix/sys-std.c~ Sun Aug 25 12:51:20 2002
+++ R-1.6.0/src/unix/sys-std.c Tue Oct 15 14:43:00 2002
@@ -389,10 +389,10 @@
void
pushReadline(char *prompt, rl_vcpfunc_t f)
{
- if(ReadlineStack.current >= ReadlineStack.max) {
+ if(ReadlineStack.current >= ReadlineStack.max - 1) {
warning("An unusual circumstance has arisen in the nesting of readline
input. Please report using bug.report()");
} else
- ReadlineStack.fun[ReadlineStac...