Commit Graph

3328 Commits

Author SHA1 Message Date
Bruce Evans
a36805bd93 Quick fix for breakage of non-i386 arches in previous commit. Only
use TARGET_PROFILER_EPILOGUE if it is defined.
2004-01-06 10:38:48 +00:00
Alexander Kabaev
973e839bed Fix -mprofiler-epilogue on i386. This should be extended to other
architectures in future.

Submitted by:	bde
2004-01-05 22:23:27 +00:00
Alexander Kabaev
21d20e72de This commit was generated by cvs2svn to compensate for changes in r124158,
which included commits to RCS files with non-trunk default branches.
2004-01-05 21:24:05 +00:00
Alexander Kabaev
3d0c062d5c This commit was generated by cvs2svn to compensate for changes in r124156,
which included commits to RCS files with non-trunk default branches.
2004-01-05 21:21:27 +00:00
Alexander Kabaev
762a596353 This commit was generated by cvs2svn to compensate for changes in r124154,
which included commits to RCS files with non-trunk default branches.
2004-01-05 21:04:41 +00:00
Alexander Kabaev
8412b382ed This commit was generated by cvs2svn to compensate for changes in r124151,
which included commits to RCS files with non-trunk default branches.
2004-01-05 20:27:51 +00:00
Philippe Charnier
5125c6f5c6 Move cvs id from comment to code. Use errx(). Add a return (0) at the end
of main().
2004-01-04 11:11:02 +00:00
Philippe Charnier
49321314c1 add section number to .Xr directive 2004-01-04 10:56:22 +00:00
Guido van Rooij
6b11e29d1e if_name and if_unit renaming to if_xname should be dealth with in
ipmon as well.
2004-01-02 13:10:47 +00:00
Ceri Davies
c0b3834d3c Correct compilation with "#define really_paranoid".
PR:		bin/59674
Submitted by:	Vaclav Rehak <vasek@zoom-int.cz>
2003-12-27 14:58:00 +00:00
Alexander Kabaev
6c9999e01d Fix ASM_OUTPUT_LABELREF to deal with TSL model prefixes GCC
started to use internally. They need to be stripped before
the name of the label or symbol is printed.
2003-12-22 04:27:17 +00:00
David E. O'Brien
2572485481 One might want to correctly generate 32-bit code on an Opteron.
Submitted by:	peter
2003-12-16 05:40:06 +00:00
David E. O'Brien
6778cdfd3f Consistently define __LP64__ on all our 64-bit platforms. 2003-12-15 10:34:01 +00:00
Dag-Erling Smørgrav
e3f7e72e1a MFP4: really fix resp issue, and don't trim trailing spaces (#43727) 2003-12-10 16:46:08 +00:00
Dag-Erling Smørgrav
26c965f8aa This commit was generated by cvs2svn to compensate for changes in r123394,
which included commits to RCS files with non-trunk default branches.
2003-12-10 16:46:08 +00:00
David E. O'Brien
014ce8f827 Diff to vendor reduction. 2003-12-08 01:52:09 +00:00
Brooks Davis
352ec47813 This is a direct commit to the vendor branch with code from the vendor.
Replace the if_name and if_unit members of struct ifnet with new members
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.

This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.

Submitted by:	darrenr
Approved by:	re (scottl)
2003-12-02 18:33:36 +00:00
Brooks Davis
a66a98a597 This commit was generated by cvs2svn to compensate for changes in r123109,
which included commits to RCS files with non-trunk default branches.
2003-12-02 18:33:36 +00:00
Doug Barton
892eacbb10 Apply the vendor change to this file, thus resolving the import conflict 2003-11-28 22:02:17 +00:00
Doug Barton
407774b7a8 This commit was generated by cvs2svn to compensate for changes in r123036,
which included commits to RCS files with non-trunk default branches.
2003-11-28 21:58:43 +00:00
Doug Barton
0509c045a7 Import of ISC BIND version 8.3.7
Approved by:	re
Requested by:	security-officer
2003-11-28 21:58:43 +00:00
Dag-Erling Smørgrav
47f63312c5 MFP4: fix confusion about the layout of resp (#42758)
Approved by:	re (rwatson)
2003-11-20 07:55:08 +00:00
Dag-Erling Smørgrav
94b4c9762f This commit was generated by cvs2svn to compensate for changes in r122912,
which included commits to RCS files with non-trunk default branches.
2003-11-20 07:55:08 +00:00
Alexander Kabaev
57ec9907bc Use correct priority parameter value in add_prefix from corresponding
enum instead of passing literal 0. This fixes gcc invocations with
GCC_EXEC_PREFIX environment set.

Submitted By:	Geoff Morrison
PR:		gnu/53476
2003-11-13 22:40:05 +00:00
David E. O'Brien
f53fef5bbe Document CVS_CLIENT_PORT. 2003-11-13 17:57:53 +00:00
Daniel Eischen
cd902b7719 Remove a comment stating that -pthread isn't supported. 2003-11-10 18:52:57 +00:00
cvs2svn
393c598a9c This commit was manufactured by cvs2svn to create branch 'VENDOR-bsnmp'. 2003-11-10 08:56:57 +00:00
Hartmut Brandt
e46836f5a1 Add update instructions for bsnmp. Bsnmp is the base for the NgATM
ILMI daemon.
2003-11-10 08:56:56 +00:00
Hartmut Brandt
f06ca4af18 Virgin import of bsnmp 1.4 2003-11-10 08:53:38 +00:00
Hartmut Brandt
34877e743e This commit was generated by cvs2svn to compensate for changes in r122394,
which included commits to RCS files with non-trunk default branches.
2003-11-10 08:53:38 +00:00
Hartmut Brandt
9db35195c9 This commit was generated by cvs2svn to compensate for changes in r122213,
which included commits to RCS files with non-trunk default branches.
2003-11-07 09:00:58 +00:00
Hartmut Brandt
25fbd1a743 Virgin import of signaling layer of NgATM (user part) 0.91 2003-11-07 09:00:58 +00:00
Alexander Kabaev
148e0bd79e Drop r1.6 (warn_system_heders by default). Use stock version of
the file from now on.
2003-11-07 03:30:31 +00:00
Alexander Kabaev
4ff5474ba8 Merge revs 1.2 (-fformat-extensions), 1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob),
1.14 (-O/-O1 optimize alignment for time, not size).

Back out r1.22 which used to enable warnings in system headers by
default.
2003-11-07 03:27:32 +00:00
Alexander Kabaev
b4b53e1576 Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.21 ("GCC_OPTIONS"); 1.{16,25,27}
(cross compiling issues).
2003-11-07 03:23:43 +00:00
Alexander Kabaev
0ebd98fb58 Merge r1.3 (suppress warnings on K&R main). 2003-11-07 03:21:29 +00:00
Alexander Kabaev
78bcdb61f6 New GCC version. 2003-11-07 03:19:35 +00:00
Alexander Kabaev
7c755eb0ac Merge r1.11 (-mno-align-long-strings). 2003-11-07 03:17:46 +00:00
Alexander Kabaev
e52bc8a3d6 Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
overridable from the command line).
2003-11-07 03:16:22 +00:00
Alexander Kabaev
31cc83e1e5 Merge r1.8 (printf format error fixes). 2003-11-07 03:13:51 +00:00
Alexander Kabaev
e9c9d25f92 Drop the revision 1.2 (don't let gcc(1) hide warnings in system headers)
and use stock version of this file now.
2003-11-07 03:09:40 +00:00
Alexander Kabaev
3697be5590 No FreeBSD-local changes in these files. 2003-11-07 03:05:29 +00:00
Alexander Kabaev
254745bd4c This commit was generated by cvs2svn to compensate for changes in r122186,
which included commits to RCS files with non-trunk default branches.
2003-11-07 02:44:13 +00:00
Alexander Kabaev
29b93e91bc Gcc 3.3.3 20031106 libf2c bits. 2003-11-07 02:44:13 +00:00
Alexander Kabaev
2528cb539e This commit was generated by cvs2svn to compensate for changes in r122184,
which included commits to RCS files with non-trunk default branches.
2003-11-07 02:44:11 +00:00
Alexander Kabaev
f33a15e8d6 Gcc 3.3.3 20031106 Objective C support bits. 2003-11-07 02:44:11 +00:00
Alexander Kabaev
e17667a43b This commit was generated by cvs2svn to compensate for changes in r122182,
which included commits to RCS files with non-trunk default branches.
2003-11-07 02:44:01 +00:00
Alexander Kabaev
bbe4dd5dec Gcc 3.3.3 20031106 C++ support bits. 2003-11-07 02:44:01 +00:00
Alexander Kabaev
26b1f5924a This commit was generated by cvs2svn to compensate for changes in r122180,
which included commits to RCS files with non-trunk default branches.
2003-11-07 02:43:04 +00:00
Alexander Kabaev
ea875f6efe Gcc 3.3.3 20031106. 2003-11-07 02:43:04 +00:00
Brian Feldman
fe1e903532 Remove a reference to part of the pcap API not yet merged. 2003-11-04 06:16:55 +00:00
Brian Feldman
3267cc18e1 * Modify libpcap to work a bit better with our 802.11 code. This means
tcpdump -y ieee802_11 will work in the basic senses, including the
  code compilation for filters (where you may specify "link[]" to refer
  to parts of the 802.11 header, as well as treat it like a normal
  Ethernet header).  Previously, it was just too far off to do anything
  useful for us.
* While I'm here, fix some compile problems that will result from lex
  and yacc namespace polution when linking with -lpcap.  The namespace
  is now "pcapyy*" instead of "yy*", and it tests fine with world and
  some external applications that may or may not use "yy*".
2003-11-04 06:12:21 +00:00
Mike Heffner
0e54ef8be7 Import latest CVS lukemftp. 2003-11-03 17:12:09 +00:00
Mike Heffner
12f2ab4127 This commit was generated by cvs2svn to compensate for changes in r121966,
which included commits to RCS files with non-trunk default branches.
2003-11-03 17:12:09 +00:00
Hartmut Brandt
b41f9c7d79 Terminate the execl() argument list with (char *)NULL instead of 0.
The later is wrong and may fail on sizeof(char *) != sizeof(int)
machines. The patch has already been sent to and accepted by the
diffutils author, but the file is already off the vendor branch, so
correct it here in the meanwhile too.
2003-11-03 12:41:27 +00:00
Hartmut Brandt
0b6c80c996 Virgin import of NgATM user part 0.91 2003-11-03 12:08:41 +00:00
Hartmut Brandt
073bf4be45 This commit was generated by cvs2svn to compensate for changes in r121947,
which included commits to RCS files with non-trunk default branches.
2003-11-03 12:08:41 +00:00
Ruslan Ermilov
e66afe03de MFV: The -d option. 2003-11-02 07:27:40 +00:00
Ruslan Ermilov
f5b8c6dcbc Sort encodings. 2003-11-02 07:25:24 +00:00
Ruslan Ermilov
7743fe0e1b From ChangeLog:
: 2003-07-06  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* src/roff/nroff/nroff.sh: Add option -d for completeness.
: 	* src/roff/nroff/nroff.man: Updated.
2003-11-02 06:56:52 +00:00
Gregory Neil Shapiro
3fdb39034f Cast the NULL to a pointer type for 64 bit architectures
Submitted by:	harti
MFC after:	4 days
2003-10-31 22:12:09 +00:00
Hartmut Brandt
f0be771edd Virgin import of the NgATM SSCOP tool v0.9. 2003-10-29 10:26:38 +00:00
Hartmut Brandt
62b6414d73 This commit was generated by cvs2svn to compensate for changes in r121663,
which included commits to RCS files with non-trunk default branches.
2003-10-29 10:26:38 +00:00
Hajimu UMEMOTO
f95d46333d Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542
(aka RFC2292bis).  Though I believe this commit doesn't break
backward compatibility againt existing binaries, it breaks
backward compatibility of API.
Now, the applications which use Advanced Sockets API such as
telnet, ping6, mld6query and traceroute6 use RFC3542 API.

Obtained from:	KAME
2003-10-24 18:26:30 +00:00
Hajimu UMEMOTO
37b3e94167 EAI_ADDRFAMILY and EAI_NODATA was deprecated in RFC3493
(aka RFC2553bis).  Now, getaddrinfo(3) returns EAI_NONAME
instead of EAI_NODATA.  Our getaddrinfo(3) nor getnameinfo(3)
didn't use EAI_ADDRFAMILY.

Obtained from:	KAME
2003-10-23 13:55:36 +00:00
Hartmut Brandt
477b11e5a6 Some upgrade instructions. 2003-10-22 09:28:49 +00:00
Hartmut Brandt
e869973eec Virgin import of the NgATM SAAL layer user part v0.9. 2003-10-22 08:09:00 +00:00
Hartmut Brandt
552b83803a This commit was generated by cvs2svn to compensate for changes in r121330,
which included commits to RCS files with non-trunk default branches.
2003-10-22 08:09:00 +00:00
Gregory Neil Shapiro
1f9b7c9633 Adding WorkAroundBrokenAAAA seems a necessity even in the submit.mc given
the number of broken DNS servers out there in the world.  Since we are
diverging from the sendmail.org submit.mc, it's time to make our own
freebsd.submit.mc.

PR:		conf/57733
Reviewed by:	nork
MFC after:	2 weeks
2003-10-19 00:03:13 +00:00
Daniel Eischen
0fa21a585c The ports freeze may take longer than anticipated. Instead of
waiting for it to be delayed, temporarily back out the -pthread
removal until the freeze is lifted.

Freeze possibly taking longer than necessary:	will
Requested by:	kris
2003-09-21 07:59:16 +00:00
Ruslan Ermilov
641e45f5da Sync with FSF branch. 2003-09-20 21:20:01 +00:00
Ruslan Ermilov
cd060126ad Keep up with recent mdoc(7) changes, that include:
- If no .Os call is made, don't print the OS info at all.
- Allow for multiple .Lb calls in the LIBRARY section.
- Improved documentation on punctuation characters.
2003-09-20 21:13:43 +00:00
Ruslan Ermilov
5249fed37f This commit was generated by cvs2svn to compensate for changes in r120297,
which included commits to RCS files with non-trunk default branches.
2003-09-20 21:13:43 +00:00
Gregory Neil Shapiro
5902aa9498 Update for 8.12.10 import 2003-09-19 23:20:46 +00:00
Gregory Neil Shapiro
7660b554bc Fix sendmail 8.12.10 import conflicts 2003-09-19 23:14:57 +00:00
Gregory Neil Shapiro
a7ec597c92 Import sendmail 8.12.10 2003-09-19 23:11:30 +00:00
Gregory Neil Shapiro
2baeb480ca This commit was generated by cvs2svn to compensate for changes in r120256,
which included commits to RCS files with non-trunk default branches.
2003-09-19 23:11:30 +00:00
Jacques Vidrine
58fec67565 Correct address parsing bug that is believed to be remotely exploitable.
Submitted by:	Michal Zalewski <lcamtuf@dione.ids.pl>
2003-09-17 15:10:36 +00:00
Jacques Vidrine
148aa75197 This commit was generated by cvs2svn to compensate for changes in r120169,
which included commits to RCS files with non-trunk default branches.
2003-09-17 15:10:36 +00:00
Martin Blapp
51adeba1aa The previous fix (rev 1.25) is only needed in the second place. 2003-09-15 15:48:12 +00:00
Martin Blapp
2d5e32058b Only kill the default route in the release mode if the interface
where the default route is bound to is the same device. Keep it
working for the single user or sysinstall mode, where we just do
what we did before.

Suggested by:   dougb
2003-09-15 04:47:41 +00:00
David E. O'Brien
b62fd55fde Bump __FreeBSD_cc_version for (1) 5.1 (post-mortem) (2) -pthread changes. 2003-09-12 19:19:10 +00:00
Martin Blapp
864ce58afa Restore behaviour from rev. 1.9. Only log when there is a real change
to the configuration state.

Noticed by:	obrien
2003-09-09 16:19:46 +00:00
Ruslan Ermilov
9d1be4e42e Unbreak Russian KOI8-R support. 2003-09-08 17:46:33 +00:00
Josef Karthauser
43bf41ebf5 This commit was generated by cvs2svn to compensate for changes in r119743,
which included commits to RCS files with non-trunk default branches.
2003-09-04 18:06:16 +00:00
Josef Karthauser
b12bc0029b This file was missing in the snap, but it ought to be updated in the
vendor branch.
2003-09-04 18:06:16 +00:00
Daniel Eischen
7231b5a661 Remove the -pthread option (in FreeBSD versions 500016 and greater) as
threatened over 2 years ago.

Why?  -pthread was a hack to prevent linking to both libc and libc_r
and became unecessary when libc_r became free of libc.  Now that we
have multiple thread libraries from which to choose, it is more confusing
because you can't link to more than one threads library at a time.
Things like autoconf and libtool sometimes detect -pthread and
also -lc_r, and in conjunction with ports usage of ${PTHREAD_LIBS},
really wacky things ensue when PTHREAD_LIBS is set to another
threads library.  This might not be so bad if the build broke
when this happens, but it doesn't and you don't know it until
funny things happen when you run the application (or use an
affected library).

Reviewed by:    obrien
2003-09-03 15:44:34 +00:00
Martin Blapp
0ac36f0019 Add notice about deleting .cvsignore 2003-09-03 00:46:21 +00:00
Martin Blapp
461dd2f69e Apparently these slipped through the import procedure.
Kill them again.
2003-09-03 00:44:27 +00:00
Martin Blapp
5d2a431778 Sync with 6.0.9 import. Add my email. 2003-09-02 20:09:55 +00:00
Martin Blapp
0974e17d43 Resolve conflicts. 2003-09-02 15:42:57 +00:00
Martin Blapp
7a56a737a5 Virgin import of AMD (am-utils) 20030828 (6.0.9) 2003-09-02 15:27:38 +00:00
Martin Blapp
6935adfc2f This commit was generated by cvs2svn to compensate for changes in r119679,
which included commits to RCS files with non-trunk default branches.
2003-09-02 15:27:38 +00:00
Martin Blapp
a4b3bf5b8c Import ISC DHCP 3.0.1 RC12 client.
- s/include/includes
- remove already merged files
2003-09-02 11:15:03 +00:00
Martin Blapp
fb26c675fb Resolve conflicts. 2003-09-02 11:13:21 +00:00
Martin Blapp
c262a571d1 Resolve conflicts.
* rev. 1.22
2003-09-02 11:10:29 +00:00
Martin Blapp
09f775bd13 Resolve conflicts:
* rev. 1.33/1.25
2003-09-02 11:09:45 +00:00
Martin Blapp
cc55dd3ffa This commit was generated by cvs2svn to compensate for changes in r119669,
which included commits to RCS files with non-trunk default branches.
2003-09-02 11:01:27 +00:00
Martin Blapp
92633f6fc8 Import ISC DHCP 3.0.1 RC12 client. 2003-09-02 11:01:27 +00:00
Martin Blapp
a26181dca1 Sync with ISC repo. Use SIGTERM instead of SIGKILL, make oldpid a long and
cast it into a pid_t.
2003-09-02 09:09:53 +00:00
Daniel Eischen
ee6e0476d2 Backout rev 1.10.
Requested by:	obrien
2003-09-01 05:31:33 +00:00
Daniel Eischen
d489dec95c Remove -pthread as a compiler option. It was deprecated 2.5 years
ago, but not removed.

No reply from:	threads, kan, obrien
2003-08-31 22:38:52 +00:00
Andrey A. Chernov
84e0a946b5 Merge local changes 2003-08-31 18:47:12 +00:00
Andrey A. Chernov
8940778706 Merge local changes 2003-08-31 18:29:38 +00:00
Andrey A. Chernov
19eab8b8e4 Virgin import of GNU Readline 4.3 2003-08-31 17:55:46 +00:00
Andrey A. Chernov
d9a84bf203 This commit was generated by cvs2svn to compensate for changes in r119610,
which included commits to RCS files with non-trunk default branches.
2003-08-31 17:55:46 +00:00
Andrey A. Chernov
d85d259173 Merge local fixes 2003-08-30 14:19:09 +00:00
Andrey A. Chernov
b14bc0052c Remove file no longer in the dist 2003-08-30 14:08:22 +00:00
Andrey A. Chernov
252be7b9c3 This commit was generated by cvs2svn to compensate for changes in r119582,
which included commits to RCS files with non-trunk default branches.
2003-08-30 14:05:55 +00:00
Andrey A. Chernov
906227327c Virgin import (trimmed) of GNU Sort, textutils 2.1 2003-08-30 14:05:55 +00:00
Eivind Eklund
c898f3db07 Replace a reference to /kernel with /boot/kernel/kernel 2003-08-26 15:37:19 +00:00
David E. O'Brien
1bbeaa6437 Reformat FBSD_{START,END}FILE_SPEC to FSF coding standards.
Use these in our i386, amd64, and alpha platforms.
2003-08-24 16:56:31 +00:00
Tim J. Robbins
c69db88340 Remove the # ("stringify") operator from the printf() arguments in
the iprintf macro. It was causing the actual format string and
variable names to be written out, instead of substituting the values
of the variables into the format string.
2003-08-23 13:05:13 +00:00
Alexander Kabaev
b82f80cdc5 Enable warn_system_heders by default. 2003-08-22 03:31:54 +00:00
Alexander Kabaev
7a4310c825 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2   don't let gcc(1) hide warnings in system headers.

Don't disable warning suppression unconditionally, but rather
make in dependent on warn_system_headers flag, one should be
able to use -Wno-system-headers flag if warnings from system
headers are not desired.
2003-08-22 03:26:30 +00:00
Alexander Kabaev
6ff1e7b00d Merge FreeBSD modifications into gcc 3.3.1-release:
1.8   printf format error fixes.
2003-08-22 03:18:02 +00:00
Alexander Kabaev
d3a52ac3e0 Merge FreeBSD modifications into gcc 3.3.1-release:
1.2   Localize the version string.
2003-08-22 03:16:37 +00:00
Alexander Kabaev
63cde6278d Merge FreeBSD modifications into gcc 3.3.1-release:
1.3 suppress warnings on K&R main.
2003-08-22 03:14:37 +00:00
Alexander Kabaev
5f020c09b4 Merge FreeBSD modifications into gcc 3.3.1-release:
1.2  -fformat-extensions.
  1.7  FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha.
  1.14 -O0 -O1 optimize alignment for time, not size.
2003-08-22 03:13:20 +00:00
Alexander Kabaev
d586a2745c Stock files. 2003-08-22 03:10:47 +00:00
Alexander Kabaev
006ca56045 Gcc 3.3.1-release libf2c bits. 2003-08-22 02:57:17 +00:00
Alexander Kabaev
eaec871476 This commit was generated by cvs2svn to compensate for changes in r119262,
which included commits to RCS files with non-trunk default branches.
2003-08-22 02:57:17 +00:00
Alexander Kabaev
211015e8b9 Gcc 3.3.1-release Objective C support bits. 2003-08-22 02:57:15 +00:00
Alexander Kabaev
6a3139c3b5 This commit was generated by cvs2svn to compensate for changes in r119260,
which included commits to RCS files with non-trunk default branches.
2003-08-22 02:57:15 +00:00
Alexander Kabaev
6da669e5d1 Gcc 3.3.1-release C++ support bits. 2003-08-22 02:57:05 +00:00
Alexander Kabaev
af48dc19f9 This commit was generated by cvs2svn to compensate for changes in r119258,
which included commits to RCS files with non-trunk default branches.
2003-08-22 02:57:05 +00:00
Alexander Kabaev
50ebf00d84 Gcc 3.3.1-release. 2003-08-22 02:56:07 +00:00
Alexander Kabaev
eae42ca5bc This commit was generated by cvs2svn to compensate for changes in r119256,
which included commits to RCS files with non-trunk default branches.
2003-08-22 02:56:07 +00:00
Gordon Tetlow
29bd4869a1 Tell the toolchain to look for rtld in /libexec instead of /usr/libexec. 2003-08-17 08:17:44 +00:00
Hartmut Brandt
c7d4f4371f Implement what has been documented for a long time: make -debug switch
on socket debugging.

Okay'ed by: markm
2003-08-13 10:56:40 +00:00
Martin Blapp
e32ea5472a Change name of state_link() to state_polling() to make it
more clear what it does.

Trim interface_active() to just do what it should do. Check
if we got link or not and if the NIC supports it. No special
treatment for mediachecks here anymore.

Simplify the code a lot, and remove doublicated parts.

Fix two minor spelling errors.

Add one missing #ifdef ENABLE_POLLING_MODE

Reviewed by:	mdodd
2003-08-10 22:01:37 +00:00
Martin Blapp
0b284f2c7c Fix devices which do not support ifm_status. Always return
TRUE for them.

Reported by:	mdodd
Tested by:	Craig Rodrigues <rodrigc@crodrigues.org>
2003-08-09 20:44:08 +00:00
Martin Blapp
cccd491d52 Add all interface polling patches. 2003-08-07 15:00:55 +00:00
Martin Blapp
44b6b1aaa4 Do not poll during discover. Add a polling tunable to the interface
struct to be able to turn polling on/off.

Tested by:	Larry Rosenman <ler@lerctr.org>
2003-08-07 14:58:46 +00:00
Martin Blapp
ceef306a27 - Fix the polling code to work with media settings in dhclient.conf.
- Rename linkstatus to linkstate which is more correct.

- Sort any leases each time we loose and regain link. With the first
  version we spammed the dhclient.leases file.

- When there was no link on a interface, polling has been done twice.
  This has been fixed with a bigger sleep interval.

- interface_active() now returns only a assumed state of the link.
  If we are using media settings, we cannot be sure that the link
  actually works. That means we assume that the link is working and
  continue to send requests as usual on the interface and loop over
  all possible media options. Polling is still done. If your interface
  gets suddenly link, dhclient will send a dhcp discover request.

After all media settings have been tried a few times, dhclient will
sleep. If one does change networks very often, it can help to set the
"retry timeout" to a low value like 100 seconds. The default is over
six minutes.

Tested by:	Larry Rosenman <ler@lerctr.org>, imp
2003-08-07 07:27:14 +00:00
Martin Blapp
40e0881fab Change ieee802 to ieee80211.
Add bogospaces to match the ISC style.

Suggested by:	eivind
2003-08-06 15:19:52 +00:00
Simon L. B. Nielsen
9c000261d4 - Correct the path to the dot.nsmbrc sample file.
- Add FreeBSD CVS tag.

PR:		docs/35649
Submitted by:	roam
Approved by:	ceri (mentor)
2003-07-31 11:50:01 +00:00
Ruslan Ermilov
0560c735b9 Update for the 2003/07/29 import. 2003-07-30 06:50:31 +00:00
Ruslan Ermilov
88b8d48716 Vendor import of bwk's 29-Jul-2003 release. 2003-07-30 06:47:03 +00:00
Ruslan Ermilov
65259669d3 This commit was generated by cvs2svn to compensate for changes in r118194,
which included commits to RCS files with non-trunk default branches.
2003-07-30 06:47:03 +00:00
Martin Blapp
565f17391d Fix dhclient infinite loop on ro /etc/resolv.conf
Submitted by:	C J Michaels <cjm2@earthling.net>
Reviewed by:	David W. Hankins
PR:		38778
ISC-Bug:	5754
2003-07-28 22:25:20 +00:00
Martin Blapp
ca27808a34 Don't wait forever if there is no link, go to background
after 2 x polling time.
2003-07-28 13:25:04 +00:00
Martin Blapp
a156f90104 Define $FreeBSD$ at the right place. 2003-07-28 11:49:07 +00:00
Martin Blapp
636a538d15 Enable dhclient to poll the interface state and send only
requests if the interface has an active link. This is a
great benefit if you often change networks with your laptop
and you do not like to kill/restart dhclient all the time.
Changes are automatically detected and the link is refreshed.

The change allows us to start dhclient in background mode
Enable dhclient to poll the interface state and send only
requests if the interface has an active link. This is a
great benefit if you often change networks with your laptop
and you do not like to kill/restart dhclient all the time.
Changes are automatically detected and the link is refreshed.

The change allows us to start dhclient in background mode
while the network cable is not plugged in.

To control the polling interval, the option -i has been
introduced. It takes seconds as parameter, the minimum is
one second, the default is five seconds.

Polling is done in seconds, not microseconds, because dhclient
does internally work with timeouts in seconds.

This change will be part of the next major ISC-dhcpd release.

Tested by:	bms, imp, and many many others.
Reviewed by:	murray, eivind, dhclient folks
2003-07-28 08:30:11 +00:00
Tim J. Robbins
5ec3441dd2 Fix some off-by-one errors dealing with limits of server names,
usernames, workgroup names and passwords. We can now connect to
servers with 15-character NetBIOS names. (Some versions of Windows
use semi-random 15-char names by default.)

PR:		46902
2003-07-27 11:41:38 +00:00
Martin Blapp
fa7235b784 Add notice about the local change in r1.25 2003-07-26 21:29:28 +00:00
Peter Wemm
db75019614 Fixes for 64 bit cleanliness. The length arg to sysctl is a pointer to
size_t not int.

Reviewed by:	bp
2003-07-26 04:03:18 +00:00
Peter Wemm
26c4b7deaa Use #include <string.h> rather than <strings.h> so that the strdup()
prototype gets brought into scope.  This is a big deal for 64 bit
systems where the default return value of 'int' is != pointer.

Reviewed by:	bp
2003-07-26 04:02:22 +00:00
Peter Wemm
022effcc3e Fix an annoying bug in tar. When it converted 'tar zcf' to 'tar -z -c -f'
it forgot to null terminate the new argv[] array.  If you mixed this
with $TAR_OPTIONS, phkmalloc and a whole bunch of other variables, you
could end up with a segfault.  This isn't strictly a phkmalloc victory
since tar walks off the end of an array rather than use uninitialized
malloc memory, but phkmalloc makes it easier to provoke.
2003-07-24 00:04:01 +00:00
Dag-Erling Smørgrav
845c1b9ce2 MFP4: revert constification of pam_message.msg (perforce change #34785) 2003-07-21 19:54:17 +00:00
Dag-Erling Smørgrav
fc5da5944b This commit was generated by cvs2svn to compensate for changes in r117839,
which included commits to RCS files with non-trunk default branches.
2003-07-21 19:54:17 +00:00
Tim J. Robbins
b97916da44 Pass getvfsbyname() the address of a struct xvfsconf instead of
struct vfsconf. This silences a warning, but could also prevent
stack corruption problems if xvfsconf ever became larger than vfsconf.

PR:		53863
Submitted by:	Lukas Ertl
2003-07-20 11:27:54 +00:00
Julian Elischer
e27d79bb28 Changes to allow top to decide whether or not to show multiple threads per
process. Option -H enables it and it is toggled at the interactive
screen by 'H'.

Submitted by:	Jung-uk Kim <jkim@niksun.com>
2003-07-17 23:56:40 +00:00
David E. O'Brien
fda6f0c4a1 This file became OBE when we went to GCC 3. 2003-07-17 17:15:22 +00:00
Dag-Erling Smørgrav
2d142fa40d These files have been removed from the distribution. 2003-07-15 07:23:52 +00:00
Dag-Erling Smørgrav
20b2067ac9 This commit was generated by cvs2svn to compensate for changes in r117615,
which included commits to RCS files with non-trunk default branches.
2003-07-15 07:23:52 +00:00
Dag-Erling Smørgrav
ca236e63dd Vendor import of OpenPAM Dogwood. 2003-07-15 07:18:26 +00:00
Dag-Erling Smørgrav
043e3563a3 This commit was generated by cvs2svn to compensate for changes in r117610,
which included commits to RCS files with non-trunk default branches.
2003-07-15 07:18:26 +00:00
Kris Kennaway
654cbf38df FreeBSD does not use this code, but ftpd_popen() contains a buffer overflow.
We might as well patch it.

Submitted by:   Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
PR:             bin/23352
MFC After:	The average time before an unpatched Windows 2000 server gets owned
2003-07-13 05:59:50 +00:00
Alexander Kabaev
e329c5e19f Do not override FP rounding options for 32bit platforms. amd64 doesn't
need this.
2003-07-12 19:33:34 +00:00
Alexander Kabaev
46b370ef71 Merge FreeBSD changes into GCC 3.3.1-prerelease.
Move FreeBSD specific flag variables from c-decl.c here.
2003-07-11 06:00:50 +00:00
Alexander Kabaev
22bf82941c Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2 -fformat-extensions.
  1.3 -printf0
  1.6 teach GCC about %y for DDB.
2003-07-11 05:12:46 +00:00
Alexander Kabaev
fff64a6e53 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.3 suppress warnings on K&R main.

  Rev. 1.2 (options for kernel printf enhancements) changes have been
  moved to another
2003-07-11 05:11:14 +00:00
Alexander Kabaev
06432e3a6a Update for GCC 3.3.1-prerelease. 2003-07-11 05:09:19 +00:00
Alexander Kabaev
bec4705400 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.8 Change symbol values to match freebsd.h.
2003-07-11 05:05:45 +00:00
Alexander Kabaev
e815c3de60 Update for 3.3.1-prerelease. 2003-07-11 05:03:47 +00:00
Alexander Kabaev
aaa8c4b302 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.4 Look into right directory when linking 32-bit binaries.
2003-07-11 04:54:45 +00:00
Alexander Kabaev
31653fae42 Use stock version of this file now. 2003-07-11 04:52:32 +00:00
Alexander Kabaev
0f50cc1930 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2	don't let gcc(1) hide warnings in system headers.
2003-07-11 04:49:30 +00:00
Alexander Kabaev
d5a10d25d8 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2  -fformat-extensions.
  1.7  FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha.
  1.14 -O0 -O1 optimize alignment for time, not size.
2003-07-11 04:48:05 +00:00
Alexander Kabaev
cf9a9a701d Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.{2,15}	FREEBSD_NATIVE.
  1.21		"GCC_OPTIONS".
  1.{16,25,27}	Cross-compiling issues.
2003-07-11 04:45:39 +00:00
Alexander Kabaev
b8edac44d5 Merge FreeBSD changes into GCC 3.3.1-prerelease:
1.2	Tweaks to make this file live beside our hacked config.
2003-07-11 04:43:01 +00:00
Alexander Kabaev
38ce1a2479 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2	Localize the version string.
2003-07-11 04:37:16 +00:00
Alexander Kabaev
a4f4ed1ee5 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.8	printf format error fixes.
2003-07-11 04:34:52 +00:00
Alexander Kabaev
4b47e8ff24 Merge FreeBSD changes into GCC 3.3.1-prerelease:
1.2	Printf format errors fixes.
2003-07-11 04:32:20 +00:00
Alexander Kabaev
600d347e40 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.11	-mno-align-long-strings.
2003-07-11 04:29:35 +00:00
Alexander Kabaev
27998756bd Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.10  -mno-align-long-strings.
  1.11  Allow the specification of LONG_TYPE_SIZE on the command line.
2003-07-11 04:28:01 +00:00
Alexander Kabaev
43bab0e092 Merge FreeBSD modifications into gcc 3.3.1-pre:
1.2	framework for our kernel printf enhancements.
  1.3	suppress prototype warnings on K&R main.
2003-07-11 04:24:59 +00:00
Alexander Kabaev
df07a219a0 Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info GCC 3.3.1-pre
sources.
2003-07-11 04:03:28 +00:00
Alexander Kabaev
b2bcf6753d FreeBSD uses stock versions of these GCC files. 2003-07-11 04:00:23 +00:00
Alexander Kabaev
6bdbd039fd Gcc 3.3.1-pre 2003-07-11 libf2c bits. 2003-07-11 03:42:19 +00:00
Alexander Kabaev
eb05e163fc This commit was generated by cvs2svn to compensate for changes in r117401,
which included commits to RCS files with non-trunk default branches.
2003-07-11 03:42:19 +00:00
Alexander Kabaev
63c14f51d5 Gcc 3.3.1-pre 2003-07-11 Objective C support bits. 2003-07-11 03:42:15 +00:00
Alexander Kabaev
8653288799 This commit was generated by cvs2svn to compensate for changes in r117399,
which included commits to RCS files with non-trunk default branches.
2003-07-11 03:42:15 +00:00
Alexander Kabaev
1b86b14eac Gcc 3.3.1-pre 2003-07-11 C++ support bits. 2003-07-11 03:42:04 +00:00
Alexander Kabaev
9d66e2293b This commit was generated by cvs2svn to compensate for changes in r117397,
which included commits to RCS files with non-trunk default branches.
2003-07-11 03:42:04 +00:00
Alexander Kabaev
bd0df3aa27 Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
Alexander Kabaev
46c315278f This commit was generated by cvs2svn to compensate for changes in r117395,
which included commits to RCS files with non-trunk default branches.
2003-07-11 03:40:53 +00:00
Brian Feldman
34b0f960ef If we must yell at the user than a file cannot be linked into place when
requested (not required) to do it, reassure them that cpio is still
intelligent enough that it will perform a full copy instead.
2003-07-11 02:19:19 +00:00
David E. O'Brien
e220ac8c40 Add "blame" as an "annotate" alias for interoperability with subversion. 2003-07-07 19:15:36 +00:00
Ruslan Ermilov
700a09db9e Fix for troff mode. The
.Pp
.Bd -literal
...

fragment resulted in two vertical spaces.  From ChangeLog:

2003-07-04  Ruslan Ermilov  <ru@FreeBSD.org>

        * tmac/doc.tmac (Bd): Change to doc-Li-font later.
2003-07-05 22:58:04 +00:00
Ruslan Ermilov
7ca1ec2c8c This commit was generated by cvs2svn to compensate for changes in r117264,
which included commits to RCS files with non-trunk default branches.
2003-07-05 22:58:04 +00:00
Ruslan Ermilov
504586cecd MFV. 2003-07-03 18:01:20 +00:00
Ruslan Ermilov
2cbfdf07f8 Update mdoc(7) to the current version. From ChangeLog:
2003-07-01  Ruslan Ermilov  <ru@FreeBSD.org>

	* tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
	after `/*' and `*/'.
	Fix spacing.
	(Fn, Fo): Reduce indentation in synopsis.

	* tmac/doc-common (doc-check-depth): New macro.
	(doc-end-macro, Sh, Ss): Use it.
	(Cd): Fix behaviour in synopsis.
	(In): Make it parsed and callable.
	If not in the synopsis, represent the C header file enclosed in
	angle brackets.
	(doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
	Use minus, not hyphen.
2003-07-03 16:46:08 +00:00
Ruslan Ermilov
dedfec2aa4 This commit was generated by cvs2svn to compensate for changes in r117201,
which included commits to RCS files with non-trunk default branches.
2003-07-03 16:46:08 +00:00
Ruslan Ermilov
03f4c85fc8 From ChangeLog:
: 2003-06-31  Ruslan Ermilov  <ru@FreeBSD.org>
:         * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.

This fixes warnings in some legacy roff documents.

Prodded by:	bde
2003-07-02 09:43:53 +00:00
Ruslan Ermilov
fedbfbbbc6 This commit was generated by cvs2svn to compensate for changes in r117153,
which included commits to RCS files with non-trunk default branches.
2003-07-02 09:43:53 +00:00
Mike Heffner
fa547236e7 Import latest cvs version with the correct patchset (fixes ETA bug). 2003-06-30 05:24:21 +00:00
Mike Heffner
77c4370ef2 This commit was generated by cvs2svn to compensate for changes in r117059,
which included commits to RCS files with non-trunk default branches.
2003-06-30 05:24:21 +00:00
Gordon Tetlow
6d1b4a4730 Tweak a couple of utilities so they compile cleanly for /rescue. Mostly
path fixes.

Submitted by:	Tim Kientzle <kientzle@acm.org>
2003-06-29 18:46:18 +00:00