Commit Graph

8485 Commits

Author SHA1 Message Date
dsl 5dbcc1e019 If VIS_CSTYLE is specified, use \ to escape any printable characters
(especially \ itself, and anything else in 'extra').
Fix strvis() and strvisx() to pass 0..255 to isgraph() etc.
2003-07-16 22:34:34 +00:00
nathanw e171479839 pthread_kill() prototype moved to <signal.h>. 2003-07-16 21:26:33 +00:00
cb 9b28f9c625 Mark __clockctl_fd close-on-exec to avoid unintentionally leaking
time setting privileges across an exec.
2003-07-16 19:42:11 +00:00
itojun 24fbe10c93 do not build/install shlib 2003-07-16 19:35:34 +00:00
wiz 19aedbe869 Bump date for last. 2003-07-16 11:54:44 +00:00
tshiozak 5e3e3850e3 correct boundary check in _citrus_db_lookup_string_by_string(). 2003-07-16 08:13:51 +00:00
itojun 2ec4a5905e use bounded string op 2003-07-16 08:05:27 +00:00
itojun 427af575fe use bounded string op. bump shlib major for libtelnet due to API change. 2003-07-15 10:14:54 +00:00
itojun fabed9f775 use bounded string op 2003-07-15 05:09:34 +00:00
jeremy be8ce1d30b Documented the return values from el_get(). 2003-07-14 22:36:22 +00:00
itojun df0916cac9 MDC2 is patented 2003-07-14 13:49:21 +00:00
itojun fcfc71fca0 use strlcat 2003-07-14 12:37:13 +00:00
tshiozak 0e0aa0868c use NONIDENTICAL instead of ILSEQ if the reverse conversion of ISO646.
(fix for lib/22135)
2003-07-14 11:37:49 +00:00
wiz 22c09256dd cpu -> CPU, from jmc@openbsd. 2003-07-14 08:58:57 +00:00
itojun 7b8c272d80 be friendly to unifdef(1) 2003-07-14 08:36:27 +00:00
tshiozak c1e771ab90 separate "nonidentical conversion" and "ilseq" under csmapper.
"nonidentical" means "the input character index is valid, but not
corresponding to the output codeset."
"ilseq" means "the input character index is invalid for the input codeset."
2003-07-12 15:39:19 +00:00
dsl 880234af7e Stop def_prog_mode() saving incorrect termio settings.
Make set_prog_mode() set the correct settings.
I'm not certain how much restoration set_prog_mode() should do, but it
definitely doesn't want to do all of __restartwin().
Maybe __restartwin() should be calling set_prog_mode()?
2003-07-10 12:50:18 +00:00
lukem 7b6e5e6602 NOxxx= variables must appear before <bsd.own.mk> 2003-07-10 11:27:45 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
tshiozak 888aa165a5 add forgotten _CITRUS_HASH_REMOVE() at release_shared().
This hopefully fixes the PR pkg/22113.
2003-07-10 09:08:57 +00:00
tshiozak 8adfd9b778 make _DIAGNOSTIC happy. 2003-07-10 08:50:43 +00:00
kleink 4e043afc74 Fix pasto in 1.26; spotted by Thomas Klausner. 2003-07-09 15:38:20 +00:00
wiz 60c9febddd Drop trailing spaces. 2003-07-09 14:12:31 +00:00
kleink 9789cc2d45 Mention related kernel options where applicable. 2003-07-09 13:35:08 +00:00
matt 0f8d87a96d Update to new world order. **not tested** But will allow builds to
finish.
2003-07-09 00:55:45 +00:00
uwe fa9c69303e Fix previous. s/_start/___start/ in the declaration as well. 2003-07-05 23:50:28 +00:00
uwe ea81adf86a Not that the branch in SETC doens't have a delay slot, remove the
.empty comment as it's no longer pertinent.
2003-07-05 23:01:25 +00:00
marcus bcd3ee1e02 Provide entry point as both _start and __start, like i386 port does. 2003-07-05 22:51:12 +00:00
marcus 4e24351384 PIC patch from Valeriy E. Ushakov applied.
Also, removed bogus delay slot flag from branch instruction.
2003-07-05 22:50:09 +00:00
marcus cccf9dfce5 The field "pt_sleepuc" doesn't exist in struct pthread_st. 2003-07-05 21:27:23 +00:00
jdc 256ce6a6f2 Rework the way window/wub-window refresh is done.
For each line that is marked dirty on each sub-window, we now mark the
relevant line on the parent as dirty and unmark it on the sub-window.
This avoids copying the same data multiple times and also leaves the
cursor in the correct position for the window refreshed.
2003-07-05 19:07:49 +00:00
jdc 24b8aeb15a New sub-windows should not be marked as pads.
(Also noticed by David Laight.)
2003-07-05 19:03:32 +00:00
wiz 94474093a7 Grammar improvement. 2003-07-05 17:34:55 +00:00
tshiozak 6f555a803c correct a careless miss.
add the mention about the buffer size when resetting destination state.
2003-07-05 16:54:23 +00:00
skrll ec57ccf92d Typos in comments. 2003-07-04 15:16:14 +00:00
wiz b84f435f94 Improve wording. 2003-07-04 13:45:35 +00:00
wiz 0ea2a4723e Bump date for last. 2003-07-04 12:42:05 +00:00
wiz a86b52e89a Sort list of functions. 2003-07-04 12:40:15 +00:00
wiz 8d15a4fe46 Fix Dd string and remove trailing whitespace. 2003-07-04 12:38:58 +00:00
wiz 624f3e364c Various fixes; add LIBRARY section. 2003-07-04 12:29:38 +00:00
wiz 0d5ea51ae2 Drop trailing whitespace. 2003-07-04 12:17:59 +00:00
wiz cf10d78423 Remove superfluous word. 2003-07-04 11:59:34 +00:00
wiz 3261c36039 Add comma. 2003-07-04 11:57:58 +00:00
wiz c9b0edd1ba Remove superfluous word. 2003-07-04 11:57:17 +00:00
wiz df617ae85c Fix typo. 2003-07-04 11:55:58 +00:00
wiz 9edf05479a Mark up a defined value. 2003-07-04 11:47:03 +00:00
wiz 63e8a90e85 New sentence, new line. 2003-07-04 10:19:42 +00:00
wiz 7398828105 Fix typo. 2003-07-04 10:18:46 +00:00
wiz 1e15cda14b > -> \*[Gt] 2003-07-04 08:43:33 +00:00
wiz 5b1fed0bc5 Sort sections. 2003-07-04 08:42:57 +00:00
wiz f84167245a .Pp fixes. 2003-07-04 08:42:20 +00:00
wiz 2f56847e01 Fix SEE ALSO. 2003-07-04 08:41:25 +00:00
wiz ba587118af Drop trailing whitespace. 2003-07-04 08:36:06 +00:00
wiz 1fabdcd1fb Drop whitespace. 2003-07-04 08:20:31 +00:00
wiz 5e93a9d980 Grammar, punctuation, and mdoc fixes. Sort sections. 2003-07-04 07:44:19 +00:00
tshiozak a781221f36 add iconv.3 manpage. 2003-07-04 06:05:28 +00:00
tshiozak 918c07021f separate "close" process into two parts (with and without handling hash).
This change makes the code symmetrical and ensures the lock not to be
aquired recursively.
The problem that the lock is tried to be aquired recursively was
pointed out by Matthias Drochner.
2003-07-02 17:48:57 +00:00
marcus 9b73f39949 Generate proper PIC code for libc_pic.a. 2003-07-01 14:35:44 +00:00
wiz 7dd0ed6e01 We do not want empty lines in mdoc. 2003-07-01 10:23:52 +00:00
wiz bbe810ed82 Use Em instead of weird Bf usage. 2003-07-01 10:20:54 +00:00
wiz 9d37bb0f6b Va Sq -> Sq Va so both work. 2003-07-01 10:17:36 +00:00
wiz 6156e5aaa0 Add missing dot a beginning of line. 2003-07-01 10:16:50 +00:00
tshiozak 58db2e99e2 add iconv_t cache.
- separate shared part and context part from iconv_t.
  - add cache of shared part.
and, bump shlib_version minor of i18n modules because iconv i/f is changed.
2003-07-01 09:42:15 +00:00
tshiozak 290f7cdee9 cosmetic change. 2003-07-01 08:34:03 +00:00
tshiozak b50ac1a74f fix lib/22023 - there were references to uninitialized variables. 2003-07-01 08:33:06 +00:00
wiz b93a29cdaa Fixes to make these man page look nice with groff-1.19. 2003-06-30 19:12:31 +00:00
christos 6363afb646 use __attribute__((__packed__)) instead of __packed. 2003-06-30 17:54:13 +00:00
kleink 5a44432bf1 Sprinkle some restrict. 2003-06-30 15:14:17 +00:00
wiz 03cb7d2b4f Remove .UC -- not Berkeley Distribution man pages. 2003-06-30 14:18:56 +00:00
tshiozak a8076e0474 add #include "config.h" when these files are built as parts of host tools. 2003-06-30 12:32:21 +00:00
wiz 23ea338b1b Use a better width argument. 2003-06-30 12:02:08 +00:00
tshiozak cba952da4e u_int*_t -> uint*_t.
I would like to use stdint.h, but it is too modern for the host tools.
u_int*_t are more popular under UNIX-like systems, although they are
not backed up with any standards.
(src/tools/compat/stdint.h is maybe necessary.)
2003-06-29 17:30:07 +00:00
jdc 5572bca927 Make the refresh complete in the presence of multiple sub-windows.
Match function names in the debug output.
2003-06-28 21:11:43 +00:00
wiz a8f1dff65a Add Ns. 2003-06-27 18:57:09 +00:00
wiz e19fe12b03 Remove superfluous comma. 2003-06-27 18:01:08 +00:00
wiz b50ca43043 Pa Aq -> Aq Pa; Sy Pa -> Sy. 2003-06-27 17:59:33 +00:00
tshiozak 82d5554eda sync with the last change for citrus_hash.h. 2003-06-27 17:53:31 +00:00
tshiozak 2aa99730ce make sure to use LIST_* macros defined in sys/queue.h.
pointed out by yamt@netbsd.
2003-06-27 17:43:15 +00:00
wiz cc45dace72 Use Aq Pa instead of Fd \*[Lt]...\*[Gt]. 2003-06-27 15:33:24 +00:00
yamt d71154b0e4 in _citrus_ctype_btowc_fallback() and _citrus_ctype_wctob_fallback(),
use enough size byte arrays, instead of abusing mbstate_t.
just pedantic.  no functional change is involved.
2003-06-27 14:52:25 +00:00
wiz e414629c30 Pa Aq -> Aq Pa so that both work. 2003-06-27 14:50:31 +00:00
wiz 2b8b2a8b6f Quote question mark and brace. 2003-06-27 14:24:16 +00:00
wiz 2e906114a3 Remove superfluous "". 2003-06-27 14:23:24 +00:00
wiz 3e884db9b9 Quote question mark. 2003-06-27 14:03:45 +00:00
wiz 6e5644d28c Aq Pa instead of Pa Aq. 2003-06-27 13:58:51 +00:00
wiz 2a0c101d51 Remove superfluous semicolon. 2003-06-27 13:23:11 +00:00
wiz 551b587f30 End sentence with a dot. 2003-06-27 13:17:02 +00:00
wiz 1f45225df4 Fix typo in macro name, and remove a trailing comma. 2003-06-27 13:05:08 +00:00
wiz 6f235494c5 Fix typos in macro names. 2003-06-27 13:02:27 +00:00
yamt 8822a3e83e $NetBSD $ -> $NetBSD$ 2003-06-27 12:55:13 +00:00
wiz 1ff0ecb2a4 This man page is in section 2, not 3. 2003-06-27 12:23:08 +00:00
wiz b0e8e1d6c7 SYNOPSIS is not a good place for C comments;
also, simplify macro usage.
2003-06-27 12:04:36 +00:00
wiz e0c3e5d8e2 This man page is in section 2, not 3. 2003-06-27 11:51:07 +00:00
itojun c7ca01fc7d i guess the original intent was this... 2003-06-27 08:58:18 +00:00
itojun 877654378b memset() after null check 2003-06-27 08:56:07 +00:00
itojun 29aff1f984 clear memory after malloc() 2003-06-27 08:50:47 +00:00
tshiozak 284734d7ec bump libc version because of iconv. 2003-06-27 06:05:08 +00:00
tshiozak ff5c3e6895 Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
  - bump libc minor.
  - add iconv data files.
  - create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
    mkesdb(1)/mkcsmapper(1).
2003-06-27 05:21:49 +00:00
itojun 7a580d5968 clear malloc'ed memory. sync w/kame 2003-06-27 03:40:44 +00:00
nathanw 6a0c6dddb7 Preferentially read context pointer from pt_trapuc. 2003-06-26 21:51:59 +00:00