cvs commit: src/usr.sbin/setfmac setfmac.c

Yar Tikhiy yar at FreeBSD.org
Tue Jan 29 09:50:30 PST 2008


yar         2008-01-29 17:50:29 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/setfmac     setfmac.c 
  Log:
  An average consumer of fts(3) that avoids keeping pointers to old
  FTSENTs and uses only what fts_read() has just returned can rely
  on fts_path being NUL-terminated.  Under these conditions, a plain
  vanilla "%s" format can be safely used to printf an fts_path.
  
  OK'ed by:       rwatson
  
  Revision  Changes    Path
  1.11      +7 -13     src/usr.sbin/setfmac/setfmac.c


More information about the cvs-all mailing list