Dag-Erling Smørgrav
55cf7be1ab
Fix a memory leak: when freeing the connection structure, don't forget to
...
free the connection buffer as well.
PR: bin/76153
MFC after: 1 week
2005-02-16 12:46:46 +00:00
Kelly Yancey
20a2a51bc3
Set TCP_NOPUSH on HTTP requests, reducing the number of round-trips
...
necessary to establish each connection.
MFC after: 2 weeks
2005-02-16 00:22:20 +00:00
Daniel Eischen
888ab0185e
Set the default guardsize and stacksize in the default thread
...
attribute when the library is initialized.
2005-02-15 15:02:11 +00:00
Ruslan Ermilov
423ac68026
Expand contractions.
2005-02-15 09:27:00 +00:00
Stefan Farfeleder
37df8bec5b
Fix typo.
...
Submitted by: Antoine Brodin
2005-02-14 18:40:31 +00:00
Stefan Farfeleder
1ad041fed3
Use socklen_t.
2005-02-14 17:55:33 +00:00
Stefan Farfeleder
10248e3a93
- Use socklen_t.
...
- No need for two instances of 'num'.
2005-02-14 17:51:45 +00:00
Stefan Farfeleder
78e3eed071
Fix most cases where the address of an int is passed to a function expecting a
...
socklen_t * argument.
2005-02-14 17:42:58 +00:00
Alexey Zelkin
ed61386604
. Convert return type of gai_strerror() to 'const char *' as POSIX requires.
...
. Convert ai_errlist[] to simple 'char *' array, and appropriately
optimize gai_strerror()
2005-02-14 11:33:12 +00:00
Alexey Zelkin
03c51c7e90
EAI_ADDRFAMILY and EAI_NODATA are obsoleted, and not definined anymore,
...
so do not export these definitions via manual page
2005-02-14 11:24:58 +00:00
Gregory Neil Shapiro
c3b29b3f56
Remove file no longer in 8.13.3
2005-02-14 02:41:41 +00:00
Ruslan Ermilov
36a142c455
Expand contractions.
2005-02-13 23:45:54 +00:00
Tim Kientzle
bceab447de
Fix a buffer overflow in the "none" decompression handler that
...
occurred with large read-ahead requests. This only affected
formats that incorrectly make large requests (ZIP did this until
recently) or with block sizes over 32k.
2005-02-13 23:29:54 +00:00
Ruslan Ermilov
59892d33e5
who's -> whose
2005-02-13 23:23:30 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Daniel Eischen
36a1ac2c2e
Increase the default stacksizes:
...
32-bit 64-bit
main thread 2MB 4MB
other threads 1MB 2MB
2005-02-13 18:38:06 +00:00
Scott Long
3b278dbbfb
Use the correct variable name in ibsad()
2005-02-13 06:21:36 +00:00
Poul-Henning Kamp
6833149f4b
Check handle types.
...
Implement more device functions.
Make DMA optional.
2005-02-12 23:52:44 +00:00
Tim Kientzle
a090347fe4
Oops. I missed a 0 => '\0' correction.
...
Thanks to: Ruslan
2005-02-12 23:33:31 +00:00
Tim Kientzle
9aedc8fa6f
Clear the error message buffer on entry to major routines.
...
This avoids having error messages get concatenated over multiple calls.
2005-02-12 23:11:29 +00:00
Tim Kientzle
c56f8b32c1
Update the format descriptions to include ISO9660 and ZIP support.
...
Also remove some unnecessary blank lines from archive_read.3.
2005-02-12 23:09:44 +00:00
Tim Kientzle
0a4b2ab59c
Performance optimization, code clarification, and bug workaround.
...
When reading the bodies of Zip archive entries, request a minimum of 1
byte, rather than a minimum of the full entry size. This is faster
(since it does not force the decompression layer to combine reads) and
works around a bug in the "none" decompression handler (which I'm
testing a separate fix for now). I've also renamed "bytes_read" to
"bytes_avail" in several places to more accurately reflect that the
value returned from (a->compression_read_ahead) is the number of bytes
available, not necessarily the number of bytes requested.
2005-02-12 23:00:31 +00:00
Tim Kientzle
e3485a974c
Fill in some more Rockridge details in ISO9660 support: Ignore PD
...
(padding) entries, extract inode value from PX entry, recognize SP and
ST (start/end of SUSP extensions).
I don't enforce SP yet, as I've seen CDROMs which use Rockridge
extensions but don't have the SP record (which is officially
required).
The ISO9660 support is now mature enough to extract FreeBSD
distribution CDROMs created with mkisofs.
2005-02-12 22:48:38 +00:00
Tim Kientzle
4c5d0dae20
Flush input when reading from pipe to avoid "broken pipe" warnings.
...
For example, when using 'gunzip | tar' to decompress.
Also, fix some style issues (write null character as '\0').
Thanks to: Jaakko Heinonen
2005-02-12 22:44:50 +00:00
Poul-Henning Kamp
da0e67693d
Add ibcntl as alias for ibcnt
...
Add ibsta and start to use it.
Rename the argument structure more sensibly.
Improve timeout and error handling
2005-02-12 21:07:09 +00:00
Poul-Henning Kamp
39add42b21
Use the eot argument field for ibeot().
2005-02-12 15:49:20 +00:00
Stefan Farfeleder
610b5a1fb1
Fix comparisons that test if an unsigned value is < 0.
...
Reviewed by: tjr
2005-02-12 08:45:12 +00:00
Pawel Jakub Dawidek
029f08c23c
Don't read more than the given 'len' bytes from the 'big' string.
...
PR: misc/77369
Submitted by: Ed Maste <emaste@phaedrus.sandvine.ca>
MFC after: 1 week
2005-02-11 21:07:51 +00:00
Colin Percival
75fa96cc9b
read(), pread(), write(), and pwrite() return EINVAL if they are asked
...
for more than INT_MAX bytes.
2005-02-10 20:09:01 +00:00
Poul-Henning Kamp
954ad216af
Constify.
2005-02-09 20:56:32 +00:00
Ruslan Ermilov
6b806d21d1
Fixed the misplaced $FreeBSD$.
2005-02-09 18:07:17 +00:00
Poul-Henning Kamp
7536a05bc6
Tie libgpib into the build (unless NO_GPIB)
2005-02-06 16:45:57 +00:00
Poul-Henning Kamp
004df402cf
Add libgpib containing the glue to get ibfoo() calls into the kernel.
2005-02-06 16:45:20 +00:00
David Schultz
f154b03b25
Update my email address.
2005-02-06 03:23:31 +00:00
Gleb Smirnoff
e551a1c3c2
When we have converted an ASCII message to binary, set its version in
...
the header. Otherwise we will send a message with zero version.
MFC after: 3 days
2005-02-04 21:36:10 +00:00
David Schultz
e02846ce13
Fix a small scripting snafu in the previous revision.
2005-02-04 20:05:39 +00:00
David Schultz
b21154f677
Remove another vestige of support for a non-IEEE libm.
2005-02-04 18:32:13 +00:00
David Schultz
3f70824172
Reduce diffs against vendor source (Sun fdlibm 5.3).
2005-02-04 18:26:06 +00:00
David Schultz
79b990338f
Move machine-dependent crud to its own makefile.
2005-02-04 14:33:39 +00:00
David Schultz
e1b61b5b93
Remove wrappers and other cruft intended to support SVID, mistakes in
...
C90, and other arcana. Most of these features were never fully
supported or enabled by default.
Ok: bde, stefanf
2005-02-04 14:08:32 +00:00
Alexey Zelkin
f24d446afb
Cleanup prototypes and remove dead code
...
MFC After: 3 days
2005-02-01 16:04:55 +00:00
Dag-Erling Smørgrav
9d97c7ee0a
In addition to the PAM environment, export a handful of useful PAM items.
...
Suggested by: Ed Maste <emaste@phaedrus.sandvine.ca>
2005-02-01 10:37:07 +00:00
Dag-Erling Smørgrav
30984a1288
Add openpam_free_envlist(3).
2005-02-01 10:21:07 +00:00
Ruslan Ermilov
1f8ee0e102
Typo.
2005-01-28 21:14:16 +00:00
Ruslan Ermilov
d7a604cc33
Properly terminate sentence.
2005-01-28 21:13:34 +00:00
Hajimu UMEMOTO
8743b270c9
use strdup().
...
Obtained from: KAME
MFC after: 1 week
2005-01-28 19:35:42 +00:00
Ruslan Ermilov
2bcc0b737c
Clean up makefile.
...
- Remove all:. It's redundant, and ${LIB} in it is just a bug.
- Remove .ORDER:. *.mgc files can safely be built in parallel.
- Remove PITA. The mkmagic tool is smart to put the binary file
into the current directory (${.OBJDIR}) even if the source file
lives somewhere else, which is just what we need.
2005-01-28 17:01:54 +00:00
Hajimu UMEMOTO
a2a24ec881
make _getipnodebyname_multi() static.
2005-01-27 15:01:05 +00:00
Hajimu UMEMOTO
c224435ed9
implement AI_NUMERICSERV (as defined in RFC3493).
...
Obtained from: KAME
MFC after: 1 week
2005-01-27 14:45:11 +00:00
Hajimu UMEMOTO
8755b918a1
fill ai_canonname field for numeric hostname, by the given hostname.
...
follow new recommendation in RFC3493.
Obtained from: KAME
MFC after: 1 week
2005-01-27 14:41:56 +00:00