Hi, all!
I have two silly questions:
1. I have p1-75 with a small disk (40Mb), where I want to put kernel.
And then want it to mount root from 192.168.1.1:/nfsroot, so diskless
scripts located there took control and system should be running?
The best could be if DHCP/BOOTP be avoided since there ar
On Wed, Jan 07, 2004, Poul-Henning Kamp wrote:
> One of the assumptions I made ten years ago, was that we would expose
> more of the possible VM gymnastics to userland and in particular it
> was my expectation that it would be cheap for a process to do some
> sort of page-flipping or page-exchange.
Poul-Henning Kamp compares two different ways of resizing a
buffer (edited slightly):
for (;;) {
if (buffer too small)
p = realloc(p, l += 80);
[...]
}
versus
for (;;) {
if (buffer too small)
p = realloc(p, l *= 16);
Christian Klein wrote:
Am Mittwoch, 07.01.04, um 23:02 Uhr (Europe/Berlin) schrieb Lev Walkin:
len = sizeof(*foo);
Oh, thanks a lot!
I should have read the manual more careful!
I thought then len parameter would be filled by getsockname().
It is. But its original value is being used too.
--
Lev
Am Mittwoch, 07.01.04, um 23:02 Uhr (Europe/Berlin) schrieb Lev Walkin:
len = sizeof(*foo);
Oh, thanks a lot!
I should have read the manual more careful!
I thought then len parameter would be filled by getsockname().
Thank you!
___
[EMAIL PROTECTED] mai
Christian Klein wrote:
Am Mittwoch, 07.01.04, um 22:40 Uhr (Europe/Berlin) schrieb David Schwartz:
Fix those two bugs and see if you still have a problem.
DS
Ok, here's the diff of the changes:
$ diff public_html/haunted.c haunted.c
11c11
< int sock, len;
---
> int sock, l
Am Mittwoch, 07.01.04, um 22:40 Uhr (Europe/Berlin) schrieb David
Schwartz:
Fix those two bugs and see if you still have a problem.
DS
Ok, here's the diff of the changes:
$ diff public_html/haunted.c haunted.c
11c11
< int sock, len;
---
> int sock, len=0;
36,37c36,40
< getsoc
> (this is of course not my program, just some code that does the same)
>
> --- snipp ---
> #include
> #include
> #include
> #include
> #include
> #include
> #include
>
> int main()
> {
> int sock, len;
Okay, you haven't set the value of 'len'.
> struct sockaddr_in addr,
Hi,
I have a problem that is similar to the problem described in
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/22868
My program, that opens a tcp socket and binds to INADDR_ANY:0,
getsockname() returns either the correct answer
or, for some time, a wrong answer, see below
(this is of course n
Richard Schilling <[EMAIL PROTECTED]> writes:
> I'm rebuilding top. What command do you use to build top? Judging on the contents
> of /usr/src/contrib/top, the BSD build of top may be slightly different that what's
> described in the INSTALL and README files.
>
> When I run the ./Configure c
10 matches
Mail list logo