texinfo-commits
[Top][All Lists]
Advanced

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

texinfo update (Fri Jul 30 13:22:01 EDT 2004)


From: Karl Berry
Subject: texinfo update (Fri Jul 30 13:22:01 EDT 2004)
Date: Fri, 30 Jul 2004 13:22:13 -0400

Index: ChangeLog
===================================================================
RCS file: /cvsroot/texinfo/texinfo/ChangeLog,v
retrieving revision 1.364
retrieving revision 1.365
diff -c -r1.364 -r1.365
*** ChangeLog   30 Jul 2004 14:04:18 -0000      1.364
--- ChangeLog   30 Jul 2004 17:17:39 -0000      1.365
***************
*** 1,3 ****
--- 1,8 ----
+ 2004-07-30  Maciej W. Rozycki  <address@hidden>
+ 
+       * info/filesys.c (extract_colon_unit): Clean up handling of the 
+       end of string.
+ 
  2004-07-27  Karl Berry  <address@hidden>
  
        * doc/texinfo.txi (verb): explicitly warn that @verb cannot be
Index: info/filesys.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/info/filesys.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -c -r1.5 -r1.6
*** info/filesys.c      11 Apr 2004 17:56:45 -0000      1.5
--- info/filesys.c      30 Jul 2004 17:17:40 -0000      1.6
***************
*** 1,5 ****
  /* filesys.c -- filesystem specific functions.
!    $Id: filesys.c,v 1.5 2004/04/11 17:56:45 karl Exp $
  
     Copyright (C) 1993, 1997, 1998, 2000, 2002, 2003, 2004 Free Software
     Foundation, Inc.
--- 1,5 ----
  /* filesys.c -- filesystem specific functions.
!    $Id: filesys.c,v 1.6 2004/07/30 17:17:40 karl Exp $
  
     Copyright (C) 1993, 1997, 1998, 2000, 2002, 2003, 2004 Free Software
     Foundation, Inc.
***************
*** 281,293 ****
    if (!string || i >= strlen (string))
      return NULL;
  
    /* Advance to next PATH_SEP.  */
    while (string[i] && string[i] != PATH_SEP[0])
      i++;
  
-   if (!string[i] && i == start) /* end of string, and didn't advance */
-     return NULL;
- 
    {
      char *value = xmalloc ((i - start) + 1);
      strncpy (value, &string[start], (i - start));
--- 281,293 ----
    if (!string || i >= strlen (string))
      return NULL;
  
+   if (!string[i]) /* end of string */
+     return NULL;
+ 
    /* Advance to next PATH_SEP.  */
    while (string[i] && string[i] != PATH_SEP[0])
      i++;
  
    {
      char *value = xmalloc ((i - start) + 1);
      strncpy (value, &string[start], (i - start));
P ChangeLog
P info/filesys.c


reply via email to

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