Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2001 10:39:37 -0700 (PDT)
From:      Mike Barcroft <mike@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/whois whois.c
Message-ID:  <200110121739.f9CHdbo30334@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mike        2001/10/12 10:39:37 PDT

  Modified files:
    usr.bin/whois        whois.c 
  Log:
  o Treat a buffer as a non-NUL terminated string, because the whois
    server may not return a new line character on the final line.
  o Remove the whois.networksolutions.com fallback code, which is no
    longer needed.
  o Instead of determining a hostname by terminating it when we see
    whitespace, only allow hostname characters and terminate the string
    when it's not such a character.
  o Add a small optimization in a for loop.
  
  PR:		30968
  Reviewed by:	-audit
  MFC after:	4 days
  
  Revision  Changes    Path
  1.25      +25 -35    src/usr.bin/whois/whois.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110121739.f9CHdbo30334>