Commit Graph

3157 Commits

Author SHA1 Message Date
wennmach
d775c4b047 Bump minor 1999-11-25 22:09:37 +00:00
wennmach
7b7d5b8b06 Added #defines for svis, strsvis, strsvisx 1999-11-25 16:54:15 +00:00
wennmach
6a041e3a5d Added description of svis, strsvis, strsvisx.
Fixed several minor errors concerning vis, strvis, strvisx, tyops.
1999-11-25 16:52:29 +00:00
wennmach
5f9f80b825 Added new functions
char *
     svis(char *dst, int c, int flag, int nextc, const char *extra);

     int
     strsvis(char *dst, const char *src, int flag, const char *extra);

     int
     strsvisx(char *dst, const char *src, size_t len, int flag,
             const char *extra);

These functions correspond to vis(), strvis(), and strvisx() but have an
additional argument extra, pointing to a NUL terminated list of characters.
These characters will be copied encoded or backslash-escaped into dst. These
functions are useful e. g.  to remove the special meaning of certain
characters to shells.

To implement the new functions, vis underwent a major rewrite. Most functions
now use a central macro, SVIS. Performance increase ~ factor 2.

Reviewed by Christos.
1999-11-25 16:50:06 +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
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
is
bcb4c98ba9 Properly check for overflows. Fixes PR8314 as annotated by mjl. 1999-11-13 04:52:50 +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
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
lukem
e0c4130ae6 use .Fn appropriately 1999-11-07 01:26:02 +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
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
thorpej
3b435a7396 Add register prefixes. 1999-10-25 23:48:07 +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
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
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
1374533c20 document ddb.fromconsole & DBCTL_FROMCONSOLE, description taken from options(4) 1999-10-14 09:33:51 +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
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
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
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