[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU M4 source repository branch, master, updated. cvs-readonly-350
From: |
Gary V. Vaughan |
Subject: |
[SCM] GNU M4 source repository branch, master, updated. cvs-readonly-350-gd33357e |
Date: |
Fri, 12 Dec 2014 12:57:50 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU M4 source repository".
http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=d33357e20db8e95e75042ecd02afca8ec5cc3fd7
The branch, master has been updated
via d33357e20db8e95e75042ecd02afca8ec5cc3fd7 (commit)
from bef10ccba44e1689551324d68926444fce39b455 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d33357e20db8e95e75042ecd02afca8ec5cc3fd7
Author: Gary V. Vaughan <address@hidden>
Date: Fri Dec 12 12:56:12 2014 +0000
libm4: spell TRUNCATE_FILENAME consistently.
* m4/path.c (m4_path_search): s/FILE_TRUNCATE/TRUNCATE_FILENAME/
to match definition.
Reported by KO Myung-Hun
Signed-off-by: Gary V. Vaughan <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
m4/path.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/m4/path.c b/m4/path.c
index e2816cf..ef743a3 100644
--- a/m4/path.c
+++ b/m4/path.c
@@ -225,7 +225,7 @@ m4_path_search (m4 *context, const char *filename, const
char **suffixes)
/* Try appending each of the suffixes we were given. */
filepath = strncpy (xmalloc (mem + max_suffix_len +1), filename, mem +1);
-#if FILE_TRUNCATE
+#if TRUNCATE_FILENAME
filepath = path_truncate (filepath);
mem = strlen (filepath); /* recalculate length after truncation */
#endif
@@ -271,7 +271,7 @@ m4_path_search (m4 *context, const char *filename, const
char **suffixes)
filepath = strncpy (xmalloc (mem + max_suffix_len +1), pathname, mem +1);
free (pathname);
-#if FILE_TRUNCATE
+#if TRUNCATE_FILENAME
filepath = path_truncate (filepath);
mem = strlen (filepath); /* recalculate length after truncation */
#endif
hooks/post-receive
--
GNU M4 source repository
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU M4 source repository branch, master, updated. cvs-readonly-350-gd33357e,
Gary V. Vaughan <=