DragonFly BSD
DragonFly commits List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/bin/hostname hostname.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 4 Jul 2004 22:34:44 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]