# HG changeset patch # User Eric Blake # Date 1151503222 0 # Node ID 68974d0e8a8d5a19ceccc72b965674226a5be076 # Parent 9ae5979172e88ad0ed5ca478caf297390e7e4c56 * xvasprintf.h: Fix comments. diff --git a/lib/ChangeLog b/lib/ChangeLog --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-06-28 Eric Blake + + * xvasprintf.h: Fix comments. + 2006-06-28 Eric Blake * mbchar.h (wcwidth): Include wcwidth.h. diff --git a/lib/xvasprintf.h b/lib/xvasprintf.h --- a/lib/xvasprintf.h +++ b/lib/xvasprintf.h @@ -1,5 +1,5 @@ /* vasprintf and asprintf with out-of-memory checking. - Copyright (C) 2002-2004 Free Software Foundation, Inc. + Copyright (C) 2002-2004, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,9 +39,7 @@ #endif /* Write formatted output to a string dynamically allocated with malloc(). - If the memory allocation succeeds, store the address of the string in - *RESULT and return the number of resulting bytes, excluding the trailing - NUL. Upon [ENOMEM] memory allocation error, call xalloc_die. + Upon [ENOMEM] memory allocation error, call xalloc_die. On some other error - [EOVERFLOW] resulting string length is > INT_MAX, - [EINVAL] invalid format string,