Commit graph

65 commits

Author SHA1 Message Date
joerg
62b3753060 Don't use warnx, fprintf(stderr, ...) is good enough. Rename logname to
login_name to avoid shadowing a global variable.
2008-02-07 17:47:12 +00:00
joerg
ae18f14e95 Conditionally use IP_PORTRANGE sockopt and avoid using ss_len when other
operations already provided the value.
2008-02-07 17:42:14 +00:00
joerg
c893ace4e9 Kill more __unused. 2008-02-07 17:27:40 +00:00
joerg
3e2c8c39a9 Expand __func__. 2008-02-07 17:23:37 +00:00
joerg
48690f3324 Conditionalize sin_len assignment. 2008-02-07 17:20:50 +00:00
joerg
986863ab93 Replace u_char, u_short, u_long, u_int32_t with the unabbrivated version
or the POSIX type.
2008-02-07 17:19:50 +00:00
joerg
52d90533d8 Always compile for large file support. 2008-02-07 17:16:05 +00:00
joerg
7bc6b51917 Don't use __unused. 2008-02-07 17:12:12 +00:00
joerg
182d2d8055 Include sys/types.h to get time_t. 2008-02-07 17:10:35 +00:00
joerg
ed6c2007e4 Don't use __BEGIN_DECL/__END_DECL, just inline them. Ensure that
the external variables are covered as well. Directly include stdio.h.
2008-02-07 16:34:52 +00:00
joerg
208c8a0cb6 Don't shadow wait(2). 2008-02-07 16:30:49 +00:00
joerg
037ab467ac EAUTH and ENEEDAUTH might not exist, so use them conditionally.
To flag HTTP authentication errors, fallback to EPERM.
2008-02-07 16:24:01 +00:00
joerg
d85b9063b3 bcopy -> memcpy 2008-02-07 16:14:44 +00:00
joerg
eac8e6ef8c MAXNAMELEN -> PATH_MAX to match fetch.h. 2008-02-07 16:14:32 +00:00
joerg
9cf9dd43d1 Import libfetch-2.0, based on the FreeBSD version of today with a number
of smaller changes to not depend on sys/param.h. This library is
intended to replace the tnftp dependency in pkg_install.
2008-02-07 01:48:22 +00:00