Commit Graph

6068 Commits

Author SHA1 Message Date
itojun 646e6960b2 blank line 2003-05-16 14:53:55 +00:00
christos 03db714fce - zero out the sockaddr before passing it to the kernel.
- print the reason of the export failure.
2003-05-16 14:03:31 +00:00
abs 81ab107137 maybe -> may be 2003-05-16 08:37:09 +00:00
itojun d25769c013 assume presense of getifaddrs(3). 2003-05-15 14:50:02 +00:00
itojun 5818b97495 assume getifaddrs(3) 2003-05-15 14:47:49 +00:00
itojun 68452c0c92 assume presense of getifaddrs(3). 2003-05-15 14:44:57 +00:00
itojun e24f1908e1 byebye savestr. with savestr() we can't free(). 2003-05-15 14:34:39 +00:00
itojun 0f0398257d simplify by strdup. expilcitly specify IPPROTO_TCP (to cope with sctp-ready
getaddrinfo).
2003-05-15 00:23:54 +00:00
itojun 6cad7b99db simplify by using strdup. from kame 2003-05-15 00:19:30 +00:00
itojun 723a0d30ad just for safety 2003-05-15 00:08:10 +00:00
itojun f2bfdc2f65 traceroute.c doesn't use savestr() 2003-05-15 00:04:16 +00:00
itojun a37f9a315d strcpy audit (command line argument was used as src, subject to overrun) 2003-05-15 00:02:25 +00:00
itojun b2189acdb8 whitespace fix 2003-05-14 23:58:23 +00:00
itojun 4b641df88a strlcpy audit 2003-05-14 23:53:09 +00:00
wiz d75f1336b3 Uppercase URL. 2003-05-14 14:30:59 +00:00
wiz d43e332f1e setup -> set up. 2003-05-14 12:11:03 +00:00
dbj f1e0ecadf7 remove dependencies on ${LIBC} ${LIBM} and ${LIBTERMCAP} static libraries
from host tool targets.  Commits fix from PR toolchain/21495
2003-05-14 00:24:06 +00:00
martin 6d77f1d081 Add some error handling for an ioctl - the old code could loop tightly if
the peer closed a socket unexpectedly.
This addresses one of the issues Frank Kardel patched (differently) in
PR kern/21448, after clarification from Frank via private mail.
2003-05-13 07:07:37 +00:00
ragge 855df1740e Don't build kvm_mkdb anymore. 2003-05-11 18:19:09 +00:00
itojun 2ab2b66ee8 just for safety - use sizeof 2003-05-09 00:48:59 +00:00
itojun 5397d22f9f KNF 2003-05-09 00:47:46 +00:00
itojun 830e70f6d0 readlink(3) does not terminate string by \0. 2003-05-09 00:43:46 +00:00
petrov 674b7e97b8 Format fixes. 2003-05-08 20:33:44 +00:00
petrov 209bf42bf9 Add CPPFLAGS. 2003-05-08 20:24:10 +00:00
yamt c18e1d32a6 make amd compile again.
pointed by Geoff Wing.
2003-05-08 13:34:04 +00:00
martin 59b588f4a2 The FIONREAD ioctl() expects an int parameter.
Noticed by Frank Kardel in PR 21448.
2003-05-08 08:35:40 +00:00
martin a9c8af8af0 Passing the address of a timeval.tv_sec to localtime() is wrong on ports
where time_t != long.
From Frank Kardel in PR 21448.
2003-05-08 08:32:39 +00:00
wiz 38ae31a7c0 Fix device names, from Sergey Svishchev in PR 21485. 2003-05-07 08:01:08 +00:00
wiz 8dc7b32a42 Bump date for last. 2003-05-06 08:43:45 +00:00
wiz 64c914b286 Bump date for last. 2003-05-06 08:37:34 +00:00
wiz fade7b55f5 New sentence, new line. 2003-05-06 08:28:38 +00:00
gmcgarry 662e57683f Document how to change the console font to one of crazier fonts
available.
2003-05-04 00:52:39 +00:00
wiz 1ffa7b76c4 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
ragge 64d8c965d1 Note change to use /dev/ksyms. Add BUGS section. 2003-05-03 10:03:55 +00:00
ragge 40c743b278 Remove some unneccessary kmem open/close code. 2003-05-02 16:28:34 +00:00
ragge ead8c24788 Teach kvm_mkdb to use /dev/ksyms if possible. 2003-05-02 16:25:22 +00:00
martin 562ced8429 Don't cast (dubious) values to pointers, only to memcpy from them to
a properly aligned structure. Memcpy from the original data instead.
This fixes PR port-sparc64/21425.
2003-05-02 15:15:52 +00:00
gmcgarry 733d836b9b Add an explanation of the log format. From PR#14290. 2003-05-02 08:31:51 +00:00
thorpej b393c94e79 Shuffle a bit to allow some compilers to optimize symbol references
more effectively.

From Ian Lance Taylor.
2003-05-02 04:29:03 +00:00
wiz 1f2ca5e686 Increase width now we mention flag arguments. 2003-05-01 15:29:24 +00:00
jmmv bee0be0e17 In the options list, show which ones require an argument.
New sentence, new line.
2003-05-01 15:10:58 +00:00
dsl c4582ac81d Change 'ulong' to 'unsigned long' so it compiles as a host tool on freebsd. 2003-04-29 09:39:23 +00:00
jmmv 42c016f444 Note when the -x option appeared; this was in the original patch... 2003-04-26 18:12:00 +00:00
jmmv f37b7f38ab Let config extract embedded configuration data from kernels that were built
with either "options INCLUDE_CONFIG_FILE" or "options INCLUDE_JUST_CONFIG".

The program can now be invoked like:
- config -b objdir -s srcdir /netbsd
  This will use configuration data from /netbsd to automatically create the
  build directory of the new kernel.
- config -x /netbsd > CONFFILE
  This will store configuration data from /netbsd in the CONFFILE file for
  further editing.
2003-04-26 12:53:43 +00:00
jmmv 595e7da8dc New sentence, new line. 2003-04-24 13:23:55 +00:00
seb 2eb61ac136 pkg_add fix:
When doing quick pre-check if any conflicting dependencies are installed
and a dependency is not found installed do not try to search for a wildcarded
(-[0-9]* suffix) package if the dependency was already wildcarded.

This prevent something like 'p5-Net-DNS-0.33' reported as an already
installed version of 'p5-Net-[0-9]*' as a dependency.
Before this fix 'p5-Net-[0-[0-9]*' would have been incorrectly searched for.

Reviewed by hubertf@.

Bump PKGTOOLS_VERSION to 20030423.
2003-04-23 10:02:23 +00:00
wiz b461e245c1 Bump date for last; sort sections; comment out sysmon(4) xref for now. 2003-04-23 05:46:21 +00:00
augustss 7064ed78f9 Note that scripts are run synchronously. 2003-04-22 22:45:48 +00:00
itojun 47c9fbf29d port numbers are unsigned. use %u. from kame 2003-04-22 09:56:30 +00:00
itojun a6a7baa235 "user:group=foo.bar" is weird. use colon on both sides 2003-04-22 07:46:46 +00:00