[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
xvasprintf typo fix
From: |
Eric Blake |
Subject: |
xvasprintf typo fix |
Date: |
Wed, 28 Jun 2006 13:59:58 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
I noticed a copy-n-paste error from vasprintf.h, so I installed this trivial
fix:
2006-06-28 Eric Blake <address@hidden>
* xvasprintf.h: Fix comments.
Index: lib/xvasprintf.h
===================================================================
RCS file: /sources/gnulib/gnulib/lib/xvasprintf.h,v
retrieving revision 1.2
diff -u -r1.2 xvasprintf.h
--- lib/xvasprintf.h 14 May 2005 06:03:58 -0000 1.2
+++ lib/xvasprintf.h 28 Jun 2006 13:55:32 -0000
@@ -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,
- xvasprintf typo fix,
Eric Blake <=