Tim Vanderhoek
8187dd1c8b
Fix a memory leak in getent() that occurred when the requested entry
...
could not be found.
PR: bin/17084
2000-05-21 02:55:09 +00:00
Tim Vanderhoek
3f81737f30
Fix a memory leak with lc->lc_cap in login_close().
...
PR: bin/17084
2000-05-21 02:50:36 +00:00
Hajimu UMEMOTO
28c645cf6a
IPv6 support.
2000-05-20 18:23:51 +00:00
John Polstra
bb63c9d3b4
Take crtbegin.c and crtend.c from the new machine-independent
...
"common" sister directory.
2000-05-20 17:47:29 +00:00
Dag-Erling Smørgrav
6efb30c8d0
Better handling of some boundary conditions.
...
Submitted by: ume
2000-05-19 09:45:42 +00:00
John Polstra
f6d15b87f8
This is step 1 in an effort to unify the start-up files for the
...
various architectures. Now all the work is done in crtbegin.c.
It doesn't contain any assembly language code, so it should work
fine on all architectures. (I have tested it on the i386 and the
alpha.) The old assembly language files crt[in].S are now empty
shells that generate no code or data. They should not be removed
any time soon, because the various versions of gcc in src and ports
expect them to exist.
Next I will move crtbegin.c into a new common machine-independent
directory, and adjust the i386-elf Makefile to use that version.
After that I will adjust the alpha Makefile to use the common
version too.
Requested by: obrien
2000-05-19 04:32:17 +00:00
Chris Costello
12b03e57e5
Remove a superfluous `.Pp' occuring directly after
...
`.Sh IMPLEMENTATION NOTES'.
2000-05-19 02:55:43 +00:00
Chris Costello
ef626a01c1
Add a note under IMPLEMENTATION NOTES about the behavior of sendfile()
...
in the threaded library.
2000-05-19 02:53:55 +00:00
Peter Wemm
76e61b9c71
List ECONNRESET as a return value. EINVAL was not documented either.
2000-05-19 01:00:57 +00:00
Brian Feldman
a24b514d72
Put the wait(2) exit status in "data" for NOTE_EXIT kevents.
2000-05-17 01:16:11 +00:00
Jason Evans
ccb3a748f4
Fix a memory leak. pthread_set_name_np() allocates space for a name, but
...
was not deallocating space for the previous name, if any.
PR: misc/18504
2000-05-16 22:08:14 +00:00
Jason Evans
40316fa981
Fix a memory leak. pthread_set_name_np() allocates space for a name, but
...
_thread_gc() was not deallocating it.
PR: misc/18504
2000-05-16 21:57:12 +00:00
Hajimu UMEMOTO
c97925ad4e
Make HTTP_PROXY work for FTP.
...
Reported by: Ben Smithurst <ben@scientia.demon.co.uk>
Reviewed by: des
2000-05-15 09:05:36 +00:00
Dag-Erling Smørgrav
40ac28454e
Document struct url.
...
Document the default values for fetchStat*().
2000-05-15 08:34:42 +00:00
Dag-Erling Smørgrav
7a5b4b1ba6
Initialize the struct url_stat at the beginning of _fetch_stat_file().
2000-05-15 08:33:58 +00:00
Dag-Erling Smørgrav
0669702c01
Initialize the struct url_stat at the beginning of fetchStatFTP().
2000-05-15 08:24:58 +00:00
Dag-Erling Smørgrav
f8f4130b77
Remove unused 'verbose'.
...
Initialize the struct url_stat at the beginning of fetchStatHTTP().
2000-05-15 08:24:29 +00:00
Kris Kennaway
6102159f98
Add some extra functions adapted from OpenBSD, in preparation for
...
OpenSSH OPIE support.
2000-05-15 04:20:54 +00:00
Peter Wemm
c536ef83f0
Fix the real problem that broke the Alpha loader this last week. It
...
was not the fault of the module code, nor FICL. The malloc code requires
sbrk() to return addresses that were at least 16 byte aligned. If the
Alpha loader happened to be 8 byte but not 16 byte aligned in length, then
you would get a zfree() panic at startup.
Incidently, this affected the i386 loader as well, and explains why
the static heap changed things and why jlemon had trouble when the bss
was not ending at a multiple of 8 bytes.
My fix is to 16 byte align it on all arches, even though the x86 version
only required 8 byte alignment (struct MemNode is smaller there). We could
page align it if we wanted to be paranoid, but it isn't presently necessary.
2000-05-12 22:43:20 +00:00
Peter Wemm
72c520e887
We compile expressly on the alpha with -mno-fp-regs - so do not use them
...
explicitly here. This was the original cause of instruction faults on
the Alpha in loader. (not this code, but the same problem in libficl.a)
2000-05-12 21:48:54 +00:00
Alexey Zelkin
314c685440
mdoc related fixes:
...
. synchronize NAME and SYNOPSIS sections
. replace .Ev macros with .Dv / .Er / .Em macros as mdoc(7)
specification declare
2000-05-12 10:22:50 +00:00
Alexey Zelkin
cdbbbfa4fb
. fix .Dt macro argument
...
. spell inet6_rthdr_reverse correctly
2000-05-12 10:07:31 +00:00
Alexey Zelkin
0543309637
add MLINKS: pthread_testcancel(3) -> pthread_setcanceltype(3)
2000-05-12 09:59:44 +00:00
Bruce Evans
27010737a9
"Fixed" missing include in synopsis. POSIX.1-1996 only specifies
...
including <signal.h>, but that must be a bug in POSIX.1, because it
also specifies that the relevant prototype is [only] in <pthread.h>.
2000-05-11 16:13:18 +00:00
Bruce Evans
ce8973f06a
Fixed misspelling of a struct tag in a function parameter type.
2000-05-11 16:03:38 +00:00
Bruce Evans
200f7053ee
Fixed missing include in synopsis.
...
Use a long line instead splitting a line with backslash-newline in synopsis.
My synopsis checker doesn't understand backslash-newline.
2000-05-11 16:01:17 +00:00
Dag-Erling Smørgrav
89474d129e
Add workaround for ftpds with the Y2K MDTM bug
2000-05-11 16:01:03 +00:00
Bruce Evans
80a07932e7
Fixed missing consts for function parameters, so that the code matches
...
the man page and POSIX.1. Fixed nearby misformatting. Fixed a missing
prototype.
2000-05-11 15:57:17 +00:00
Dag-Erling Smørgrav
96d7319afb
Bump major number, since struct url has changed.
...
Discussed with: jdp
2000-05-11 15:29:26 +00:00
Dag-Erling Smørgrav
9364c53225
Fix hard sentence break.
...
Submitted by: sheldonh
2000-05-11 15:22:52 +00:00
Dag-Erling Smørgrav
60245e42b0
Reorganize some of the http code and split it into more functions.
...
Implement fetchStatHTTP().
Unbungle struct url, and add fetchFreeURL().
Document it.
2000-05-11 13:31:02 +00:00
Brian Somers
151682eadc
Revert the default behaviour for incoming connections so
...
that they (once again) go to the target machine rather than
the alias address.
PR: 18354
Submitted by: ru
2000-05-11 07:52:21 +00:00
Tim Vanderhoek
49ca482a68
When "any" acts as a subject, the verb must agree with whatever any is of.
2000-05-11 05:29:10 +00:00
Tim Vanderhoek
d4b81c98d8
Content-free commit: only remove trailing whitespace
2000-05-11 05:06:00 +00:00
Tim Vanderhoek
18bd6f9514
The accept() function is a call, not an argument. Also, add: serial
...
comma, missing-hyphen, and a word-erase character.
2000-05-11 05:04:30 +00:00
John Baldwin
bde8875a06
Finish moving all IEEE fp types to be the same on all arch's.
2000-05-10 19:41:40 +00:00
David E. O'Brien
317e99beec
Add FreeBSD Id tags.
2000-05-10 19:04:57 +00:00
David E. O'Brien
8d1d19d347
fp_except => fp_except_t for consistancy with the i386 and the tradition
...
C methoid of nameing types.
2000-05-10 19:00:45 +00:00
Sheldon Hearn
0f5fcaa3f1
Supply only one author name per instance of %A, as per mdoc.samples(7).
...
PR: 18465
Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-10 09:49:04 +00:00
Jun-ichiro itojun Hagino
73b30f0cdf
correct possible security issue(s) in name resolution, due to use of
...
pre-4.9.7 BIND resolver code.
ftp://ftp.kame.net/pub/mail-list/snap-users/2348 for details.
Reviewed by: ume
2000-05-10 00:47:20 +00:00
Sheldon Hearn
f167d7fb3e
Fix miscellaneous mdoc macro argument limit infringements.
...
PR: 18465
Reported by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-09 14:02:06 +00:00
Dag-Erling Smørgrav
068cd2851f
While we're at it, add a length field too in case we want to fully implement
...
partial fetches later.
2000-05-07 20:52:40 +00:00
Dag-Erling Smørgrav
3d2a847151
Implement restart
2000-05-07 20:51:31 +00:00
Dag-Erling Smørgrav
807c941c90
Use sizeof more consistently.
2000-05-07 20:02:52 +00:00
Dag-Erling Smørgrav
e6182307e8
Use sizeof more consistently.
...
Outline sanity checking of server port spec.
2000-05-07 20:01:55 +00:00
Dag-Erling Smørgrav
32425dafcd
Implement restart.
...
Use sizeof more consistently.
Outline sanity checking of server port spec.
2000-05-07 20:00:12 +00:00
Dag-Erling Smørgrav
5ff28c822b
Implement restart
2000-05-07 19:56:07 +00:00
Dag-Erling Smørgrav
fd75cc902e
Add offset field to struct url
2000-05-07 19:46:33 +00:00
Kris Kennaway
03b96d11a8
Remove obsolete reference to /var/db/kvm_kernel.db
...
Reviewed by: peter
2000-05-07 02:16:43 +00:00
Alexey Zelkin
ea1a3a92fe
Fix typo.
...
Noticed by: hoek
2000-05-06 14:07:35 +00:00