Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2003 03:05:55 -0800 (PST)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdio fgetwc.c fputwc.c ungetwc.c
Message-ID:  <200311041105.hA4B5tCb003874@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2003/11/04 03:05:55 PST

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       fgetwc.c fputwc.c ungetwc.c 
  Log:
  Pass mbrtowc() and wcrtomb() NULL instead of a pointer to a freshly zeroed
  mbstate_t object that they ignore. The zeroing is fairly expensive, and it
  will never be necessary in these functions; when we support state-dependent
  encodings, we will pass in a pointer to the file's mbstate_t object, and
  only zero it at the time the file gets opened.
  
  Revision  Changes    Path
  1.7       +1 -3      src/lib/libc/stdio/fgetwc.c
  1.7       +1 -3      src/lib/libc/stdio/fputwc.c
  1.6       +1 -3      src/lib/libc/stdio/ungetwc.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311041105.hA4B5tCb003874>