From ca938790c12fac9816fc9cb61ef2c79f1589c791 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Sun, 22 Nov 2009 16:58:53 +0000 Subject: [PATCH] merge from gcc --- libiberty/ChangeLog | 4 ++++ libiberty/dyn-string.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index fbc03fe..4d16be4 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2009-11-22 Steve Ward + + * dyn-string.c (dyn_string_append_char): Fix typo in comment. + 2009-11-20 Ben Elliston * pex-unix.c (pex_child_error): Define writeerr macro to avoid diff --git a/libiberty/dyn-string.c b/libiberty/dyn-string.c index 9de50ed..faa8d94 100644 --- a/libiberty/dyn-string.c +++ b/libiberty/dyn-string.c @@ -336,7 +336,7 @@ dyn_string_append_cstr (dyn_string_t dest, const char *s) return 1; } -/* Appends C to the end of DEST. Returns 1 on success. On failiure, +/* Appends C to the end of DEST. Returns 1 on success. On failure, if RETURN_ON_ALLOCATION_FAILURE, deletes DEST and returns 0. */ int -- 2.7.4