* xvasprintf.h: Fix comments.
authorEric Blake <ebb9@byu.net>
Wed, 28 Jun 2006 14:00:22 +0000 (14:00 +0000)
committerEric Blake <ebb9@byu.net>
Wed, 28 Jun 2006 14:00:22 +0000 (14:00 +0000)
lib/ChangeLog
lib/xvasprintf.h

index 5f0a9d7f12fb6443c94edeb1c7a632f5407f173e..c2c012a697a51a5920a46b8813f4e5bbf40aa64c 100644 (file)
@@ -1,3 +1,7 @@
+2006-06-28  Eric Blake  <ebb9@byu.net>
+
+       * xvasprintf.h: Fix comments.
+
 2006-06-28  Eric Blake  <ebb9@byu.net>
 
        * mbchar.h (wcwidth): Include wcwidth.h.
index 91cf54ec193caf8ab4fd47d91199d888eda2beb1..8777f1374a5b06206bbdadaa6ba1b20137c8e691 100644 (file)
@@ -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 @@ extern "C" {
 #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,