Poul-Henning Kamp
3795d538a8
Make sparc64 share ufsread.c with i386.
...
Sponsored by: DARPA & NAI Labs.
2002-06-05 12:00:53 +00:00
Poul-Henning Kamp
7cbccd7f79
Avoid entering IOCCC with a memcpy turned bcopy.
2002-06-05 11:56:12 +00:00
Dag-Erling Smørgrav
4dc0da3f3e
Add the necessary dependencies for SSL.
2002-06-05 11:38:19 +00:00
Poul-Henning Kamp
6b8fc95f49
Indent this file more like style(9).
...
Sponsored by: DARPA & NAI Labs.
2002-06-05 11:20:37 +00:00
Poul-Henning Kamp
833468e219
Preparation for UFS2 commit:
...
Factor the ufs reading code out of the i386/boot2 loader so it can
be reused by for instance sparc64.
Sponsored by: DARPA and NAI Labs.
2002-06-05 11:10:38 +00:00
Dag-Erling Smørgrav
ccdd94bdd9
Rename struct cookie to struct httpio to avoid confusion (it's not an HTTP
...
cookie) and increase symmetry with equivalent FTP code.
2002-06-05 10:31:01 +00:00
Dag-Erling Smørgrav
d3b03a9006
Add comments to struct cookie.
2002-06-05 10:27:24 +00:00
Dag-Erling Smørgrav
3f4823c55d
Fix a bug I introduced in the chunk decoder in the previous commit..
2002-06-05 10:23:19 +00:00
Dag-Erling Smørgrav
dea29ca1d5
First step towards SSL support: wrap connections in a 'struct connection'
...
which contains the socket descriptor, the input buffer and (yet unused)
SSL state variables. This has the neat side effect of greatly improving
reentrance (though we're not *quite* there yet) and opening the door to
HTTP connection caching.
This commit is inspired by email conversations with and patches from
Henry Whincup <henry@techiebod.com> last fall.
2002-06-05 10:05:03 +00:00
Ian Dowse
09dbd0701c
Oops, unbreak parsing of the `type' field in getasciilabel(). I had
...
changed a `goto' to a `continue' in revision 1.52, but it continued
the wrong loop.
Noticed by: bde
2002-06-05 08:11:28 +00:00
Ruslan Ermilov
fc511333b6
SUBDIR is initially empty.
2002-06-05 07:00:41 +00:00
Ruslan Ermilov
8659c37498
Canonicalize.
2002-06-05 06:59:10 +00:00
Ruslan Ermilov
227c8a004a
Back out addition of a plus sign.
...
DPADD and LDADD belong to individual makefiles.
2002-06-05 06:58:33 +00:00
Mike Barcroft
8375a2c466
Remove the deprecated 4.2/4.3BSD wait union.
2002-06-05 02:21:01 +00:00
Juli Mallett
d9cd71b6e1
Support the 'comm' keyword, which is equivalent to our 'command', but
...
specified by SUSv3.
2002-06-05 02:05:24 +00:00
Juli Mallett
cf77c2ce9c
A space cannot be a header string seperator it appears given the SUSv3
...
description of ps(1), which uses them. I question whether newline and tab
can be either, but I'm not touching them. Yet.
2002-06-05 02:01:46 +00:00
Juli Mallett
6d041cc856
To comply with SUSv3, duplicate the variable contents for each given format,
...
so that multiple -ovar=header lines do not overwrite eachother.
This means that ps -ouser=USERNAME -ouser=WHO would now possibly print:
USERNAME WHO
juli juli
Whereas before it would be:
WHO WHO
juli juli
2002-06-05 01:58:36 +00:00
Juli Mallett
05051e2898
Returning NULL here if malloc(3) fails is silly, at this point in the codepath
...
we have't malloc(3)'d nearly as much as we probably will, so errx(3) away,
instead of waiting for something to fail yet again later on.
2002-06-05 01:36:30 +00:00
Juli Mallett
86f54b9fb8
Remove an XXX comment that seems to be a tiny bit no longer pertinent. This
...
function seems to do the right thing, and is not a "stub", and whoever "marc"
is, he's had plenty of time to do "the real one", so don't wait around for
him any longer.
2002-06-05 01:33:54 +00:00
Juli Mallett
b69566d8e1
Use of zero here meant many things, NULL, '\0' (NUL), and 0. Sort it out.
2002-06-05 01:32:21 +00:00
Gordon Tetlow
3600cbb7c4
Fix spelling nit in error message.
2002-06-05 01:06:33 +00:00
Juli Mallett
fdbec39885
Use a const char * where it is meant to be used. There's no reason to try
...
to discard the const qualifier here.
2002-06-05 01:02:13 +00:00
Juli Mallett
a89d0c4dbc
Duplicate the pointer to the string containing the header so it does not get
...
frobbed when/if the pointer it is actually a part of gets freed.
2002-06-05 01:01:20 +00:00
Chris D. Faulhaber
90bd45f1c5
o Remove ftp.freebsd.org from the USA servers and add to the
...
Denmark servers.
o Add snapshots.jp.FreeBSD.org.
Approved by: brian
2002-06-05 00:53:50 +00:00
Murray Stokely
2a295fdf9d
Add information about setting up media to use the multi-volume support
...
in sysinstall.
Reviewed by: ru
2002-06-05 00:34:58 +00:00
John Baldwin
6a95e08f2f
Replace thread_runnable() with thread_running() as the latter is more
...
accurate.
Suggested by: julian
2002-06-04 22:36:24 +00:00
David E. O'Brien
ac3f21b185
We want to play osterage and stick our heads in the sand and ignore things.
...
Requested by: jhb
2002-06-04 22:26:11 +00:00
John Baldwin
7fcca6096f
Optimize the adaptive mutex spin a bit. Use a simple while loop with
...
simple reads (and on IA32, a "pause" instruction for each interation of the
loop) to spin until either the mutex owner field changes, or the lock owner
stops executing.
Suggested by: tanimura
Tested on: i386
2002-06-04 21:53:48 +00:00
John Baldwin
5853d37d3b
Add a private thread_runnable() macro to make the code more readable and
...
make the KSE diff easier to maintain.
2002-06-04 21:50:02 +00:00
David E. O'Brien
499cc75ee2
ntpdate(1) is depreciated.
2002-06-04 21:25:41 +00:00
Maxim Sobolev
9bdd177911
Collapse lib and tar dirs into single top-level directory.
...
Suggested by: obrien
2002-06-04 21:16:18 +00:00
David E. O'Brien
741a21e8c7
Remove GNU awk.
2002-06-04 21:14:34 +00:00
David E. O'Brien
b47f7d2f16
Grammar nit.
...
Submitted by: keramida
2002-06-04 20:01:53 +00:00
David E. O'Brien
d09b305248
Install the i386 MMX headers, and IA-64 intrinsics functions.
...
Requested by: peter
2002-06-04 20:00:29 +00:00
David E. O'Brien
8df64a7d4f
We don't need this library any more.
2002-06-04 19:45:09 +00:00
Jake Burkholder
e7dc92f0f9
Bump TSB_PAGES_SHIFT to 4. Less sucks too much.
2002-06-04 19:40:45 +00:00
David E. O'Brien
f50caf6ff4
Document -gstabs+
2002-06-04 18:10:54 +00:00
David E. O'Brien
3a77dcde47
The brokenness in ix86_expand_clrstr is quite visible when you
...
compare the function with ix86_expand_movstr.
Submitted by: Tor Egge
2002-06-04 18:06:12 +00:00
David E. O'Brien
ec9ec8af6a
Gcc 3.1 (-O) now generates broken inline code for memset in some cases.
...
This broke newfs (newfs left some garbage in a bitmap).
The ASM for:
#include <string.h>
int x, foo[100];
main()
{
memset(&foo[0], 0, x);
}
is (at least if you have fixed function alignment):
.file "z.c"
.text
.p2align 2,,3
.globl main
.type main,@function
main:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %eax
movl x, %ecx
xorl %eax, %eax
shrl $2, %ecx
movl $foo, %edi
cld
rep
stosl
andl $-16, %esp
<-- the lower bits of `len' should be loaded
near here
testl $2, %edi <-- this seems to be meant to test the 2^1
bit in `len' (not alignment of the pointer
like it actually does). %edi is the wrong
register for holding the bits, since it is
still needed for the pointer.
je .L2
stosw
.L2:
testl $1, %edi <-- similarly for the 2^0 bit.
je .L3
stosb
.L3:
movl -4(%ebp), %edi
leave
ret
.Lfe1:
.size main,.Lfe1-main
.comm foo,400,32
.comm x,4,4
.ident "GCC: (GNU) 3.1 [FreeBSD] 20020509 (prerelease)"
This seems to only result in (len % 3) bytes not being cleared, since gcc
doesn't seem to use the builtin memset unless it knows that the pointer is
aligned. If %edi could be misaligned, then too many bytes would be set.
Submitted by: BDE
2002-06-04 18:04:27 +00:00
Matt Jacob
20120272f2
Add REPORT LUNS basic infrastructure.
2002-06-04 17:41:47 +00:00
Maxim Sobolev
b513ac40e2
Move patches into the src/contrib/tar.
...
Requested by: ps
Reviewed by: md5(1)
2002-06-04 17:31:16 +00:00
Jake Burkholder
3671cacae1
Implement _Qp_sqrt. I've been unable to find a C program that gcc generates
...
a call to this for, but apparently somehing in libstdc++ does.
2002-06-04 17:02:27 +00:00
Tim J. Robbins
5b96a60711
Display job status correctly when a pipeline is suspended.
2002-06-04 15:26:00 +00:00
Dag-Erling Smørgrav
fc281c6159
Don't build perl if NO_PERL is defined.
2002-06-04 15:20:11 +00:00
Tim J. Robbins
5179c2f25f
Describe finished jobs as "Done", not "Exit" (SUSv3)
2002-06-04 14:40:33 +00:00
Tim J. Robbins
cb1a4fb419
Don't output state' and
current' fields for processes that aren't
...
leaders in -l option to jobs(1).
2002-06-04 14:37:13 +00:00
Tim J. Robbins
d982b3a5f6
Missing prototypes from previous commit.
2002-06-04 13:13:54 +00:00
Tim J. Robbins
41d09fe083
Correct minor spacing problem in output of jobs -l for pipelines.
2002-06-04 13:01:51 +00:00
Tim J. Robbins
e5341cbb17
Quote alias values in the output of the alias(1) builtin so they are
...
suitable for re-input to the shell (SUSv3)
2002-06-04 12:59:12 +00:00
Yoshihiro Takahashi
4ffc41abdd
Install MD documentations in ${TARGET} directory instead of ${TARGET_ARCH}.
2002-06-04 12:05:29 +00:00