Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/iconv fix rev.1.13



details:   https://anonhg.NetBSD.org/src/rev/9c3d86ee9d14
branches:  trunk
changeset: 785386:9c3d86ee9d14
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon Mar 11 10:44:43 2013 +0000

description:
fix rev.1.13

diffstat:

 lib/libc/iconv/iconv.3 |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 8a0e04cc49d9 -r 9c3d86ee9d14 lib/libc/iconv/iconv.3
--- a/lib/libc/iconv/iconv.3    Mon Mar 11 09:35:38 2013 +0000
+++ b/lib/libc/iconv/iconv.3    Mon Mar 11 10:44:43 2013 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: iconv.3,v 1.18 2013/01/08 19:55:43 wiz Exp $
+.\" $NetBSD: iconv.3,v 1.19 2013/03/11 10:44:43 yamt Exp $
 .\"
 .\" Copyright (c)2003 Citrus Project,
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd January 8, 2013
+.Dd March 11, 2013
 .Dt ICONV 3
 .Os
 .\" ----------------------------------------------------------------------
@@ -118,11 +118,15 @@
 returns the number of such
 .Dq invalid conversions .
 .Pp
-If the source and/or destination codesets are stateful,
+If
+.Fa src
+or
+.Fa *src
+is
+.Dv NULL
+and the source and/or destination codesets are stateful,
 .Fn iconv
 places these into their initial state.
-There are two special cases of
-.Fn iconv :
 .Bl -enum -offset indent
 .It
 If both



Home | Main Index | Thread Index | Old Index