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


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/src/editfns.c
Date: Fri, 30 Jul 2004 08:08:41 -0400

Index: emacs/src/editfns.c
diff -c emacs/src/editfns.c:1.376 emacs/src/editfns.c:1.377
*** emacs/src/editfns.c:1.376   Fri Jul  9 23:34:28 2004
--- emacs/src/editfns.c Fri Jul 30 12:05:08 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]