aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 84703fcdc2f..af0fc3a8e38 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,37 @@
12012-07-10 Paul Eggert <eggert@cs.ucla.edu>
2
3 Simplify by avoiding confusing use of strncpy etc.
4 * doc.c (Fsnarf_documentation):
5 * fileio.c (Ffile_name_directory, Fsubstitute_in_file_name):
6 * frame.c (Fmake_terminal_frame):
7 * gtkutil.c (get_utf8_string):
8 * lread.c (openp):
9 * nsmenu.m (ns_update_menubar):
10 * regex.c (regerror):
11 Prefer memcpy to strncpy and strncat when either will do.
12 * fileio.c (Fsubstitute_in_file_name):
13 * keyboard.c (MULTI_LETTER_MOD, parse_modifiers_uncached)
14 (menu_separator_name_p):
15 * nsmenu.m (ns_update_menubar):
16 Prefer memcmp to strncmp when either will do.
17 * nsterm.m: Include <ftoastr.h>.
18 (ns_get_color):
19 * s/gnu-linux.h, s/sol2-6.h, s/unixware.h (PTY_TTY_NAME_SPRINTF):
20 Prefer snprintf to strncpy.
21 * nsterm.m (ns_term_init):
22 * widget.c (set_frame_size) [0]: Prefer xstrdup to xmalloc + strncpy.
23 * nsterm.m (ns_term_init):
24 Avoid the need for strncpy, by using build_string or
25 make_unibyte_string directly. Use dtoastr, not snprintf.
26 * process.c (Fmake_network_process): Diagnose service names that
27 are too long, rather than silently truncating them or creating
28 non-null-terminated names.
29 (Fnetwork_interface_info): Likewise, for interface names.
30 * sysdep.c (system_process_attributes) [GNU_LINUX]:
31 Prefer sprintf to strncat.
32 * xdisp.c (debug_method_add) [GLYPH_DEBUG]:
33 Prefer vsnprintf to vsprintf + strncpy.
34
12012-07-10 Glenn Morris <rgm@gnu.org> 352012-07-10 Glenn Morris <rgm@gnu.org>
2 36
3 * dispnew.c (PENDING_OUTPUT_COUNT) [!__GNU_LIBRARY__]: 37 * dispnew.c (PENDING_OUTPUT_COUNT) [!__GNU_LIBRARY__]: