David Xu
bcf123b3f6
It seems when su executes in a shell scripts, there is a timing race,
...
sometimes, su will receive a SIGTTOU when parent su tries to set child
su's process group as foreground group, and su will be stopped unexpectly,
ignoring SIGTTOU fixes the problem.
Noticed by: fjoe
2003-11-03 23:54:55 +00:00
Marcel Moolenaar
c219b2ef38
Build lint(1) on ia64.
2003-11-03 05:14:47 +00:00
Marcel Moolenaar
8d3e35d805
The size of a long double is 16 bytes, not 12 bytes.
2003-11-03 05:09:57 +00:00
Tim J. Robbins
ce20a8e9be
Change the buffer length test in NEEDSP() so that it does not
...
subtract one unsigned number from another potentially smaller
one, leading to wraparound (and heap corruption, eventually).
PR: 58813
MFC after: 2 weeks
2003-11-02 23:20:24 +00:00
Ruslan Ermilov
52964a40af
Removed (after the env(1)/printenv(1) split) extraneous arguments
...
to the .Nm macro.
2003-11-02 21:46:11 +00:00
Tim J. Robbins
d980da6c66
Copy cur's snap_time to last when refreshing statistics. Fixes problem
...
where MB/s and tps statistics would always be zero, presumably because
they were being averaged out over the time between now and when the
system booted instead of a few seconds.
PR: 58683
2003-11-01 02:06:02 +00:00
Brooks Davis
9bf40ede4a
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.
Approved By: re (in principle)
Reviewed By: njl, imp
Tested On: i386, amd64, sparc64
Obtained From: NetBSD (if_xname)
2003-10-31 18:32:15 +00:00
Poul-Henning Kamp
573e036e31
Attached is a small patch to ministat that separates the
...
avg/median/stddev bars onto two lines. Useful for datasets that
overlap.
Submitted by: Dan Nelson <dnelson@allantgroup.com>
2003-10-31 13:25:43 +00:00
Tim Kientzle
8491f23424
Rename logf --> chat_logf to avoid naming conflicts
...
with GCC built-in (and with C90 reserved library name).
Approved by: gordon (Mentor)
2003-10-31 06:22:03 +00:00
Peter Wemm
4a4c2efa6a
Replace -fno-builtin-logf with a -D argument to change the function name.
2003-10-30 22:53:56 +00:00
Mitsuru IWASAKI
edc4d47f55
Cosmetic fix on some TIME related columns.
2003-10-30 16:52:14 +00:00
Hartmut Brandt
7ff34dc884
Use (char *)NULL to terminated to argument list for execl().
...
Without this cast the compiler cannot know that it has to convert
the null pointer constant NULL to a null pointer.
2003-10-30 15:14:34 +00:00
Tim J. Robbins
e4b4ed071b
Remove MD bits for unsupported architectures.
2003-10-30 12:21:31 +00:00
Peter Wemm
144b6720d9
Disclaim ownership of pppd/chat. It is vendor code, but has been badly
...
neglected here.
2003-10-29 19:24:04 +00:00
Hartmut Brandt
4f35c8461f
Build the NgATM user space SSCOP tool (unless NOATM is defined).
2003-10-29 10:30:54 +00:00
John-Mark Gurney
a86e06a60c
take mux's fix to the next level, scan the names and make the field larger
...
as necessary... on sparcs where:
atapci0 vec1996
is a bit too long
2003-10-28 05:02:03 +00:00
Marcel Moolenaar
a7a08c7e63
Fix truss so that it doesn't abort/exit when a syscall has been given
...
a NULL-pointer for a sockaddr argument.
2003-10-27 06:50:57 +00:00
Peter Wemm
cd9df72840
Fix up warnings. There were some biggies here. There seems to be two
...
different sets of definitions in /usr/include/rpcsvc, mostly compatable,
but with different names. Will the real one please stand up?
In order to get prototypes for yp_maplist, we had to use the 'other'
naming system.
2003-10-26 05:30:40 +00:00
Peter Wemm
ba7887c77f
Stop gcc warnings
2003-10-26 05:28:01 +00:00
Peter Wemm
10ebb45ae0
Fix a warning that showed up on 64 bit systems. It was actually a real
...
bug that had been swept under the carpet.
2003-10-26 05:05:48 +00:00
Peter Wemm
d75a18e3d2
Fix warning about cgetent() argument.
2003-10-26 05:03:11 +00:00
Peter Wemm
0c65eed7f9
More xdrproc_t issues.
2003-10-26 04:58:44 +00:00
Peter Wemm
ed838bb1cd
More xdrproc_t warnings.
2003-10-26 04:57:32 +00:00
Peter Wemm
35f47c5002
The math function logf() probably isn't doing us much good for logging
...
stuff. Add -fno-builtin-logf.
2003-10-26 04:49:58 +00:00
Peter Wemm
017ea7dbc2
Move the -Wtraditional warning from the global cpp flags to when the -p
...
(portability warnings) switch is used. Add -Wno-system-headers after it so
that we dont get 500 screenfulls of warnings about #elif in /usr/include.
I'm not entirely happy with this. Maybe cdefs.h shouldn't use #elif and
instead nest #else clauses?
2003-10-26 03:34:13 +00:00
Greg Lehey
dd18558aaa
Add coup d'état in Chile, 1973.
2003-10-26 01:18:08 +00:00
Greg Lehey
c1c65b7ef8
Add end and start dates for DST.
2003-10-26 00:03:49 +00:00
Poul-Henning Kamp
84b4ac514e
Use 'k' as suffix for Kilo
...
Pointed out by: several.
2003-10-24 21:23:47 +00:00
Ruslan Ermilov
0237ca7b95
Print the correct ICMP statistics for "no return routes".
2003-10-23 13:53:19 +00:00
Sergei Kolobov
8ffdadcf4a
Add myself.
...
Approved by: krion (mentor)
2003-10-21 19:56:23 +00:00
Poul-Henning Kamp
f46a0535ef
When a numeric field overflows its width, try formatting the number in
...
'kilo' or 'mega' with appropriate suffix instead of filling the field
with stars.
2003-10-20 20:13:50 +00:00
Olivier Houchard
f6a43a2b50
Fix broken su -m behaviour :
...
chshell must return 0 if the shell is not a standard shell, or else it is
possible to use an account without a valid shell.
Reviewed by: des
2003-10-19 02:09:36 +00:00
Sean Chittenden
77879b47b7
Uses wait4() instead of wait3() when waiting for a child process to exit.
...
Reviewed by: yar
2003-10-17 07:53:30 +00:00
Thomas Gellekum
453e88a2b7
Fix typos; reformat some entries.
2003-10-15 08:18:59 +00:00
Mark Linimon
b8ead740b8
Let the world figure out exactly how superannuated I am.
2003-10-15 03:31:06 +00:00
Bruce Evans
1f85f71570
Include <nlist.h> for nlist-related declarations instead of depending on
...
namespace pollution in <kvm.h>.
2003-10-13 05:30:20 +00:00
Maksim Yevmenkin
0986ab12e4
Update Bluetooth code.
...
Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org>
Approved by: M. Warner Losh <imp@bsdimp.com> (mentor)
2003-10-12 22:04:24 +00:00
Tim J. Robbins
7f3a5689e7
Fix BSS buffer overflow in makeargv().
2003-10-12 00:27:55 +00:00
Tim J. Robbins
d684457f27
Call crypt() directly instead of taking a detour through makekey.
2003-10-09 10:00:53 +00:00
Greg Lehey
5b03c9a09b
Separate baroque from classics.
...
Add a number of dead composers.
PR: 55612 (much of content)
2003-10-09 04:21:44 +00:00
Greg Lehey
3b1b092f2c
Correct format: text lines *must* contain a tab character.
...
PR: 43989
2003-10-09 04:12:21 +00:00
Greg Lehey
cee3a0b017
Add a number of mainly Christian holidays.
...
Mainly submitted by: Gordon Bergling <gordon@bsd-network.org>
2003-10-09 04:05:04 +00:00
Greg Lehey
0a683a31d8
Add Christmas-related dates.
...
Partially submitted by: Gordon Bergling <gordon@bsd-network.org>
2003-10-09 04:02:24 +00:00
Greg Lehey
bd37ecef89
Add some additional changes which didn't make it in revision 1.14
...
Submitted by: Gerhard Gonter <gonter@whisky.wu-wien.ac.at>
PR: 55610
2003-10-09 00:37:20 +00:00
Greg Lehey
17a3187529
Move a LOTR fortune to the right file.
...
Submitted by: Jonathan Lennox <lennox@cs.columbia.edu>
PR: 57623
2003-10-09 00:31:48 +00:00
Ruslan Ermilov
ae43b8065d
Fix a bug in variable parsing code that could cause a segfault.
...
PR: bin/46203
Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org>
2003-10-06 17:37:20 +00:00
Greg Lehey
016b0ff405
Spell "Bizet" and "Berlioz" correctly.
...
Spotted by: Thomas Moestl <t.moestl@tu-bs.de>
2003-10-06 02:17:40 +00:00
Doug Barton
dad5d4e08c
Resolve conflicts
2003-10-06 01:55:17 +00:00
Greg Lehey
7434862b98
Many new entries, some corrections.
...
Submitted by: Gordon Bergling <gordon@bsd-network.org>
2003-10-06 01:17:42 +00:00
Greg Lehey
0bbd18b22b
Remove numerous duplicates.
2003-10-06 01:15:38 +00:00