cvs commit: src/bin/hostname hostname.c

Liam J. Foy liamfoy at crater.dragonflybsd.org
Mon Mar 21 08:59:58 PST 2005


liamfoy     2005/03/21 08:59:31 PST

DragonFly src repository

  Modified files:
    bin/hostname         hostname.c 
  Log:
  - sysctl(3), sethostname(3) and malloc(3) set errno, use it!
  - Don't bother duplicating strings, just use optarg
  - Use herror(3) when reporting an error for gethostbyaddr(3)
  - Remove unnecessary header
  
  Revision  Changes    Path
  1.13      +8 -11     src/bin/hostname/hostname.c


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





More information about the Commits mailing list