Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-09-25 | Remove unnecessary /* NOTREACHED */ comments because our lint is | Ray Lai | |
cool and recognizes __dead, and because shorter examples are clearer. OK otto@. | |||
2006-09-23 | If fgetln() != NULL, len == 0 is impossible, so remove check. | Ray Lai | |
OK otto@ and jaredy@. | |||
2006-04-18 | Clarify strlcpy code by explicitly naming variable `len' and | Ray Lai | |
separating out each step. Inspired during miscommunication with tedu@. OK deraadt@ | |||
2006-04-14 | Remove str2number(), use strtonum(3) instead. | Ray Lai | |
Fix some type mismatches. Replace magic numbers. Remove superfluous strlen(3) calls. Earlier diff OK kjell@, OK deraadt@ | |||
2006-03-31 | (char)to{upper,lower}() | Theo de Raadt | |
2006-03-31 | oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask); | Theo de Raadt | |
is not valid code; found by lint | |||
2006-03-22 | Pass size of correct variable to memset(). | Ray Lai | |
From Alexey Dobriyan. OK otto@ | |||
2006-01-17 | Include limits.h directly instead of depending on another header | Todd C. Miller | |
to include it for us. | |||
2006-01-17 | Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN | Todd C. Miller | |
2005-12-30 | Currently sys/socket.h needs sys/types.h so add #include <sys/types.h> to | Claudio Jeker | |
the list of necessary includes. Now the manpages match reality. OK mpf@ millert@ | |||
2005-12-22 | handle chroot and res_init calls better. diagnosis assistance from otto. | Ted Unangst | |
ok deraadt otto. | |||
2005-11-15 | Do not clobber errno when calling close(2) in example code. | Otto Moerbeek | |
From form@ via mpech@ | |||
2005-11-13 | save errno in example code. from mpech@ ok jmc@ | Otto Moerbeek | |
2005-11-10 | add $OpenBSD$ tags, as requested by dtucker. | Marc Espie | |
2005-10-02 | `ether_addr' is the name of a structure, not a function: remove its MLINK | Jason McIntyre | |
and remove its entry from the .Nm list; | |||
2005-08-06 | zap rcsid. | Marc Espie | |
split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@ | |||
2005-07-27 | Restore recent changes except for the actual one that causes the problem. | Todd C. Miller | |
2005-07-27 | backout gethostent changes for now -- there is fallout, discovered by otto | Jared Yanovich | |
2005-07-24 | In _gethtent() ignore host.h_length if it is set to 0. Previously | Todd C. Miller | |
we only ignored it if host.h_addrtype was AF_UNSPEC. Set host.h_length to 0 in _gethtbyname2() since that function does not take a length argument. Problem found by jaredy@ | |||
2005-07-23 | *hostent() fixes: | Jared Yanovich | |
- Make _gethtent() static - _gethtbyname() is dead code (succeeded by _gethtbyname2), kill it - _gethtent() requires setting the address family field of the file-scope variable `host' to that of the desired type of the entry being searched for. Change the behavior to enforce this if it is not AF_UNSPEC, which will now allow stepping through entries, and set it to specific values everywhere else. help & ok millert | |||
2005-07-22 | - sync prototypes and header file excerpts | Jared Yanovich | |
- typos/spelling, punctuation, rewording, macro, and layout fixes. help & ok jmc | |||
2005-07-18 | fix spelling mistake (in comment); | Jason McIntyre | |
from ray lai; | |||
2005-07-05 | use "www" as the service name in the example instead of "http" since "www" | David Gwynne | |
is what is used in /etc/services. ok jmc@ henning@ millert@ | |||
2005-06-19 | Remove a check about whether sa->sa_len is equal to salen from | Marc Matteo | |
getnameinfo(3). POSIX doesn't require this and it breaks code that doesn't handle it. "I think this is safe" millert@ | |||
2005-06-17 | remove netns stuff, ok millert | Henning Brauer | |
libc major bump by espie in a few | |||
2005-06-09 | remove references to ns(4); | Jason McIntyre | |
2005-06-08 | Make gethostbyaddr() prototype match POSIX. This means len is now | Todd C. Miller | |
unsigned but there is no ABI change. OK deraadt@ | |||
2005-06-05 | sort sections; | Jason McIntyre | |
2005-06-05 | s/-p1003.1-2003/-p1003.1-2004/g | Jason McIntyre | |
2005-05-02 | be more careful with snprintf. ok millert@ | Moritz Jodeit | |
2005-04-05 | explain where type and class are defined; ok jmc@ | Federico G. Schwindt | |
CVS ---------------------------------------------------------------------- | |||
2005-03-30 | make the resolver stat resolv.conf and update if it changes. | Ted Unangst | |
useful feedback and ok deraadt@ | |||
2005-03-28 | add const | Ted Unangst | |
2005-03-28 | add some const to ether_*. remove bonus prototypes this brought out. | Ted Unangst | |
ok deraadt@ | |||
2005-03-25 | ansify. ok deraadt@ moritz@ | Otto Moerbeek | |
2005-03-12 | There is no need to call freeaddrinfo() in case of an error. | Claudio Jeker | |
getaddrinfo() does that already by itself. OK jmc@ beck@ | |||
2005-03-08 | do not trash errno before using it, do not pass garbage args to getnameinfo | Theo de Raadt | |
ok henning andrushock@korovino.net | |||
2005-03-07 | fd leak; andrushock@korovino.net | Theo de Raadt | |
2005-03-06 | correct snprintf return value checks, where the wrong ptr | Moritz Jodeit | |
was used for calculating the buffer size. ok tedu@ cloder@ | |||
2005-03-02 | Consistent #if protection of rcs ids; Francois Perrad | Todd C. Miller | |
2005-03-02 | More const in h_errlist and h_nerr; Francois Perrad | Todd C. Miller | |
2005-02-25 | Be correct in our man pages when talking about NUL termination (that is, | Chad Loder | |
termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@ | |||
2005-02-19 | fix pasto; from d@ | Todd C. Miller | |
2005-01-29 | correct .Rs references; | Jason McIntyre | |
2005-01-28 | fix reversed short description; ok itojun@ | Damien Miller | |
2005-01-22 | some fixes from netbsd, plus a few of my own; | Jason McIntyre | |
ok krw@ | |||
2005-01-11 | more minor tweaks, ok jmc | Jared Yanovich | |
2005-01-07 | clarify a sentence; | Jason McIntyre | |
from george v. neville-neil, via itojun@ | |||
2005-01-06 | tweaks; | Jason McIntyre | |
2005-01-06 | tweaks; | Jason McIntyre | |