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

cvs commit: src/bin/hostname hostname.c


From: "Liam J. Foy" <liamfoy@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Mar 2005 08:59:31 -0800 (PST)

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



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