christos
37d07dacae
PR/40144: Christoph Badura: quiting from vi recovery mode leaves tty settings
...
garbled. When vi creates a new EXF structure it did not set all the fd related
fields to -1, so if the fd field was never initialized, it was 0 because of
the calloc() call, so closing the file, ended up closing 0, so the terminal
fd was closed and that prevented the ioctl to restore the term settings from
succeeding.
2008-12-09 18:26:20 +00:00
christos
99089c99f7
PR/40140: Takehiko NOZAKI: fix bug where nvi + x(delete) key may call abort(3)
2008-12-09 16:50:22 +00:00
christos
2b08d9050e
uninitialized variable.
2008-12-06 23:18:36 +00:00
christos
448e9aef12
more compilation issues on amd64, where size_t != unsigned int.
2008-12-06 18:39:20 +00:00
christos
ba7207e4b2
WARNS=4
2008-12-05 22:51:42 +00:00
christos
88bda1cea2
don't use signed chars for no reason.
2008-11-25 18:40:26 +00:00
hubertf
95d4c42d15
Pull in a minor change from file-4.26 that gets cross-compiling from
...
Solaris going.
OK'd by christos@
2008-11-04 13:34:11 +00:00
christos
e2e2aa5d82
make gtags work for real.
2008-10-29 19:57:27 +00:00
christos
a987b491ab
put back gtagsmode (untested) apb should test.
2008-10-29 17:50:49 +00:00
christos
82db559c65
Moved a long time ago to external
2008-10-28 14:06:06 +00:00
apb
f46c1de7cb
Use ${TOOL_SED} instead if plain sed in Makefiles.
2008-10-25 22:27:34 +00:00
martti
2ea5185606
IPF 4.1.31 is out
2008-10-20 12:09:15 +00:00
apb
1dc9ff828c
In preparation for building awk as a host tool, add
...
#if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h"
2008-10-19 19:33:47 +00:00
tsutsui
4c08651b76
Put a workaround for PR toolchain/39528:
...
Adjust a definition of MKDIR_P to invoke $ac_install_sh script
via $(SHELL) so that it will work even if executable bits are not
preserved in the source archives.
No objection on tech-toolchain.
2008-10-12 02:56:23 +00:00
oster
6664ee6283
memset to zero the entire nop_in structure. Fixes PR#39688 by
...
Henning Petersen. Thanks!
2008-10-08 14:58:57 +00:00
agc
7117be69ce
Fix a fairly obvious pasto which has been there since version 1.1 in 2001.
2008-10-08 09:45:47 +00:00
joerg
3d4926cda4
Finish moving pkg_install to src/external/bsd/pkg_install.
2008-10-07 16:06:12 +00:00
christos
c33f6f922e
quote {}
2008-10-02 15:39:43 +00:00
christos
9766bcabdc
put back matchchars
2008-10-01 21:20:09 +00:00
reed
90b621c7d8
Replace docbook tag with roff.
...
(It was used in wrong context so wasn't replaced.)
I reported this upstream and provided fix to lwresd.docbook.
I didn't commit fix here for docbook file, because
NetBSD doesn't regenerate the manual page.
2008-09-24 21:14:07 +00:00
christos
8c8950af64
PR/39501: David Holland: Don't print the remainder of the line in the error
...
context because it can confuse input parsing in warnings. A full explanation
is in the code.
2008-09-09 21:47:34 +00:00
christos
739c305b89
fix texinfo errors by adding @node commands as appropriate.
2008-09-01 17:51:49 +00:00
christos
85ff5d2957
remove conflict.
2008-08-31 07:54:07 +00:00
christos
97a2ff3736
misc cleanups
2008-08-31 07:53:33 +00:00
christos
3f1ec0f434
fix printf format.
2008-08-31 04:51:20 +00:00
christos
fed53d5170
fix lp64 build.
2008-08-30 17:49:43 +00:00
christos
0bb40d37ac
add this back
2008-08-30 12:18:55 +00:00
christos
04eef3cfd2
resolve conflicts, fix build.
2008-08-30 12:16:51 +00:00
christos
04d459813f
resolve conflicts
2008-08-30 11:39:01 +00:00
christos
8bb07b3f43
try-again for file-4.26
2008-08-30 11:20:52 +00:00
christos
85e225d6b9
mport 4.26
2008-08-30 11:00:02 +00:00
christos
27431b0ddd
resolve conflicts
2008-08-30 07:34:27 +00:00
christos
b8efb34b73
Import wpa_supplicant and hostapd
2008-08-30 07:23:43 +00:00
gmcgarry
a9af41a9f1
Correctly use linksets with PCC too.
2008-08-29 00:35:25 +00:00
gmcgarry
d776319a17
Correctly elide dlog() on PCC. It's still very wrong for other non-__GNUC__
...
compilers.
2008-08-29 00:34:04 +00:00
christos
c041c3f557
Fix non-wide build botches.
2008-08-27 10:18:41 +00:00
christos
1a8ca97519
Don't fill up /var/log/messages when the network is down; log EDNS failures
...
at debug 3.
2008-08-27 05:28:42 +00:00
joerg
f628ddd81d
As dholland pointed out, don't leak memory if FS is resized multiple
...
times.
2008-08-26 20:25:19 +00:00
joerg
479fba4b1b
Don't use strlen to check if the length is at larger than 1, check the
...
first two chars directly.
Don't fail if FS is longer than 9 characters, but allocate a copy
dynamically and fail if that can't be done. Make inputFS static.
OK martin, bjs
2008-08-26 14:43:18 +00:00
joerg
0051d8ebe6
Don't strcpy after strdup.
2008-08-26 14:38:55 +00:00
gmcgarry
8c48d8690e
Remove old pcc import.
2008-08-24 06:37:27 +00:00
kardel
1f18cb938c
resolve ntp 4.2.4p5 import
2008-08-23 09:10:31 +00:00
kardel
835928de57
Import ntp 4.2.4p5
2008-08-23 07:38:09 +00:00
wiz
9f2c3be631
Recognize CISO (.cso) files.
2008-08-18 22:04:47 +00:00
he
2b2bbd444f
Resolve conflicts from import of bind 9.5.0-P2.
2008-08-15 14:51:26 +00:00
he
d552782165
Import bind 9.5.0-P2
2008-08-15 14:41:33 +00:00
he
8df376afb4
Import bind 9.5.0-P2
2008-08-15 14:39:30 +00:00
martti
b2f85650f0
Not needed in NetBSD
2008-08-12 10:28:51 +00:00
christos
b050639f27
delete junk file.
2008-08-10 07:30:53 +00:00
aymeric
100893232d
The cursor emulation was broken, which led to O on an existing first line of
...
a file to fail.
Fixes PR bin/39293 by Adam Hoka.
2008-08-05 15:49:18 +00:00
christos
503c450ac3
Apply 3e2ad1b932d827ddb038a5f9163bca766803811a from the wpa git tree:
...
* fixed race condition between disassociation event and group key
handshake to avoid getting stuck in incorrect state [Bug 261]
2008-08-04 04:14:28 +00:00
joerg
d249112fae
Update build glue for dhcpcd 4.0.0rc3 and move it to
...
src/external/dhcpcd.
Make dhcpcd quiet by default when run from rc.
2008-07-27 19:31:02 +00:00
dsl
345ef58291
Comment out the 'continue' in EXPECTEOL().
...
It only terminates execution of the 'do .. while (0)' loop.
EXPECTEOL() is always followed by 'continue' when called.
2008-07-25 22:09:52 +00:00
darrenr
9f0bfbf3da
2020447 IPFilter's NAT can undo name server random port selection
2008-07-24 09:37:57 +00:00
kardel
fbcf7d7188
make mkver fetch the date information from src/usr.sbin/ntp/importdate
...
in order to achieve consistent version strings across all builds
2008-07-16 20:53:56 +00:00
drochner
0a06aa4eeb
While openpam overwrites possible sensitive data on cleanup, it misses
...
the buffers used in the password dialog. Clean them too.
2008-07-16 18:20:17 +00:00
perry
c983ff2507
explain that mkver needs cleanup when a new version is imported
...
as per suggestion from simon
2008-07-16 11:11:37 +00:00
he
4e9514ecb8
Add an overlooked semicolon to fix the build.
2008-07-14 06:14:44 +00:00
christos
96f87739b6
PR/39002: cheusov at tut dot br: Warn for \x where x is not a valid escaped
...
char.
2008-07-13 17:08:28 +00:00
christos
e8c53cdebd
sprintf -> snprintf
2008-07-12 19:57:59 +00:00
christos
19150c1762
explicitly disallow %L,%l,%h as TOG specifies.
2008-07-12 19:49:30 +00:00
christos
f3e4d308aa
PR/39133: cheusov at tut dot by: Don't treat -Ft as -F <tab>
2008-07-12 15:17:37 +00:00
christos
e04577112e
and remove debugging.
2008-07-11 23:06:48 +00:00
christos
86201bf107
better fix than before. Instead of copying the constant cells, set DONTFREE
...
on all non-strings.
2008-07-11 23:05:49 +00:00
christos
2a2697b888
PR/39132: cheusov at tut dot by: When copying an OCELL, make sure you make
...
a copy of its string and deal with DONTFREE properly, so that we don't try
to free the OCELL pointer later which points to a literal string in the text
segment.
2008-07-11 22:11:24 +00:00
christos
7d50e0f80c
resolve conflicts
2008-07-10 21:18:37 +00:00
christos
0a48355ff6
Import bind 9.5.0-P1
2008-07-10 14:17:08 +00:00
hubertf
0828e34604
Remove superfluous "s on .It, really this time
2008-07-09 13:02:04 +00:00
hubertf
6646611ecc
backout previous
2008-07-09 13:00:55 +00:00
hubertf
e7c69284a9
remove superfluous "s on .It
2008-07-09 12:53:06 +00:00
gmcgarry
21385c9124
Remove gcc comma-eliminating variadic macro. Prefer __func__.
2008-06-27 02:09:49 +00:00
christos
14a6095c32
don't initialize fetch twice.
2008-06-23 18:10:26 +00:00
christos
362bb1e6c4
don't initialize the same variable twice.
2008-06-23 17:54:01 +00:00
christos
b06624789f
fix prototype
2008-06-21 20:55:56 +00:00
christos
c3d3a6e4b6
Resolve conflicts
2008-06-21 18:59:24 +00:00
christos
d50bc8ead7
import bind-9-5-0
2008-06-21 18:25:42 +00:00
yamt
fff57c5525
merge yamt-pf42 branch.
...
(import newer pf from OpenBSD 4.2)
ok'ed by peter@. requested by core@
2008-06-18 09:06:25 +00:00
christos
8f4a39b301
If we found a WPA basestation, return before scanning for non-wpa ones,
...
to avoid reporting a bogus debugging message.
2008-06-15 18:32:03 +00:00
christos
64af2f98bb
keep the original length so that we don't report 0 for the length.
2008-06-15 18:30:38 +00:00
aymeric
c280d5f915
Fix a warning which breaks the build on a few platforms.
...
XXX may be not the right thing to do, but very little intrusive
2008-06-11 21:32:17 +00:00
aymeric
512a1e067c
include <stdlib.h> for exit(3) prototype.
...
Uncovered by broken bulk builds for a handful of platforms.
2008-06-11 21:30:52 +00:00
aymeric
afab0934cb
rename ru_SU to ru_RU, as was done in the previous vi 7 years ago
2008-06-05 21:16:15 +00:00
aymeric
9c8d0a73f9
these files are for diagnosing catalog files, they can even be generated by our
...
Makefiles if necessary
2008-06-05 20:09:37 +00:00
aymeric
3544edc560
remove all the other generated catalogs, too
2008-06-05 20:02:12 +00:00
aymeric
6905204bec
the english catalog is automatically generated
2008-06-05 19:58:45 +00:00
joerg
3dfb9ffd6b
Merge e28f0a8f857fad837ac78a93921873361d60747c and
...
c46587eb3d02a4750d0aaf6e7a0a19f24b3d7fa8:
Correctly handle ARP replies and fix a pointer misuse.
2008-05-26 21:13:59 +00:00
joerg
9e007bef18
Merge ebdbc57c7f54b27fd8d472cb357c0b533b9a0c2e:
...
Fix compilation.
2008-05-26 19:53:56 +00:00
joerg
7f64fd9bf9
Pull in 4c8ba2435551fdffc65c1830befe2d5abe04221a:
...
Fix a signal race when daemonising.
2008-05-26 19:42:35 +00:00
joerg
b26c8099ce
Resolve conflicts.
2008-05-25 19:18:49 +00:00
joerg
fb288ada0d
Import libarchive-2.5.4b:
...
- bsdtar is using the hardlink resolver code from libarchive now,
making it generate correct links for newc format
- fix a number of non-exploitable integer and buffer overflows
- SIGINFO/SIGUSR1 support for bsdtar
- bsdtar -s support
- better mtree support, it should now be able to handle the full syntax
of NetBSD's mtree
- handle extraction of archives where hardlink and linked to entry don't
agree on the permission (base.tgz has such entries for systat)
2008-05-25 19:14:31 +00:00
christos
f7e42af424
PR/38737: cheusov at tut dot by: Don't build the character class table
...
starting at 0, because will always be treated as the empty string DuH!
2008-05-25 16:28:25 +00:00
christos
2699db69d7
remove things we don't use.
2008-05-25 14:54:52 +00:00
christos
4459d9696e
update to 20070501
2008-05-25 14:51:49 +00:00
christos
200d206cea
from: http://cm.bell-labs.com/cm/cs/awkbook/index.html
2008-05-25 13:51:11 +00:00
joerg
8eeb8277e5
Import dhcpcd 4.0.0-beta5.
...
dhcpcd is a small DHCP client, supporting most, if not all, features of
dhclient. It is much smaller (1/6 of the size on amd64), but still
supports many of the more advanced modern RFCs like IPv4LL (RFC 3927),
Classless Static Routes (RFC 3442) and Node-specific Client Identifiers
(RFC 4361). It was written by Roy Marpled, partly in reply to the
discussion of the DHCP client Sommer of Code project.
2008-05-24 19:37:41 +00:00
lukem
d974160208
Add missing prototypes.
...
(I don't know why am-utils doesn't use header files for public prototypes)
2008-05-22 14:22:28 +00:00
aymeric
00a7af4852
add a cast to make this file compile on amd64
2008-05-21 16:02:30 +00:00
aymeric
a3887e9573
. include <sys/stropts.h> only if !defined(__NetBSD__)
...
. use I_PUSH only if it is defined as a preprocessor macro because we
don't have it
2008-05-20 17:55:05 +00:00
aymeric
f8f1a54d4c
provide the emulation of DB4 with our DB1.
...
The relevant parts are completely broken or absent in the official release
of nvi
2008-05-20 17:53:18 +00:00
aymeric
2d56ffaa39
. add curly braces around structured elements of an array
...
. de-K&R prototype of lcmp()
2008-05-20 17:52:10 +00:00