Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2003 20:39:23 -0700 (PDT)
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 vfwscanf.c
Message-ID:  <200307050339.h653dNGW012503@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2003/07/04 20:39:23 PDT

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       vfwscanf.c 
  Log:
  Fix two incorrect uses of sizeof: we need to divide the size of the buffer
  by sizeof(wchar_t) to get the number of wide characters it contains.
  Remove the !hardway micro-optimisation from the CT_INT case to avoid
  having to fix it for wide characters.
  
  Revision  Changes    Path
  1.6       +6 -11     src/lib/libc/stdio/vfwscanf.c



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