Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/wrstuden-devbsize]: src Pull up to last week's -current.
details: https://anonhg.NetBSD.org/src/rev/b55d41b134b2
branches: wrstuden-devbsize
changeset: 479766:b55d41b134b2
user: wrstuden <wrstuden%NetBSD.org@localhost>
date: Mon Dec 27 18:36:57 1999 +0000
description:
Pull up to last week's -current.
diffstat:
usr.bin/ftp/complete.c | 127 +-
usr.bin/ftp/domacro.c | 12 +-
usr.bin/ftp/extern.h | 142 +-
usr.bin/ftp/fetch.c | 553 ++-
usr.bin/ftp/ftp.1 | 614 +++-
usr.bin/ftp/ftp.c | 830 +++---
usr.bin/ftp/ftp_var.h | 369 +-
usr.bin/ftp/main.c | 412 ++-
usr.bin/ftp/pathnames.h | 40 -
usr.bin/ftp/ruserpass.c | 9 +-
usr.bin/ftp/util.c | 800 ++++--
usr.bin/ftp/version.h | 2 +-
usr.bin/gencat/Makefile | 4 +-
usr.bin/gencat/gencat.1 | 101 +
usr.bin/getconf/getconf.c | 7 +-
usr.bin/getopt/getopt.1 | 38 +-
usr.bin/head/head.c | 6 +-
usr.bin/hexdump/display.c | 6 +-
usr.bin/id/id.c | 4 +-
usr.bin/ipcrm/ipcrm.1 | 8 +-
usr.bin/ipcs/ipcs.1 | 4 +-
usr.bin/ktrace/ktrace.c | 36 +-
usr.bin/ldd/ldd_elf/ldd.c | 9 +-
usr.bin/less/less/funcs.h | 4 +-
usr.bin/less/less/output.c | 5 +-
usr.bin/less/less/screen.c | 8 +-
usr.bin/login/k5login.c | 19 +-
usr.bin/login/login.c | 8 +-
usr.bin/mail/mail.1 | 9 +-
usr.bin/make/PSD.doc/tutorial.ms | 6 +-
usr.bin/make/dir.c | 12 +-
usr.bin/make/make.1 | 4 +-
usr.bin/man/man.c | 4 +-
usr.bin/man/man.conf.5 | 4 +-
usr.bin/midiplay/midiplay.1 | 4 +-
usr.bin/midiplay/midiplay.c | 36 +-
usr.bin/netstat/Makefile | 5 +-
usr.bin/netstat/if.c | 168 +-
usr.bin/netstat/inet.c | 310 +-
usr.bin/netstat/inet6.c | 353 ++-
usr.bin/netstat/main.c | 83 +-
usr.bin/netstat/mroute6.c | 80 +-
usr.bin/netstat/netstat.1 | 46 +-
usr.bin/netstat/netstat.h | 13 +-
usr.bin/netstat/route.c | 221 +-
usr.bin/newsyslog/Makefile | 3 +-
usr.bin/newsyslog/newsyslog.8 | 296 +-
usr.bin/newsyslog/newsyslog.c | 130 +-
usr.bin/pr/pr.1 | 6 +-
usr.bin/quota/quota.c | 64 +-
usr.bin/rpcgen/rpc_parse.c | 6 +-
usr.bin/sed/process.c | 6 +-
usr.bin/soelim/soelim.c | 8 +-
usr.bin/split/split.c | 4 +-
usr.bin/su/su.1 | 5 +-
usr.bin/su/su.c | 6 +-
usr.bin/systat/Makefile | 8 +-
usr.bin/systat/bufcache.c | 4 +-
usr.bin/systat/cmds.c | 186 +-
usr.bin/systat/cmdtab.c | 102 +-
usr.bin/systat/disks.c | 45 +-
usr.bin/systat/extern.h | 75 +-
usr.bin/systat/globalcmds.c | 2 +-
usr.bin/systat/iostat.c | 41 +-
usr.bin/systat/keyboard.c | 68 +-
usr.bin/systat/main.c | 70 +-
usr.bin/systat/netcmds.c | 95 +-
usr.bin/systat/netstat.c | 81 +-
usr.bin/systat/ps.c | 18 +-
usr.bin/systat/swap.c | 21 +-
usr.bin/systat/systat.1 | 159 +-
usr.bin/systat/systat.h | 12 +-
usr.bin/systat/vmstat.c | 78 +-
usr.bin/telnet/commands.c | 36 +-
usr.bin/telnet/sys_bsd.c | 6 +-
usr.bin/tftp/tftp.1 | 7 +-
usr.bin/tn3270/sys_curses/system.c | 8 +-
usr.bin/top/machine/m_netbsd13.c | 8 +-
usr.bin/top/screen.c | 6 +-
usr.bin/top/screen.h | 4 +-
usr.bin/touch/touch.c | 5 +-
usr.bin/tput/tput.c | 10 +-
usr.bin/tset/extern.h | 4 +-
usr.bin/tset/misc.c | 8 +-
usr.bin/tset/term.c | 6 +-
usr.bin/tset/tset.c | 8 +-
usr.bin/ul/ul.c | 10 +-
usr.bin/vi/cl/cl_term.c | 6 +-
usr.bin/vi/ex/ex_tag.c | 4 +-
usr.bin/vi/include/cl_extern.h | 4 +-
usr.bin/vmstat/vmstat.c | 80 +-
usr.bin/w/w.c | 10 +-
usr.bin/whereis/whereis.c | 6 +-
usr.bin/whois/whois.1 | 98 +-
usr.bin/whois/whois.c | 6 +-
usr.bin/window/tt.h | 6 +-
usr.bin/window/tttermcap.c | 10 +-
usr.bin/write/write.c | 6 +-
usr.bin/xstr/xstr.c | 8 +-
usr.bin/yacc/skeleton.c | 14 +-
usr.bin/ypcat/ypcat.1 | 4 +-
usr.bin/ypmatch/ypmatch.1 | 4 +-
usr.sbin/Makefile | 13 +-
usr.sbin/ac/ac.c | 7 +-
usr.sbin/amd/fixmount/fixmount.8 | 4 +-
usr.sbin/amd/wire-test/wire-test.8 | 4 +-
usr.sbin/apmd/Makefile | 5 +-
usr.sbin/bind/Makefile | 17 +-
usr.sbin/bind/Makefile.inc | 8 +-
usr.sbin/bind/dig/Makefile | 9 +-
usr.sbin/bind/dig/dig.c | 1245 ----------
usr.sbin/bind/dnskeygen/Makefile | 2 +-
usr.sbin/bind/dnsquery/Makefile | 7 +-
usr.sbin/bind/dnsquery/dnsquery.c | 209 -
usr.sbin/bind/host/Makefile | 7 +-
usr.sbin/bind/host/host.c | 1413 -----------
usr.sbin/bind/include/arpa/nameser.h | 454 ---
usr.sbin/bind/include/arpa/nameser_compat.h | 226 -
usr.sbin/bind/include/fd_setsize.h | 11 -
usr.sbin/bind/include/hesiod.h | 39 -
usr.sbin/bind/include/isc/assertions.h | 124 -
usr.sbin/bind/include/isc/eventlib.h | 193 -
usr.sbin/bind/include/isc/heap.h | 49 -
usr.sbin/bind/include/isc/list.h | 103 -
usr.sbin/bind/include/isc/logging.h | 100 -
usr.sbin/bind/include/isc/memcluster.h | 42 -
usr.sbin/bind/include/isc/misc.h | 31 -
usr.sbin/bind/include/isc/tree.h | 50 -
usr.sbin/bind/include/namespace.h | 6 +-
usr.sbin/bind/include/port_after.h | 41 -
usr.sbin/bind/include/port_before.h | 10 -
usr.sbin/bind/include/resolv.h | 311 --
usr.sbin/bind/lib/Makefile | 46 +-
usr.sbin/bind/lib/inet/Makefile.inc | 7 -
usr.sbin/bind/lib/inet/hostnamelen.c | 96 -
usr.sbin/bind/lib/inet/inet_addr.c | 187 -
usr.sbin/bind/lib/inet/inet_lnaof.c | 65 -
usr.sbin/bind/lib/inet/inet_makeaddr.c | 68 -
usr.sbin/bind/lib/inet/inet_net_ntop.c | 145 -
usr.sbin/bind/lib/inet/inet_net_pton.c | 214 -
usr.sbin/bind/lib/inet/inet_neta.c | 89 -
usr.sbin/bind/lib/inet/inet_netof.c | 64 -
usr.sbin/bind/lib/inet/inet_network.c | 98 -
usr.sbin/bind/lib/inet/inet_ntoa.c | 64 -
usr.sbin/bind/lib/inet/inet_ntop.c | 203 -
usr.sbin/bind/lib/inet/inet_pton.c | 217 -
usr.sbin/bind/lib/inet/nsap_addr.c | 103 -
usr.sbin/bind/lib/isc/Makefile.inc | 7 -
usr.sbin/bind/lib/isc/assertions.c | 92 -
usr.sbin/bind/lib/isc/base64.c | 322 --
usr.sbin/bind/lib/isc/bitncmp.c | 68 -
usr.sbin/bind/lib/isc/ev_connects.c | 318 --
usr.sbin/bind/lib/isc/ev_files.c | 273 --
usr.sbin/bind/lib/isc/ev_streams.c | 303 --
usr.sbin/bind/lib/isc/ev_timers.c | 408 ---
usr.sbin/bind/lib/isc/ev_waits.c | 247 --
usr.sbin/bind/lib/isc/eventlib.c | 658 -----
usr.sbin/bind/lib/isc/eventlib_p.h | 201 -
usr.sbin/bind/lib/isc/heap.c | 223 -
usr.sbin/bind/lib/isc/logging.c | 676 -----
usr.sbin/bind/lib/isc/logging_p.h | 60 -
usr.sbin/bind/lib/isc/memcluster.c | 317 --
usr.sbin/bind/lib/isc/tree.c | 534 ----
usr.sbin/bind/lib/nameser/Makefile.inc | 5 -
usr.sbin/bind/lib/nameser/ns_name.c | 599 ----
usr.sbin/bind/lib/nameser/ns_netint.c | 60 -
usr.sbin/bind/lib/nameser/ns_parse.c | 196 -
usr.sbin/bind/lib/nameser/ns_print.c | 753 ------
usr.sbin/bind/lib/nameser/ns_ttl.c | 161 -
usr.sbin/bind/lib/resolv/Makefile.inc | 7 -
usr.sbin/bind/lib/resolv/herror.c | 114 -
usr.sbin/bind/lib/resolv/res_comp.c | 251 --
usr.sbin/bind/lib/resolv/res_data.c | 85 -
usr.sbin/bind/lib/resolv/res_debug.c | 976 -------
usr.sbin/bind/lib/resolv/res_init.c | 483 ---
usr.sbin/bind/lib/resolv/res_mkquery.c | 203 -
usr.sbin/bind/lib/resolv/res_mkupdate.c | 421 ---
usr.sbin/bind/lib/resolv/res_mkupdate.h | 9 -
usr.sbin/bind/lib/resolv/res_query.c | 410 ---
usr.sbin/bind/lib/resolv/res_send.c | 811 ------
usr.sbin/bind/lib/resolv/res_update.c | 520 ----
usr.sbin/bind/man/dig.1 | 681 -----
usr.sbin/bind/man/dnsquery.1 | 180 -
usr.sbin/bind/man/host.1 | 317 --
usr.sbin/bind/man/named-bootconf.8 | 55 -
usr.sbin/bind/man/named-xfer.8 | 149 -
usr.sbin/bind/man/named.8 | 451 ---
usr.sbin/bind/man/named.conf.5 | 2082 -----------------
usr.sbin/bind/man/ndc.8 | 144 -
usr.sbin/bind/man/nslookup.8 | 538 ----
usr.sbin/bind/named-bootconf/Makefile | 2 +-
usr.sbin/bind/named-xfer/Makefile | 16 +-
usr.sbin/bind/named-xfer/named-xfer.c | 2179 -----------------
usr.sbin/bind/named/Makefile | 35 +-
usr.sbin/bind/named/db_defs.h | 235 -
usr.sbin/bind/named/db_dict.c | 113 -
usr.sbin/bind/named/db_dump.c | 637 -----
usr.sbin/bind/named/db_func.h | 153 -
usr.sbin/bind/named/db_glob.h | 96 -
usr.sbin/bind/named/db_glue.c | 618 -----
usr.sbin/bind/named/db_load.c | 2220 ------------------
usr.sbin/bind/named/db_lookup.c | 271 --
usr.sbin/bind/named/db_save.c | 223 -
usr.sbin/bind/named/db_update.c | 934 -------
usr.sbin/bind/named/named-bootconf.sh | 253 --
usr.sbin/bind/named/named.conf | 431 ---
usr.sbin/bind/named/named.h | 70 -
usr.sbin/bind/named/ns_config.c | 2371 -------------------
usr.sbin/bind/named/ns_defs.h | 758 ------
usr.sbin/bind/named/ns_forw.c | 1134 ---------
usr.sbin/bind/named/ns_func.h | 382 ---
usr.sbin/bind/named/ns_glob.h | 321 --
usr.sbin/bind/named/ns_glue.c | 418 ---
usr.sbin/bind/named/ns_init.c | 514 ----
usr.sbin/bind/named/ns_lexer.c | 752 ------
usr.sbin/bind/named/ns_lexer.h | 47 -
usr.sbin/bind/named/ns_main.c | 2243 ------------------
usr.sbin/bind/named/ns_maint.c | 1213 ---------
usr.sbin/bind/named/ns_ncache.c | 228 -
usr.sbin/bind/named/ns_parser.h | 112 -
usr.sbin/bind/named/ns_parser.y | 1475 ------------
usr.sbin/bind/named/ns_parseutil.c | 244 -
usr.sbin/bind/named/ns_parseutil.h | 67 -
usr.sbin/bind/named/ns_req.c | 1671 -------------
usr.sbin/bind/named/ns_resp.c | 3300 ---------------------------
usr.sbin/bind/named/ns_stats.c | 417 ---
usr.sbin/bind/named/ns_udp.c | 125 -
usr.sbin/bind/named/ns_update.c | 2397 -------------------
usr.sbin/bind/named/ns_xfr.c | 644 -----
usr.sbin/bind/named/pathnames.c | 57 -
usr.sbin/bind/named/pathnames.h | 72 -
usr.sbin/bind/named/pathtemplate.h | 72 -
usr.sbin/bind/named/version.c | 91 -
usr.sbin/bind/ndc/Makefile | 29 +-
usr.sbin/bind/ndc/ndc.sh | 89 -
usr.sbin/bind/nslookup/Makefile | 12 +-
usr.sbin/bind/nslookup/commands.l | 222 -
usr.sbin/bind/nslookup/debug.c | 649 -----
usr.sbin/bind/nslookup/getinfo.c | 875 -------
usr.sbin/bind/nslookup/list.c | 624 -----
usr.sbin/bind/nslookup/main.c | 1127 ---------
usr.sbin/bind/nslookup/nslookup.help | 35 -
usr.sbin/bind/nslookup/pathnames.h | 73 -
usr.sbin/bind/nslookup/res.h | 185 -
usr.sbin/bind/nslookup/send.c | 417 ---
usr.sbin/bind/nslookup/skip.c | 220 -
usr.sbin/bind/nslookup/subr.c | 477 ---
usr.sbin/bind/nsupdate/Makefile | 9 +-
usr.sbin/bind/nsupdate/nsupdate.c | 473 ---
usr.sbin/bind/reload/named.reload.sh | 2 +-
usr.sbin/bind/restart/named.restart.sh | 2 +-
usr.sbin/bootp/bootptest/bootptest.c | 6 +-
usr.sbin/chown/chown.c | 6 +-
usr.sbin/cnwctl/Makefile | 2 +-
usr.sbin/cnwctl/cnwctl.8 | 2 +-
usr.sbin/cnwctl/cnwctl.c | 2 +-
usr.sbin/config/main.c | 3 +-
usr.sbin/config/mkioconf.c | 29 +-
usr.sbin/config/pack.c | 4 +-
usr.sbin/dhcp/client/dhclient.c | 12 +-
usr.sbin/dhcp/server/Makefile | 9 +
usr.sbin/dhcp/server/bootp.c | 12 +-
usr.sbin/edquota/edquota.c | 17 +-
usr.sbin/faithd/README | 8 +-
usr.sbin/faithd/faithd.8 | 18 +-
usr.sbin/faithd/faithd.c | 120 +-
usr.sbin/faithd/faithd.h | 4 +-
usr.sbin/faithd/ftp.c | 88 +-
usr.sbin/faithd/rsh.c | 10 +-
usr.sbin/gifconfig/gifconfig.8 | 61 +-
usr.sbin/gifconfig/gifconfig.c | 4 +-
usr.sbin/greconfig/greconfig.8 | 4 +-
usr.sbin/greconfig/greconfig.c | 4 +-
usr.sbin/ifmcstat/ifmcstat.8 | 7 +-
usr.sbin/ifmcstat/ifmcstat.c | 182 +-
usr.sbin/inetd/inetd.8 | 35 +-
usr.sbin/inetd/inetd.c | 28 +-
usr.sbin/ipf/Makefile.inc | 7 +-
usr.sbin/ipf/ipf/LICENCE | 16 -
usr.sbin/ipf/ipf/Makefile | 6 +-
usr.sbin/ipf/ipf/ipf.4 | 215 -
usr.sbin/ipf/ipf/ipf.5 | 494 ----
usr.sbin/ipf/ipf/ipf.8 | 125 -
usr.sbin/ipf/ipf/ipf.c | 496 ----
usr.sbin/ipf/ipf/ipf.h | 89 -
usr.sbin/ipf/ipf/ipl.4 | 139 -
usr.sbin/ipf/ipf/opt.c | 180 -
usr.sbin/ipf/ipf/parse.c | 1358 -----------
usr.sbin/ipf/ipfilter2netbsd | 424 ---
usr.sbin/ipf/ipfstat/Makefile | 6 +-
usr.sbin/ipf/ipfstat/fils.c | 511 ----
usr.sbin/ipf/ipfstat/ipfstat.8 | 82 -
usr.sbin/ipf/ipfstat/kmem.c | 69 -
usr.sbin/ipf/ipfstat/kmem.h | 27 -
usr.sbin/ipf/ipftest/Makefile | 8 +-
usr.sbin/ipf/ipftest/ipft_ef.c | 156 -
usr.sbin/ipf/ipftest/ipft_hx.c | 174 -
usr.sbin/ipf/ipftest/ipft_pc.c | 233 -
usr.sbin/ipf/ipftest/ipft_sn.c | 215 -
usr.sbin/ipf/ipftest/ipft_td.c | 193 -
usr.sbin/ipf/ipftest/ipft_tx.c | 347 --
usr.sbin/ipf/ipftest/ipftest.1 | 128 -
usr.sbin/ipf/ipftest/ipt.c | 224 -
usr.sbin/ipf/ipftest/ipt.h | 32 -
usr.sbin/ipf/ipftest/misc.c | 107 -
usr.sbin/ipf/ipftest/pcap.h | 37 -
usr.sbin/ipf/ipftest/snoop.h | 49 -
usr.sbin/ipf/ipmon/Makefile | 5 +-
usr.sbin/ipf/ipmon/ipmon.8 | 156 -
usr.sbin/ipf/ipmon/ipmon.c | 970 -------
usr.sbin/ipf/ipnat/Makefile | 6 +-
usr.sbin/ipf/ipnat/ipnat.4 | 98 -
usr.sbin/ipf/ipnat/ipnat.5 | 76 -
usr.sbin/ipf/ipnat/ipnat.8 | 79 -
usr.sbin/ipf/ipnat/ipnat.c | 901 -------
usr.sbin/ipf/ipresend/Makefile | 9 +-
usr.sbin/ipf/ipresend/ipresend.1 | 107 -
usr.sbin/ipf/ipresend/ipresend.c | 168 -
usr.sbin/ipf/ipresend/resend.c | 144 -
usr.sbin/ipf/ipsend/44arp.c | 111 -
usr.sbin/ipf/ipsend/Makefile | 16 +-
usr.sbin/ipf/ipsend/ip.c | 349 --
usr.sbin/ipf/ipsend/iplang.h | 56 -
usr.sbin/ipf/ipsend/iplang.tst | 11 -
usr.sbin/ipf/ipsend/iplang_l.l | 322 --
usr.sbin/ipf/ipsend/iplang_y.y | 1868 ---------------
usr.sbin/ipf/ipsend/ipsend.1 | 111 -
usr.sbin/ipf/ipsend/ipsend.5 | 403 ---
usr.sbin/ipf/ipsend/ipsend.c | 402 ---
usr.sbin/ipf/ipsend/ipsend.h | 69 -
usr.sbin/ipf/ipsend/ipsopt.c | 197 -
usr.sbin/ipf/ipsend/sbpf.c | 138 -
usr.sbin/ipf/ipsend/tcpip.h | 93 -
usr.sbin/ipf/iptest/Makefile | 6 +-
usr.sbin/ipf/iptest/iptest.1 | 103 -
usr.sbin/ipf/iptest/iptest.c | 226 -
usr.sbin/ipf/iptest/iptests.c | 1335 ----------
usr.sbin/ipf/iptest/sock.c | 397 ---
usr.sbin/ipf/rules/BASIC.NAT | 45 -
usr.sbin/ipf/rules/BASIC_1.FW | 99 -
usr.sbin/ipf/rules/BASIC_2.FW | 72 -
usr.sbin/ipf/rules/Makefile | 3 +-
usr.sbin/ipf/rules/example.1 | 4 -
usr.sbin/ipf/rules/example.10 | 12 -
usr.sbin/ipf/rules/example.11 | 26 -
usr.sbin/ipf/rules/example.12 | 17 -
usr.sbin/ipf/rules/example.13 | 17 -
usr.sbin/ipf/rules/example.2 | 5 -
usr.sbin/ipf/rules/example.3 | 40 -
usr.sbin/ipf/rules/example.4 | 4 -
usr.sbin/ipf/rules/example.5 | 25 -
usr.sbin/ipf/rules/example.6 | 5 -
usr.sbin/ipf/rules/example.7 | 12 -
usr.sbin/ipf/rules/example.8 | 10 -
usr.sbin/ipf/rules/example.9 | 12 -
usr.sbin/ipf/rules/example.sr | 61 -
usr.sbin/ipf/rules/firewall | 39 -
usr.sbin/ipf/rules/ftp-proxy | 40 -
usr.sbin/ipf/rules/ftppxy | 6 -
usr.sbin/ipf/rules/mediaone | 45 -
usr.sbin/ipf/rules/mkfilters | 73 -
usr.sbin/ipf/rules/mkfilters.1 | 16 -
usr.sbin/ipf/rules/nat-setup | 77 -
usr.sbin/ipf/rules/nat.eg | 14 -
usr.sbin/ipf/rules/server | 11 -
usr.sbin/ipf/rules/tcpstate | 13 -
usr.sbin/kvm_mkdb/kvm_mkdb.8 | 9 +-
usr.sbin/kvm_mkdb/kvm_mkdb.c | 36 +-
usr.sbin/kvm_mkdb/nlist_elf32.c | 27 +-
usr.sbin/lpr/common_source/Makefile | 4 +-
usr.sbin/lpr/common_source/common.c | 74 +-
usr.sbin/lpr/common_source/common_vars.c | 4 +-
usr.sbin/lpr/common_source/displayq.c | 41 +-
usr.sbin/lpr/common_source/fatal.c | 4 +-
usr.sbin/lpr/common_source/lp.h | 3 +-
usr.sbin/lpr/common_source/rmjob.c | 33 +-
usr.sbin/lpr/common_source/startdaemon.c | 10 +-
usr.sbin/lpr/filters/lpf.c | 22 +-
usr.sbin/lpr/lpd/lpd.8 | 34 +-
usr.sbin/lpr/lpd/lpd.c | 71 +-
usr.sbin/lpr/lpd/printjob.c | 124 +-
usr.sbin/lpr/lpq/lpq.c | 14 +-
usr.sbin/lpr/lprm/lprm.c | 18 +-
usr.sbin/lpr/pac/pac.c | 157 +-
usr.sbin/mdconfig/mdconfig.8 | 6 +-
usr.sbin/mdsetimage/exec_elf32.c | 13 +-
usr.sbin/mopd/mopchk/mopchk.1 | 4 +-
usr.sbin/mountd/mountd.c | 91 +-
usr.sbin/mtrace/mtrace.8 | 4 +-
usr.sbin/mtree/Makefile | 2 +-
usr.sbin/mtree/create.c | 13 +-
usr.sbin/mtree/extern.h | 2 +-
usr.sbin/mtree/mtree.8 | 9 +-
usr.sbin/mtree/spec.c | 8 +-
usr.sbin/ndp/ndp.8 | 24 +-
usr.sbin/ndp/ndp.c | 264 +-
usr.sbin/netgroup_mkdb/netgroup_mkdb.c | 8 +-
usr.sbin/netgroup_mkdb/util.c | 10 +-
usr.sbin/ntp/ntp2netbsd | 2 +-
usr.sbin/pim6dd/LICENSE.pimd | 2 +-
usr.sbin/pim6dd/debug.c | 6 +-
usr.sbin/pim6dd/defs.h | 12 +-
usr.sbin/pim6dd/mld6.c | 501 ++-
usr.sbin/pim6dd/mld6_proto.c | 10 +-
usr.sbin/pim6dd/pathnames.h | 14 +-
usr.sbin/pim6dd/pim6.c | 6 +-
usr.sbin/pim6dd/pim6_proto.c | 50 +-
usr.sbin/pim6dd/pim6dd.conf.5 | 4 +-
usr.sbin/pim6dd/route.c | 8 +-
usr.sbin/pim6dd/routesock.c | 18 +-
usr.sbin/pim6dd/timer.c | 8 +-
usr.sbin/pim6dd/trace.c | 138 +-
usr.sbin/pim6dd/trace.h | 71 +-
usr.sbin/pim6dd/vif.c | 79 +-
usr.sbin/pkg_install/README | 5 +-
usr.sbin/pkg_install/add/main.c | 16 +-
usr.sbin/pkg_install/add/perform.c | 81 +-
usr.sbin/pkg_install/add/pkg_add.1 | 4 +-
usr.sbin/pkg_install/admin/main.c | 4 +-
usr.sbin/pkg_install/create/create.h | 6 +-
usr.sbin/pkg_install/create/main.c | 20 +-
usr.sbin/pkg_install/create/perform.c | 20 +-
usr.sbin/pkg_install/create/pkg_create.1 | 33 +-
usr.sbin/pkg_install/create/pl.c | 4 +-
usr.sbin/pkg_install/delete/main.c | 6 +-
usr.sbin/pkg_install/delete/perform.c | 54 +-
usr.sbin/pkg_install/info/info.h | 34 +-
usr.sbin/pkg_install/info/main.c | 16 +-
usr.sbin/pkg_install/info/perform.c | 10 +-
usr.sbin/pkg_install/info/pkg_info.1 | 13 +-
usr.sbin/pkg_install/info/show.c | 9 +-
usr.sbin/pkg_install/lib/file.c | 14 +-
usr.sbin/pkg_install/lib/lib.h | 4 +-
usr.sbin/pkg_install/lib/lpkg.c | 4 +-
usr.sbin/pkg_install/lib/pkgdb.c | 6 +-
usr.sbin/pkg_install/lib/plist.c | 4 +-
usr.sbin/pkg_install/lib/str.c | 8 +-
usr.sbin/pppd/pppd/options.c | 7 +-
usr.sbin/pppd/pppd/pppd.8 | 8 +-
usr.sbin/pstat/pstat.8 | 35 +-
usr.sbin/pstat/pstat.c | 126 +-
usr.sbin/pwd_mkdb/pwd_mkdb.8 | 4 +-
usr.sbin/quot/quot.8 | 4 +-
usr.sbin/quot/quot.c | 18 +-
usr.sbin/rarpd/rarpd.c | 6 +-
usr.sbin/repquota/repquota.c | 5 +-
usr.sbin/rip6query/rip6query.c | 142 +-
usr.sbin/route6d/route6d.8 | 12 +-
usr.sbin/route6d/route6d.h | 6 +-
usr.sbin/rtadvd/advcap.c | 4 +-
usr.sbin/rtadvd/if.c | 7 +-
usr.sbin/rtadvd/rtadvd.8 | 8 +-
usr.sbin/rtadvd/rtadvd.c | 67 +-
usr.sbin/rtsold/Makefile | 4 +-
usr.sbin/rtsold/dump.c | 2 +-
usr.sbin/rtsold/if.c | 13 +-
usr.sbin/rtsold/probe.c | 5 +-
usr.sbin/rtsold/rtsol.c | 15 +-
usr.sbin/rtsold/rtsold.8 | 26 +-
usr.sbin/rtsold/rtsold.c | 65 +-
usr.sbin/rtsold/rtsold.h | 7 +-
usr.sbin/rwhod/rwhod.c | 8 +-
usr.sbin/slstats/slstats.c | 23 +-
usr.sbin/sup/source/sup.1 | 14 +-
usr.sbin/sysctl/sysctl.8 | 57 +-
usr.sbin/sysctl/sysctl.c | 164 +-
usr.sbin/syslogd/Makefile | 6 +-
usr.sbin/syslogd/pathnames.h | 3 +-
usr.sbin/syslogd/syslog.conf.5 | 3 +-
usr.sbin/syslogd/syslogd.8 | 9 +-
usr.sbin/syslogd/syslogd.c | 231 +-
usr.sbin/tadpolectl/Makefile | 2 +-
usr.sbin/tadpolectl/tadpolectl.8 | 2 +-
usr.sbin/tadpolectl/tadpolectl.c | 2 +-
usr.sbin/tcpdump/Makefile | 7 +-
usr.sbin/tcpdump/addrtoname.c | 6 +-
usr.sbin/tcpdump/dhcp6.h | 2 +-
usr.sbin/tcpdump/dhcp6opt.h | 2 +-
usr.sbin/tcpdump/interface.h | 15 +-
usr.sbin/tcpdump/print-arcnet.c | 4 +-
usr.sbin/tcpdump/print-ascii.c | 4 +-
usr.sbin/tcpdump/print-bgp.c | 2 +-
usr.sbin/tcpdump/print-dhcp6.c | 4 +-
usr.sbin/tcpdump/print-frag6.c | 32 +-
usr.sbin/tcpdump/print-icmp6.c | 10 +-
usr.sbin/tcpdump/print-ip6.c | 18 +-
usr.sbin/tcpdump/print-ip6opts.c | 10 +-
usr.sbin/tcpdump/print-isakmp.c | 40 +-
usr.sbin/tcpdump/print-pim.c | 16 +-
usr.sbin/tcpdump/print-ripng.c | 30 +-
usr.sbin/tcpdump/print-tcp.c | 18 +-
usr.sbin/tcpdump/print-telnet.c | 4 +-
usr.sbin/tcpdump/print-udp.c | 10 +-
usr.sbin/tcpdump/tcpdump.8 | 24 +-
usr.sbin/tcpdump/tcpdump.c | 22 +-
usr.sbin/traceroute6/traceroute6.8 | 4 +-
usr.sbin/update/Makefile | 10 -
usr.sbin/update/update.8 | 79 -
usr.sbin/update/update.c | 129 -
usr.sbin/user/Makefile | 45 +
usr.sbin/user/defs.h | 62 +
usr.sbin/user/group.8 | 89 +
usr.sbin/user/groupadd.8 | 77 +
usr.sbin/user/groupdel.8 | 71 +
usr.sbin/user/groupmod.8 | 81 +
usr.sbin/user/user.8 | 129 +
usr.sbin/user/user.c | 1261 ++++++++++
usr.sbin/user/useradd.8 | 230 +
usr.sbin/user/userdel.8 | 111 +
usr.sbin/user/usermgmt.h | 117 +
usr.sbin/user/usermod.8 | 172 +
usr.sbin/wsconscfg/wsconscfg.c | 11 +-
usr.sbin/xntp/html/Makefile | 4 +-
usr.sbin/xntp/ntpq/ntpq.8 | 4 +-
usr.sbin/xntp/ntptrace/ntptrace.8 | 4 +-
usr.sbin/ypserv/mkalias/mkalias.8 | 5 +-
usr.sbin/ypserv/ypinit/Makefile.yp | 56 +-
517 files changed, 10162 insertions(+), 77426 deletions(-)
diffs (truncated from 101041 to 300 lines):
diff -r dc53d4093525 -r b55d41b134b2 usr.bin/ftp/complete.c
--- a/usr.bin/ftp/complete.c Mon Dec 27 18:26:56 1999 +0000
+++ b/usr.bin/ftp/complete.c Mon Dec 27 18:36:57 1999 +0000
@@ -1,7 +1,7 @@
-/* $NetBSD: complete.c,v 1.27 1999/09/22 03:01:53 lukem Exp $ */
+/* $NetBSD: complete.c,v 1.27.2.1 1999/12/27 18:36:57 wrstuden Exp $ */
/*-
- * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
+ * Copyright (c) 1997-1999 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
@@ -17,8 +17,8 @@
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
- * This product includes software developed by the NetBSD
- * Foundation, Inc. and its contributors.
+ * This product includes software developed by the NetBSD
+ * Foundation, Inc. and its contributors.
* 4. Neither the name of The NetBSD Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: complete.c,v 1.27 1999/09/22 03:01:53 lukem Exp $");
+__RCSID("$NetBSD: complete.c,v 1.27.2.1 1999/12/27 18:36:57 wrstuden Exp $");
#endif /* not lint */
/*
@@ -46,7 +46,6 @@
*/
#include <sys/stat.h>
-#include <signal.h>
#include <ctype.h>
#include <err.h>
@@ -63,6 +62,7 @@
static unsigned char complete_ambiguous __P((char *, int, StringList *));
static unsigned char complete_command __P((char *, int));
static unsigned char complete_local __P((char *, int));
+static unsigned char complete_option __P((char *, int));
static unsigned char complete_remote __P((char *, int));
static int
@@ -147,14 +147,14 @@
size_t wordlen;
unsigned char rv;
- words = sl_init();
+ words = xsl_init();
wordlen = strlen(word);
for (c = cmdtab; c->c_name != NULL; c++) {
if (wordlen > strlen(c->c_name))
continue;
if (strncmp(word, c->c_name, wordlen) == 0)
- sl_add(words, c->c_name);
+ xsl_add(words, c->c_name);
}
rv = complete_ambiguous(word, list, words);
@@ -190,37 +190,30 @@
if (file == word) {
dir[0] = '/';
dir[1] = '\0';
- } else {
- (void)strncpy(dir, word, file - word);
- dir[file - word] = '\0';
- }
+ } else
+ (void)strlcpy(dir, word, file - word + 1);
file++;
}
if (dir[0] == '~') {
char *p;
- p = dir;
- if (!globulize(&p))
+ if ((p = globulize(dir)) == NULL)
return (CC_ERROR);
- if (p != dir) {
- strncpy(dir, p, sizeof(dir));
- dir[sizeof(dir)-1] = '\0';
- free(p);
- }
+ (void)strlcpy(dir, p, sizeof(dir));
+ free(p);
}
if ((dd = opendir(dir)) == NULL)
return (CC_ERROR);
- words = sl_init();
-
+ words = xsl_init();
len = strlen(file);
for (dp = readdir(dd); dp != NULL; dp = readdir(dd)) {
if (!strcmp(dp->d_name, ".") || !strcmp(dp->d_name, ".."))
continue;
-#if defined(__SVR4) || defined(__linux__)
+#if defined(DIRENT_MISSING_D_NAMLEN)
if (len > strlen(dp->d_name))
continue;
#else
@@ -231,7 +224,7 @@
char *tcp;
tcp = xstrdup(dp->d_name);
- sl_add(words, tcp);
+ xsl_add(words, tcp);
}
}
closedir(dd);
@@ -241,9 +234,9 @@
struct stat sb;
char path[MAXPATHLEN];
- strlcpy(path, dir, sizeof(path));
- strlcat(path, "/", sizeof(path));
- strlcat(path, words->sl_str[0], sizeof(path));
+ (void)strlcpy(path, dir, sizeof(path));
+ (void)strlcat(path, "/", sizeof(path));
+ (void)strlcat(path, words->sl_str[0], sizeof(path));
if (stat(path, &sb) >= 0) {
char suffix[2] = " ";
@@ -257,6 +250,37 @@
sl_free(words, 1);
return (rv);
}
+/*
+ * Complete an option
+ */
+static unsigned char
+complete_option(word, list)
+ char *word;
+ int list;
+{
+ struct option *o;
+ StringList *words;
+ size_t wordlen;
+ unsigned char rv;
+
+ words = xsl_init();
+ wordlen = strlen(word);
+
+ for (o = optiontab; o->name != NULL; o++) {
+ if (wordlen > strlen(o->name))
+ continue;
+ if (strncmp(word, o->name, wordlen) == 0)
+ xsl_add(words, o->name);
+ }
+
+ rv = complete_ambiguous(word, list, words);
+ if (rv == CC_REFRESH) {
+ if (el_insertstr(el, " ") == -1)
+ rv = CC_ERROR;
+ }
+ sl_free(words, 0);
+ return (rv);
+}
/*
* Complete a remote file
@@ -278,24 +302,23 @@
dummyargv[1] = dir;
if ((file = strrchr(word, '/')) == NULL) {
- dir[0] = '.';
- dir[1] = '\0';
+ dir[0] = '\0';
file = word;
} else {
cp = file;
while (*cp == '/' && cp > word)
cp--;
- (void)strncpy(dir, word, cp - word + 1);
- dir[cp - word + 1] = '\0';
+ (void)strlcpy(dir, word, cp - word + 2);
file++;
}
- if (dirchange || strcmp(dir, lastdir) != 0) { /* dir not cached */
+ if (dirchange || dirlist == NULL ||
+ strcmp(dir, lastdir) != 0) { /* dir not cached */
char *emesg;
if (dirlist != NULL)
sl_free(dirlist, 1);
- dirlist = sl_init();
+ dirlist = xsl_init();
mflag = 1;
emesg = NULL;
@@ -314,23 +337,23 @@
else
tcp = cp;
tcp = xstrdup(tcp);
- sl_add(dirlist, tcp);
+ xsl_add(dirlist, tcp);
}
if (emesg != NULL) {
fprintf(ttyout, "\n%s\n", emesg);
return (CC_REDISPLAY);
}
- (void)strcpy(lastdir, dir);
+ (void)strlcpy(lastdir, dir, sizeof(lastdir));
dirchange = 0;
}
- words = sl_init();
+ words = xsl_init();
for (i = 0; i < dirlist->sl_cur; i++) {
cp = dirlist->sl_str[i];
if (strlen(file) > strlen(cp))
continue;
if (strncmp(file, cp, strlen(file)) == 0)
- sl_add(words, cp);
+ xsl_add(words, cp);
}
rv = complete_ambiguous(file, list, words);
sl_free(words, 0);
@@ -350,15 +373,14 @@
struct cmd *c;
const LineInfo *lf;
- int celems, dolist;
+ int celems, dolist, cmpltype;
size_t len;
lf = el_line(el);
len = lf->lastchar - lf->buffer;
if (len >= sizeof(line))
return (CC_ERROR);
- (void)strncpy(line, lf->buffer, len);
- line[len] = '\0';
+ (void)strlcpy(line, lf->buffer, len + 1);
cursor_pos = line + (lf->cursor - lf->buffer);
lastc_argc = cursor_argc; /* remember last cursor pos */
lastc_argo = cursor_argo;
@@ -370,10 +392,11 @@
dolist = 0;
/* if cursor and word is same, list alternatives */
if (lastc_argc == cursor_argc && lastc_argo == cursor_argo
- && strncmp(word, margv[cursor_argc], cursor_argo) == 0)
+ && strncmp(word, margv[cursor_argc] ? margv[cursor_argc] : "",
+ cursor_argo) == 0)
dolist = 1;
- else
- (void)strncpy(word, margv[cursor_argc], cursor_argo);
+ else if (cursor_argc < margc)
+ (void)strlcpy(word, margv[cursor_argc], cursor_argo + 1);
word[cursor_argo] = '\0';
if (cursor_argc == 0)
@@ -392,10 +415,20 @@
if (cursor_argc > celems)
return (CC_ERROR);
- switch (c->c_complete[cursor_argc - 1]) {
+ cmpltype = c->c_complete[cursor_argc - 1];
+ switch (cmpltype) {
+ case 'c': /* command complete */
+ case 'C':
+ return (complete_command(word, dolist));
case 'l': /* local complete */
case 'L':
return (complete_local(word, dolist));
+ case 'n': /* no complete */
+ case 'N': /* no complete */
+ return (CC_ERROR);
+ case 'o': /* local complete */
+ case 'O':
+ return (complete_option(word, dolist));
case 'r': /* remote complete */
case 'R':
if (connected != -1) {
@@ -404,15 +437,11 @@
return (CC_REDISPLAY);
}
return (complete_remote(word, dolist));
- case 'c': /* command complete */
- case 'C':
- return (complete_command(word, dolist));
- case 'n': /* no complete */
default:
+ errx(1, "unknown complete type `%c'", cmpltype);
return (CC_ERROR);
}
-
- return (CC_ERROR);
+ /* NOTREACHED */
}
Home |
Main Index |
Thread Index |
Old Index