[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/makeinfo files.c,1.10,1.11
From: |
dirt |
Subject: |
texinfo/makeinfo files.c,1.10,1.11 |
Date: |
Sat, 31 Jan 2004 14:46:17 +0100 |
Update of /cvsroot/texinfo/texinfo/makeinfo
In directory sheep:/tmp/cvs-serv31256/makeinfo
Modified Files:
files.c
Log Message:
2004-01-31 Alper Ersoy <address@hidden>
* makeinfo/files.c (pop_path_from_include_path): do not mock with
include_files_path address directly, as it confuses realloc.
Index: files.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/files.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** files.c 31 Jan 2004 12:50:07 -0000 1.10
--- files.c 31 Jan 2004 13:46:15 -0000 1.11
***************
*** 175,178 ****
--- 175,179 ----
{
int i;
+ char *tmp;
if (include_files_path)
***************
*** 181,185 ****
/* Advance include_files_path to the next char from ':' */
! include_files_path += i+1;
}
--- 182,190 ----
/* Advance include_files_path to the next char from ':' */
! tmp = (char *) xmalloc (strlen (include_files_path) - i);
! strcpy (tmp, (char *) include_files_path + i + 1);
!
! free (include_files_path);
! include_files_path = tmp;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/makeinfo files.c,1.10,1.11,
dirt <=