Commit Graph

4626 Commits

Author SHA1 Message Date
blymn
363014dffa Added the libmenu library. 1999-11-23 11:20:29 +00:00
blymn
b68c50bcbe A curses based menu library. 1999-11-23 11:12:34 +00:00
kristerw
1276709f38 Typos (from OpenBSD) 1999-11-19 23:29:45 +00:00
enami
82d7115cf2 Don't pass so many args to .Nd macro. It just overflows. 1999-11-19 01:12:39 +00:00
is
42f95dd899 In case of an error returned by sysctl, and errno=ENOMEM, restore the
old errno and return 0. This makes us complant with SUSV2 and our own
manual page. See PR pr7836 by Simon Burge.
1999-11-18 22:12:53 +00:00
wennmach
2d27a472c9 Add some casts to u_char to get vis working again for characters > 0177
in VIS_OCTAL mode. Also, change the mask for the most significant tribble
to 03.

Reviewed by christos.

Fixes PR 8802.
1999-11-17 15:52:13 +00:00
augustss
41a71bdc48 Implement SOUND_MIXER_INFO. 1999-11-16 23:56:41 +00:00
kleink
e092d92063 Merge tzcode1999i. 1999-11-16 22:41:02 +00:00
matthias
87bb3a7b2b make this work again with -mrtd. 1999-11-16 18:16:53 +00:00
fvdl
6ba2ea78f7 Bump minor because of struct statfs change (no ABI change, though). 1999-11-15 19:23:20 +00:00
explorer
3dde14339c add stub thread functions. These are not (yet) used, and always return
success.  They are weak-aliased, so if linked with a real pthreads library
the correct magic will happen.
1999-11-14 18:34:15 +00:00
explorer
5e5a72ffef missing ; 1999-11-14 18:19:57 +00:00
thorpej
728d672378 Backout my libsa changes. 1999-11-13 21:33:12 +00:00
lukem
1f11bc4cc8 instead of using a private coord_t global variable to store the size of the
rprompt, use the previously unused coord_t el->el_rprompt.p_pos
1999-11-13 11:32:12 +00:00
is
bcb4c98ba9 Properly check for overflows. Fixes PR8314 as annotated by mjl. 1999-11-13 04:52:50 +00:00
simonb
f5f92cb0f4 Sync with src/sys/lib/libz/zutil.h. 1999-11-12 12:14:20 +00:00
lukem
509864fa8f - implement printing a right-side prompt. code derived from similar work
I wrote for tcsh(1) three years ago.
- implement EL_RPROMPT, which allows a setting/getting of a function which
  returns a string to be used as the right-side prompt.
- improve HISTORY and AUTHORS sections in editline(3).
- bump shlib minor version for EL_RPROMPT.

XXX: due to an implementation issue, the rprompt has a 1 space gap before the
     edge of the logical screen. editline's logical screen is 1 space less
     than the full screen width, so there's a 2 space gap between the rprompt
     and the right end of the physical screen. i'm not concerned about this.
1999-11-12 01:05:07 +00:00
jdolecek
894f4bc996 add freeaddrinfo(3) and gai_strerror(3) as links to getaddrinfo(3) 1999-11-10 22:41:00 +00:00
kleink
ae7e338dbb Merge tzcode1999h. 1999-11-10 20:32:30 +00:00
thorpej
bebf6897b4 Add register prefixes. 1999-11-10 16:45:33 +00:00
thorpej
627a762f23 Regen; add register prefixes. 1999-11-10 16:34:56 +00:00
thorpej
c958703527 Add register prefixes. 1999-11-10 16:32:45 +00:00
thorpej
1a5643ff26 Add register prefixes. 1999-11-10 16:11:03 +00:00
kleink
48e66c2b14 XSH5/C99: in the C/POSIX locale, change the day of month format used in d_t_fmt
(locale's appropriate date and time representation) from %d (single digits
are preceded by 0) to %e (single digits are preceded by a blank).
1999-11-10 09:15:11 +00:00
augustss
297e4e8759 Add missing .Nm for hid_locate as pointed out by Danny Thomas. 1999-11-08 22:33:40 +00:00
augustss
3c38f639e2 Some minor changes suggested by Danny Thomas. 1999-11-08 22:19:17 +00:00
lukem
e0c4130ae6 use .Fn appropriately 1999-11-07 01:26:02 +00:00
erh
9aa5adae3f Add comments describing what this does. 1999-11-05 20:16:56 +00:00
erh
20678a0621 PR 5057 - fix %k to print a 0, not just spaces. (%e too). Patch from NAKAJIMA Yoshihiro. 1999-11-05 19:21:12 +00:00
erh
6752f572d8 Remove ELFNAME defines since they are defined in sys/exec_elf.h 1999-11-04 02:00:17 +00:00
is
94efbddebd Check for invalid component numbers (wrong hex "digits", octal numbers
with digits of 8 or 9) and complain. Fixes PR 8314 by ITOH Yasufumi (but
adding the check of hexadecimal numbers).
1999-11-03 11:47:02 +00:00
fvdl
7941fc97fb Revert changes made in version 1.6. They introduced a heuristic for
detecting corruption, which may have prevented coredumps for
real corruption cases, but in practice caused false positives.
1999-11-02 21:16:55 +00:00
lukem
fe5a2bf74b remove the `static'' from static void __start()' and `static void ___start()'
because an overly aggressive gcc -O3 "cleverly" optimizes the functions out.
noted in [port-i386/8493], but seen in other ports as well.
1999-11-02 10:07:12 +00:00
lukem
fe0968e395 wrap line 1999-11-02 10:03:44 +00:00
is
cff7bedd54 Actually profile system calls.
Problem and most of the fix reported by Anders Hjalmarsson in PR 4976; libposix
mentioned by Chris G. Demetriou.
1999-10-27 14:58:28 +00:00
is
eaf45b75c1 Fix spelling of contributors name 1999-10-27 09:10:27 +00:00
itojun
31f706c2ef fix backward-compatible upgrade function name. (__RENAME thing)
the digit after the function name must be (shlib major + 1).

From: Klaus Klein <kleink@ira.uka.de>
1999-10-26 22:16:48 +00:00
itojun
52c808fa73 increase shlib minor for z_off_t changes. 1999-10-26 10:00:29 +00:00
itojun
fb26763771 make z_off_t into off_t, which used to be "long" by mistake.
backward compatibility functions are supplied.

XXX increase shlib major, or minor?
1999-10-26 03:42:58 +00:00
thorpej
3b435a7396 Add register prefixes. 1999-10-25 23:48:07 +00:00
is
57a250cc8c Add code to do link level address matching for ARCnet interfaces.
ARCnet link level addresses are encoded as :HH (``:'' followed by a
byte encoded in hexadecimal notation).
1999-10-25 16:39:37 +00:00
kleink
522cbf0248 Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
lukem
0e4f2591aa change default nsswitch.conf entry for `hosts' from:
hosts: dns files
to
	hosts: files dns

this should speed things up a lot at boot if hostnames that are in
/etc/hosts are used for ifconfig, route, etc.
1999-10-24 12:36:02 +00:00
lukem
e7d4e16bdf Fix pointer arithmatic (caused problems on LP64, including ftp dumping
core when `edit' was turned off then on).
Problem solved by David Huggins-Daines <dhd@eradicator.org>
1999-10-24 04:04:13 +00:00
hannken
f991f0978c Undo last change. While these macros are defined in exec_elf.h, they are
enclosed by `#ifdef _KERNEL'.
1999-10-22 10:10:36 +00:00
erh
3923b9d80e Remove ELFNAME macros which are already defined in exec_elf.h. 1999-10-21 21:12:37 +00:00
erh
4cb911b098 Add ENXIO error for FIFOs. 1999-10-21 19:40:22 +00:00
is
339b6a0303 Limited support for matching on ARCnet payload:
- oldstyle and PHDS IPv4+ARP; RARP, IPv6, Appletalk are matched now.
- in case this is an unfragmented or first-fragment IPv4, IPv6, ARP, RARP or
  Appletalk packet, matching inside the payload is possible to the extent
  already supported by tcpdump/libpcap. For 2nd and next fragments, this
  won't work; it also won't work for oldstyle (RFC1051) IPv4 and ARP.
1999-10-18 19:44:12 +00:00
itohy
1d0a433095 ELF PIC support. 1999-10-18 03:24:28 +00:00
itohy
29215efa45 ELF PIC support.
Small optimization.
1999-10-18 03:22:14 +00:00
jdolecek
9fc25cf0bc when loading all locale categories (called with LC_ALL), ignore if
loadlocale() fails - since only LC_CTYPE is implemented and all
other categories return error, code never got to actually
load the ctype locales, as first category tried was LC_COLLATE
and it always failed
1999-10-15 17:17:07 +00:00
jdolecek
7c714abab4 don't assume locales are not working - it may not be the case
re_refresh(): cast the character passed to re_addc() to unsigned char,
        so we don't end up calling isprint() with negative value
        when chars are signed and character value is >= 128
1999-10-15 17:01:19 +00:00
jdolecek
1374533c20 document ddb.fromconsole & DBCTL_FROMCONSOLE, description taken from options(4) 1999-10-14 09:33:51 +00:00
drochner
ee32a80a8a > #include <sys/time.h> to make it compile again 1999-10-13 17:48:04 +00:00
kleink
b884980717 Fix some formatting mistakes of mine. 1999-10-11 11:03:27 +00:00
shin
54de12eae6 remove extra lw (SOFTFLOAT) 1999-10-11 05:25:35 +00:00
shin
f761ddb744 adjust #endif position (SOFTFLOAT) 1999-10-11 05:21:06 +00:00
hwr
7115c003bd Mention ipsec(4), as there are the ipsec mib variables documented. 1999-10-10 12:32:16 +00:00
sommerfeld
d6bfb9f33e Fix LP64 glitch which resulted in xntpd attempting pass excessively
large offsets into adjtime().  (bug reported in PR7602).

It's fairly clear that this is not the only lp64 glitch in the code,
but this is a biggie.
1999-10-09 19:42:46 +00:00
msaitoh
2cf9cd31f6 add csu for sh3 1999-10-07 11:56:28 +00:00
jdolecek
1baa9b08ef remove the list of signals and xref signal(7) instead 1999-10-06 17:17:26 +00:00
jdolecek
7db4bda538 xref signal(7) 1999-10-06 17:16:56 +00:00
jdolecek
1124973cb5 Add SEE ALSO section and xref sigaction(2) and signal(7) 1999-10-06 17:14:55 +00:00
jdolecek
edf12166ba xref signal(7) 1999-10-06 17:14:02 +00:00
jdolecek
79fc686d91 remove the list of signals and xref signal(7) instead 1999-10-06 17:10:08 +00:00
jdolecek
d90b5ccdc7 rip off the signal list and xref signal(7) instead 1999-10-06 17:07:02 +00:00
is
a7c7586cf6 First part of ARCnet support.
Matching for anything won't work (as we need to teach the stuff about
variable length link level headers), but printing is fine.
1999-10-05 20:37:21 +00:00
lukem
332ab876a2 update post change to return value of tputs() third argument 1999-10-04 23:24:04 +00:00
lukem
65c98beb1a remove some lint 1999-10-04 23:23:21 +00:00
lukem
8376788fe0 update post change to return value of tputs() third argument 1999-10-04 23:21:18 +00:00
lukem
26df59590e Change third arg of tputs() from void (*)(int)' to int (*)(int)'.
This is in line with the Single UNIX Spec, Solaris, Linux, FreeBSD, ...
1999-10-04 23:16:50 +00:00
takemura
cdabc2eb91 Hpcmips needs completely FPU instruction free user land.
XXX, this modification is kinda ad-hoc.
1999-09-29 13:19:13 +00:00
explorer
93eb76dd3d Fix incorrectly initialized value from _DIAGASSERT() changes. 1999-09-29 03:58:51 +00:00
simonb
dc3d23b724 Change attr in __LDATA from a char to an int. Fixes a few annoying
screen update problems (particularly on the pmax, sparc and alpha,
and i386 to a lesser extent).  It seems that because __LDATA wasn't a
fully packed structure (and hashes to check for screen updates hashed
unused areas in the structure as well) that under some circumstances the
compiler filled the unused areas with garbage.

Doesn't break binary compatibiliy - no shared library version number
changes.
1999-09-29 00:34:38 +00:00
bouyer
510907ed01 Document CTL_PROC, the core filename format it core(5), and xref sysctl(8),
sysctl(3), core(5) in various place.
Document 'options DEFCORENAME' inj options(4) and $defcorename in rc.conf(5).
1999-09-28 14:52:32 +00:00
kleink
30ae96c534 Oops, missed these in the mcount -> __mcount renaming. 1999-09-28 08:27:08 +00:00
lukem
d7eb991a65 xref strlcpy & strlcat 1999-09-28 02:15:07 +00:00
kleink
4b8ee1f7d2 Move {XOPEN_SHM} from Commands & Utilities to System Interfaces. 1999-09-27 16:27:12 +00:00
kleink
c13a492388 1003.1c: add {LOGIN_NAME_MAX}. 1999-09-27 16:24:39 +00:00
jdolecek
8eb5a4184d xref symlink(7) 1999-09-26 21:18:53 +00:00
jdolecek
7d96f3efd3 xref symlink(7) 1999-09-26 21:00:25 +00:00
jdolecek
09f91c86b6 Add czech language message catalog 1999-09-26 20:27:59 +00:00
lukem
9962715a2e apparantly need <unistd.h> for portable way of getting _POSIX_VDISABLE 1999-09-26 14:37:47 +00:00
sommerfeld
4a22cb272c Correct the reference to the current value of MAXLOGNAME to reflect reality 1999-09-24 19:55:15 +00:00
is
e203553a11 Finish support for auto-generated libkern divsi3.S. 1999-09-21 09:43:38 +00:00
lukem
8494e0e800 * in el_source():
- don't reopen fp if it was successfully opened in a previous check
	- use strlcpy()/strlcat() instead of snprintf() to build a pathname,
	  since the former are more portable to other systems than the latter
* whitespace fascism
1999-09-21 00:55:55 +00:00
lukem
250f2917a0 fix id header... 1999-09-21 00:07:03 +00:00
lukem
1dbb61e63e more whitespace fascism 1999-09-20 23:43:42 +00:00
kleink
749057fddc Need internal names for these, too. 1999-09-20 15:07:21 +00:00
is
897dbf6c67 Use an identical source file for the libc and the libkern version of
divsi3.S, conditionally compiling the divide by zero case. This way,
after a change to the one, we can just copy it over to update the other
without creating ... problems. By Chris G.  Demetriou.
1999-09-20 09:22:47 +00:00
lukem
d896261208 back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
mycroft
959acd6d47 Looks like I forgot to add this copy of isnan.c. 1999-09-17 21:32:53 +00:00
simonb
ac71081c1a When dumping the attributes for a line, put a space between each attribute
so you can tell where each one starts and stops, and prefix these lines
with "attr: ".
1999-09-17 14:21:04 +00:00
simonb
3c0e66da97 Include current line number in CTRACE of line being deleted. 1999-09-17 13:44:31 +00:00
lukem
e0f82c3ae3 revert previous; if we examine SUS more closely we find that unless explictly specified, use of a NULL pointer is undefined 1999-09-17 13:03:46 +00:00
kleink
c46d95a329 The previous assertion change was incorrect: the preg argument is permitted to
be NULL (part of the interface definition!) unless errcode is REG_ATOI, which
is a non-portable extension.

Also, remove assertions from the local regatoi() function, as they are either
redundant or will never fail due to the buffer allocation for that argument in
regerror().
1999-09-17 09:33:34 +00:00
kleink
279f31c6ee Partially revert previous change: the assertions made in utility functions
defined with file scope only are redundant, and will never fail.
1999-09-17 09:25:34 +00:00
kleink
ba7f64cc15 Revert previous change: the assertion
* is made in a utility function with file scope only, and
* will never fail.
1999-09-17 09:18:15 +00:00
lukem
e97b67a374 remove diagnostic check for name==NULL; it's ok to call pw_error() in this case 1999-09-17 01:28:12 +00:00
lukem
8a0f61568f since clnt_p*error() are expected to print an error message, print one if they're called with dodgy args. ;) 1999-09-17 00:21:12 +00:00