# HG changeset patch # User Kim F. Storm # Date 1087854652 0 # Node ID 35041a1ac835b4a1b0f1714d94d632602ce98842 # Parent b0e1da52434f7399ca79bfe7ec62496e21183eae *** empty log message *** diff -r b0e1da52434f -r 35041a1ac835 src/ChangeLog --- a/src/ChangeLog Mon Jun 21 19:52:30 2004 +0000 +++ b/src/ChangeLog Mon Jun 21 21:50:52 2004 +0000 @@ -1,3 +1,32 @@ +2004-06-21 Kim F. Storm + + * lisp.h (MAX_ALLOCA): Define here. + (safe_alloca_unwind): Add prototype. + (USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE): New macros. + + * alloc.c (safe_alloca_unwind): New function. + + * casefiddle.c (casify_object): Use SAFE_ALLOCA. + + * charset.c (Fstring): Use SAFE_ALLOCA. + + * coding.c (MAX_ALLOCA): Remove define. + + * data.c (MAX_ALLOCA): Remove define. + (Faset): Use SAFE_ALLOCA. + + * editfns.c (Fformat, Ftranspose_regions): Use SAFE_ALLOCA. + + * fns.c (string_make_multibyte, string_to_multibyte) + (string_make_unibyte, Fmapconcat, Fmapcar): Use SAFE_ALLOCA. + (MAX_ALLOCA): Remove define. + (Fbase64_encode_region, Fbase64_encode_string) + (Fbase64_decode_region, Fbase64_decode_string): Use SAFE_ALLOCA. + (Fbase64_encode_region, Fbase64_encode_string): Fix potential + memory leak if encoding fails. + + * xdisp.c (add_to_log): Use SAFE_ALLOCA. + 2004-06-21 Eli Zaretskii * print.c (Fwith_output_to_temp_buffer): Doc fix.