Commit graph

122 commits

Author SHA1 Message Date
joerg
472cf496e0 On second thought, don't filter out files with . Bump to 2.3. 2008-04-04 23:19:16 +00:00
joerg
5f8b22911d libfetch-2.2:
Add interface to glob a directory.
2008-04-04 22:37:28 +00:00
joerg
f8bafbe7e8 Use inttypes.h, it is more portable and all that is needed here. 2008-04-04 15:17:51 +00:00
joerg
586f71a7c1 libfetch-2.1:
- remove most of the debug junk
- fix a buffer overflow in the config parser
- replace stdio usage with a simple abstract IO framework. currently
without explicit buffering, but that might be added later
2008-04-02 15:33:14 +00:00
tnn
4c718bd4e0 No sin_len on IRIX. 2008-02-21 14:40:43 +00:00
joerg
f39ec90913 The libfetch version is good enough as user-agent. 2008-02-07 18:02:01 +00:00
joerg
b5978b75bb Conditionally declare arg on the existance of the socket options. 2008-02-07 17:57:28 +00:00
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