| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
more robust, and somewhat more efficient. It also handles authorization and
redirects properly, and supports timeouts like the FTP code.
Many thanks to Umemoto-san for his assistance with IPv6 support, both here
and in other parts of libfetch.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Only send absolute URI if connected to a proxy, since Apache doesn't always
understand absolute URIs.
Clean up some of the debugging output.
|
| |
|
|
|
|
|
| |
PR: 19602
Submitted by: Tony Finch <dot@dotat.at>
|
|
|
|
|
|
|
|
|
|
|
| |
management involving rcmd_af(), getaddrinfo(), freeaddrinfo(), etc.
We set *ahost to point to ai->canonname; and later free the ai-> stuff
and still leave the old pointers in *ahost to the freed data.
Perhaps the best way to deal with this is a static buffer or a static
strdup() that is freed on the next iteration or something. This gives
me headaches just thinking about this.
The new 'AJ' default for malloc() tripped this up.
|
|
|
|
| |
Approved by: des
|
|
|
|
| |
Don't assume 227 and 228 replies enclose remote address with parentheses.
|
|
|
|
|
|
| |
the code for 227 and 228.
Submitted by: des
|
| |
|
|
|
|
| |
regex(3).
|
|
|
|
| |
Obtained from: BSD/OS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the processing of the recursion, "scan" would be pointing to O_CH
(or O_QUEST), which would then be interpreted as being the end character
for altoffset().
We avoid this by properly increasing scan before leaving the switch.
Without this, something like (a?b?)?cc would result in a g->moffset of
1 instead of 2.
I added a case to the soon-to-be-imported regex(3) test code to catch
this error.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
string may be found (from the beginning of the pattern), the point
at which must is found minus that offset may actually point to some
place before the start of the text.
In that case, make start = start.
Alternatively, this could be tested for in the preceding if, but it
did not occur to me. :-)
Caught by: regex(3) test code
|
| |
|
|
|
|
|
|
|
|
| |
These will be turned off again as we approach 5.0-RELEASE.
If you benchmark things, make sure to
ln -sf j /etc/malloc.conf
to see "true" performance.
|
|
|
|
|
| |
portname. explicitly reject empty numeric portname.
sync with kame. based on comments from itohy@netbsd.org
|
|
|
|
|
|
| |
PR: 19263
Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Obtained from: Open|NetBSD
|
|
|
|
|
|
| |
correct the offset when we free it.
Caught by: phkmalloc
|
| |
|
|
|
|
| |
Submitted by: se
|
|
|
|
| |
"deprecated" and warn that it will disappear eventually.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
use a CHAR_MIN-based array, like elsewhere in the code.
Remove a number of unused variables (some due to the above change, one
that was left after a number of optimizing steps through the source).
Brucified by: bde
|
| |
|
|
|
|
| |
We don't need bumping it in this time.
|
|
|
|
| |
Submitted by: sheldonh
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove (comment out) functions defined or depricated elsewhere:
bsearch, lfind, lsearch, insque, remque
change hcreate to take a size_t rather than uint (essentially the same)
since hcreate/hdestroy are now in <search.h>, remove private search.h
in lib/libc/db/hash/
add $FreeBSD tags to hsearch.c
|
|
|
|
| |
chars as array indices.
|
|
|
|
| |
Prevent out of bounds array access in some specific cases.
|
| |
|
| |
|
|
|
|
|
|
| |
This is required for forthcoming IPv6 ready installer.
Obtained from: KAME
|
| |
|
|
|
|
|
| |
- correct scoped notation separator (s/@/%/)
- include example and more references
|
|
|
|
|
|
|
|
| |
- permit numeric scopeid, be more careful about buffer size
TODO: 2nd arg type should be socklen_t for RFC2553 conformance,
but due to include file dependency it is not a easy thing to do
(netdb.h does not have socklen_t)
|
|
|
|
|
| |
- better return code. from enami@netbsd
- do not use "class" as variable name. C++ guy had trouble with it.
|
|
|
|
|
|
| |
capability-related syscall wrappers.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
| |
soon to be committed syscall stubs. These calls will be used to get
and set capability state associated with executables.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
| |
error was introduced during the merge; fixing it corrects a (correct)
warning about types.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
| |
committed
Obtained from: TrustedBSD Project
|
|
|
|
|
|
| |
interface addresses in a portable manner, without headache of SIOCGIFCONF
or sysctl. it is in bsdi/openbsd/netbsd already.
from kame tree (actually, mandatory for latest kame tree).
|
|
|
|
|
| |
behavior change: policy syntax was changed. you may need to update your
setkey(8) configuration files.
|
|
|
|
| |
Remove unneded comment
|