cvs commit: src/bin/hostname hostname.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jul 4 22:35:38 PDT 2004


dillon      2004/07/04 22:34:44 PDT

DragonFly src repository

  Modified files:
    bin/hostname         hostname.c 
  Log:
  Fix a bug in the -i code where an existing interface might not be located.
  sdl_data is not nul terminated, sdl_nlen must be checked and strncmp used
  rather then strcmp.
  
  Revision  Changes    Path
  1.9       +9 -5      src/bin/hostname/hostname.c


http://www.dragonflybsd.org/cvsweb/src/bin/hostname/hostname.c.diff?r1=1.8&r2=1.9&f=u





More information about the Commits mailing list