guile-user
[Top][All Lists]
Advanced

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

Re: 1.6.0 problems with libguilereadline-v-12 and fix


From: Thien-Thi Nguyen
Subject: Re: 1.6.0 problems with libguilereadline-v-12 and fix
Date: Thu, 19 Sep 2002 11:52:47 -0700

   From: address@hidden (Paul Jarc)
   Date: Thu, 19 Sep 2002 12:17:36 -0400

   -       prefix=$(prefix); exec_prefix=$(exec_prefix); . GBIFRAG > TMP
   +       prefix=$(prefix); exec_prefix=$(exec_prefix); . ./GBIFRAG > TMP

cool, thanks for the fix.  installed in cvs.

   [...] relocation error: [...] undefined symbol: scm_internal_select

does the appended patch fix this problem?

thi

____________________________
Index: readline.c
===================================================================
RCS file: /home/ttn/cvs/guile-core/guile-readline/readline.c,v
retrieving revision 1.3
diff -w -c -b -c -r1.3 readline.c
*** readline.c  29 Aug 2002 06:14:40 -0000      1.3
--- readline.c  19 Sep 2002 18:48:51 -0000
***************
*** 489,494 ****
--- 489,501 ----
    return -1;
  }
  
+ /* todo: move to libguile.h */
+ #ifdef GUILE_ISELECT
+ # define SCM_SELECT scm_internal_select
+ #else
+ # define SCM_SELECT select
+ #endif
+ 
  static int
  match_paren (int x, int k)
  {
***************
*** 519,525 ****
        if (rl_point > -1)
        {
          rl_redisplay ();
!         scm_internal_select (fno + 1, &readset, NULL, NULL, &timeout);
        }
        rl_point = tmp;
      }
--- 526,532 ----
        if (rl_point > -1)
        {
          rl_redisplay ();
!         SCM_SELECT (fno + 1, &readset, NULL, NULL, &timeout);
        }
        rl_point = tmp;
      }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]