aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog4
-rw-r--r--lib-src/make-docfile.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 1b6a16dd524..424f3db53a1 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
12010-07-23 Juanma Barranquero <lekktu@gmail.com>
2
3 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
4
12010-07-20 Juanma Barranquero <lekktu@gmail.com> 52010-07-20 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * emacsclient.c (get_current_dir_name, w32_get_resource) 7 * emacsclient.c (get_current_dir_name, w32_get_resource)
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 51c30f91d8f..0b03b5e259d 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -488,7 +488,7 @@ write_c_args (FILE *out, char *func, char *buf, int minargs, int maxargs)
488 488
489 /* In C code, `default' is a reserved word, so we spell it 489 /* In C code, `default' is a reserved word, so we spell it
490 `defalt'; unmangle that here. */ 490 `defalt'; unmangle that here. */
491 if (strncmp (ident_start, "defalt", ident_length) == 0) 491 if (ident_length == 6 && strncmp (ident_start, "defalt", 6) == 0)
492 fprintf (out, "DEFAULT"); 492 fprintf (out, "DEFAULT");
493 else 493 else
494 while (ident_length-- > 0) 494 while (ident_length-- > 0)