cvs commit: src/usr.bin/printf printf.c

Stefan Farfeleder stefanf at FreeBSD.org
Wed Apr 20 01:03:59 PDT 2005


stefanf     2005-04-20 08:03:58 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    usr.bin/printf       printf.c 
  Log:
  MFC rev. 1.31 and 1.32:
  Replace buggy for-loops to skip certain character with strspn().  If *fmt was
  '\0' (eg in the invocation 'printf %'), the for-loop would miss the terminating
  null character.
  
  Assign 0.0 to the variable passed to getfloating() if the argument is missing.
  
  Revision  Changes    Path
  1.28.2.1  +6 -4      src/usr.bin/printf/printf.c


More information about the cvs-src mailing list