tjr
41b66e50b6
Add GB2312 to the list of supported encodings. Cross-reference gb2312(5).
2003-11-08 03:19:26 +00:00
davidxu
a6e1effefa
Add gb2312 encoding.
2003-11-05 22:52:51 +00:00
mph
13c2e3cf4f
Add r_earth, r_moon, r_sun, representing the terrestrial, lunar, and
...
solar radii. The corresponding masses (m_earth, etc.) were already
present.
Source: "An Introduction to Modern Astrophysics," Carroll & Ostlie.
2003-11-05 22:29:48 +00:00
des
81a5a11af4
Fix the case where the file is not in the current directory.
...
Discovered by: Vladimir Kravchenko <jimson@mostcom.ru>
Pointy hat to: des
2003-11-04 22:39:25 +00:00
davidxu
b5882bdf82
Be sure to restore foreground group to parent su before parent su
...
exits, otherwise shell will be confused and does not set foreground
group correctly for next su command. This sounds like a bug in sh.
2003-11-04 14:51:34 +00:00
des
5449f489bb
Reimplement in-place editing in a slightly less disgusting manner. Also,
...
make an effort to preserve the ownership and mode of the file we are
editing.
Sponsored by: Registrar AS
2003-11-04 13:09:16 +00:00
des
bc082b44cb
Whitespace cleanup
2003-11-04 12:16:47 +00:00
des
b91f0f9009
ANSIfy
2003-11-04 12:15:20 +00:00
des
12bd424bdf
Correct style bugs in the in-place editing code.
2003-11-04 12:07:09 +00:00
davidxu
8792262eee
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
cae05e711a
Build lint(1) on ia64.
2003-11-03 05:14:47 +00:00
marcel
88359b55f6
The size of a long double is 16 bytes, not 12 bytes.
2003-11-03 05:09:57 +00:00
tjr
83375877b4
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
ru
f2675c508e
Removed (after the env(1)/printenv(1) split) extraneous arguments
...
to the .Nm macro.
2003-11-02 21:46:11 +00:00
tjr
10ee440915
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
f1e94c6f29
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
phk
cd4a9b77a6
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
kientzle
be1f9cb502
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
c2053cfe71
Replace -fno-builtin-logf with a -D argument to change the function name.
2003-10-30 22:53:56 +00:00
iwasaki
5b0a8ffac4
Cosmetic fix on some TIME related columns.
2003-10-30 16:52:14 +00:00
harti
8ca63b7ab7
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
tjr
f6d56a96f7
Remove MD bits for unsupported architectures.
2003-10-30 12:21:31 +00:00
peter
ee845c3e4f
Disclaim ownership of pppd/chat. It is vendor code, but has been badly
...
neglected here.
2003-10-29 19:24:04 +00:00
harti
f5759b00c4
Build the NgATM user space SSCOP tool (unless NOATM is defined).
2003-10-29 10:30:54 +00:00
jmg
2a6886b365
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
d270e076a6
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
7b2e1ddf31
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
a799821e85
Stop gcc warnings
2003-10-26 05:28:01 +00:00
peter
a4f43a8a53
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
57e85f6680
Fix warning about cgetent() argument.
2003-10-26 05:03:11 +00:00
peter
6281d6e071
More xdrproc_t issues.
2003-10-26 04:58:44 +00:00
peter
03863a4dc2
More xdrproc_t warnings.
2003-10-26 04:57:32 +00:00
peter
fc696c9d63
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
7c422b97bd
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
grog
330554451e
Add coup d'état in Chile, 1973.
2003-10-26 01:18:08 +00:00
grog
8a69810aef
Add end and start dates for DST.
2003-10-26 00:03:49 +00:00
phk
bc60c7cbae
Use 'k' as suffix for Kilo
...
Pointed out by: several.
2003-10-24 21:23:47 +00:00
ru
feaeb43d02
Print the correct ICMP statistics for "no return routes".
2003-10-23 13:53:19 +00:00
sergei
cf8253f238
Add myself.
...
Approved by: krion (mentor)
2003-10-21 19:56:23 +00:00
phk
9d8ec418a7
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
cognet
eb4121cb0d
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
seanc
00e0edb380
Uses wait4() instead of wait3() when waiting for a child process to exit.
...
Reviewed by: yar
2003-10-17 07:53:30 +00:00
tg
44a5d876af
Fix typos; reformat some entries.
2003-10-15 08:18:59 +00:00
linimon
7b111f7fdf
Let the world figure out exactly how superannuated I am.
2003-10-15 03:31:06 +00:00
bde
47ef5b092f
Include <nlist.h> for nlist-related declarations instead of depending on
...
namespace pollution in <kvm.h>.
2003-10-13 05:30:20 +00:00
emax
41bb0e8fd2
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
tjr
fef194d740
Fix BSS buffer overflow in makeargv().
2003-10-12 00:27:55 +00:00
tjr
10449fdca7
Call crypt() directly instead of taking a detour through makekey.
2003-10-09 10:00:53 +00:00
grog
5cf670958e
Separate baroque from classics.
...
Add a number of dead composers.
PR: 55612 (much of content)
2003-10-09 04:21:44 +00:00
grog
0a4a4eb019
Correct format: text lines *must* contain a tab character.
...
PR: 43989
2003-10-09 04:12:21 +00:00