emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/editfns.c [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/editfns.c [lexbind]
Date: Sat, 04 Sep 2004 05:46:57 -0400

Index: emacs/src/editfns.c
diff -c emacs/src/editfns.c:1.330.2.12 emacs/src/editfns.c:1.330.2.13
*** emacs/src/editfns.c:1.330.2.12      Sat Jul 17 02:49:49 2004
--- emacs/src/editfns.c Sat Sep  4 09:19:27 2004
***************
*** 3254,3259 ****
--- 3254,3260 ----
        /* Piggyback on this loop to initialize precision[N]. */
        precision[n] = -1;
      }
+   precision[nargs] = -1;
  
    CHECK_STRING (args[0]);
    /* We may have to change "%S" to "%s". */
***************
*** 3277,3287 ****
  
    /* Allocate the info and discarded tables.  */
    {
!     int nbytes = nargs * sizeof *info;
      int i;
      info = (struct info *) alloca (nbytes);
      bzero (info, nbytes);
!     for (i = 0; i < nargs; i++)
        info[i].start = -1;
      discarded = (char *) alloca (SBYTES (args[0]));
      bzero (discarded, SBYTES (args[0]));
--- 3278,3288 ----
  
    /* Allocate the info and discarded tables.  */
    {
!     int nbytes = (nargs+1) * sizeof *info;
      int i;
      info = (struct info *) alloca (nbytes);
      bzero (info, nbytes);
!     for (i = 0; i <= nargs; i++)
        info[i].start = -1;
      discarded = (char *) alloca (SBYTES (args[0]));
      bzero (discarded, SBYTES (args[0]));




reply via email to

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