cvs commit: src/lib/libc/stdio vfwscanf.c

Tim J. Robbins tjr at FreeBSD.org
Fri Jul 4 20:39:24 PDT 2003


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


More information about the cvs-src mailing list