kopensolaris-gnu/glibc.git
21 years agoDefine _G_fpos_t as struct. Define _G_iconv_t.
drepper [Wed, 16 Jun 1999 22:44:33 +0000 (22:44 +0000)]
Define _G_fpos_t as struct.  Define _G_iconv_t.

21 years agoAdapt for symbol name changes in gconv.h.
drepper [Wed, 16 Jun 1999 22:43:16 +0000 (22:43 +0000)]
Adapt for symbol name changes in gconv.h.

21 years agoDetermine from wide bit whether stream is wide oriented or not.
drepper [Wed, 16 Jun 1999 22:42:39 +0000 (22:42 +0000)]
Determine from wide bit whether stream is wide oriented or not.

21 years agoCall __printf_fp with wide bit cleared.
drepper [Wed, 16 Jun 1999 22:41:48 +0000 (22:41 +0000)]
Call __printf_fp with wide bit cleared.

21 years agoWrapper around vfscanf for wide character version.
drepper [Wed, 16 Jun 1999 22:41:27 +0000 (22:41 +0000)]
Wrapper around vfscanf for wide character version.

21 years agoWrapper arounf vfprintf for wide character version.
drepper [Wed, 16 Jun 1999 22:41:16 +0000 (22:41 +0000)]
Wrapper arounf vfprintf for wide character version.

21 years agoRewrite to allow use in wide character context.
drepper [Wed, 16 Jun 1999 22:40:25 +0000 (22:40 +0000)]
Rewrite to allow use in wide character context.

21 years agoDetermine from wide bit whether stream is wide oriented or not.
drepper [Wed, 16 Jun 1999 22:39:05 +0000 (22:39 +0000)]
Determine from wide bit whether stream is wide oriented or not.

21 years ago(printf_info): Add wide bit.
drepper [Wed, 16 Jun 1999 22:38:20 +0000 (22:38 +0000)]
(printf_info): Add wide bit.

21 years agoDefine ISASCII and MBRLEN.
drepper [Wed, 16 Jun 1999 22:37:45 +0000 (22:37 +0000)]
Define ISASCII and MBRLEN.

21 years agoAllow use in wide character context.
drepper [Wed, 16 Jun 1999 22:36:43 +0000 (22:36 +0000)]
Allow use in wide character context.

21 years agokWide character number conversion output digits.
drepper [Wed, 16 Jun 1999 22:35:30 +0000 (22:35 +0000)]
kWide character number conversion output digits.

21 years agoMinimal optimization.
drepper [Wed, 16 Jun 1999 22:35:14 +0000 (22:35 +0000)]
Minimal optimization.

21 years agoInteger to wide char conversion function.
drepper [Wed, 16 Jun 1999 22:34:02 +0000 (22:34 +0000)]
Integer to wide char conversion function.

21 years agoLong long integer to wide char conversion function.
drepper [Wed, 16 Jun 1999 22:33:55 +0000 (22:33 +0000)]
Long long integer to wide char conversion function.

21 years ago(base_table): Rename to _IO_base_table and make global.
drepper [Wed, 16 Jun 1999 22:32:42 +0000 (22:32 +0000)]
(base_table): Rename to _IO_base_table and make global.

21 years ago(routines): Add _itowa, itowa-digits, vfwprintf, and vfwscanf.
drepper [Wed, 16 Jun 1999 22:31:36 +0000 (22:31 +0000)]
(routines): Add _itowa, itowa-digits, vfwprintf, and vfwscanf.

21 years agoDocument wcsftime.
drepper [Wed, 16 Jun 1999 22:30:16 +0000 (22:30 +0000)]
Document wcsftime.

21 years agoDocument is_char and wide element if printfinfo.
drepper [Wed, 16 Jun 1999 22:29:47 +0000 (22:29 +0000)]
Document is_char and wide element if printfinfo.

21 years agokDon't run tests for now.
drepper [Wed, 16 Jun 1999 22:27:38 +0000 (22:27 +0000)]
kDon't run tests for now.

21 years agoAdapt for introduction of more LC_TIME entries.
drepper [Wed, 16 Jun 1999 22:27:22 +0000 (22:27 +0000)]
Adapt for introduction of more LC_TIME entries.

21 years agoAdd new LC_TIME entries for wchar_t data.
drepper [Wed, 16 Jun 1999 22:26:56 +0000 (22:26 +0000)]
Add new LC_TIME entries for wchar_t data.

21 years agoString operations for wide character streams.
drepper [Wed, 16 Jun 1999 22:10:05 +0000 (22:10 +0000)]
String operations for wide character streams.

21 years agowscanf implementation.
drepper [Wed, 16 Jun 1999 22:09:46 +0000 (22:09 +0000)]
wscanf implementation.

21 years agowprintf implementation.
drepper [Wed, 16 Jun 1999 22:09:39 +0000 (22:09 +0000)]
wprintf implementation.

21 years agoGeneric operations for wide char streams.
drepper [Wed, 16 Jun 1999 22:09:16 +0000 (22:09 +0000)]
Generic operations for wide char streams.

21 years agoFile operations for wide char streams.
drepper [Wed, 16 Jun 1999 22:09:07 +0000 (22:09 +0000)]
File operations for wide char streams.

21 years agoBuffer allocation for wide char streams.
drepper [Wed, 16 Jun 1999 22:08:52 +0000 (22:08 +0000)]
Buffer allocation for wide char streams.

21 years agovwscanf implementation.
drepper [Wed, 16 Jun 1999 22:08:38 +0000 (22:08 +0000)]
vwscanf implementation.

21 years agovwprintf implementation.
drepper [Wed, 16 Jun 1999 22:08:30 +0000 (22:08 +0000)]
vwprintf implementation.

21 years agovswprintf implementation.
drepper [Wed, 16 Jun 1999 22:08:22 +0000 (22:08 +0000)]
vswprintf implementation.

21 years agoInput data for wscanf tests.
drepper [Wed, 16 Jun 1999 22:08:10 +0000 (22:08 +0000)]
Input data for wscanf tests.

21 years agoTests for wscanf.
drepper [Wed, 16 Jun 1999 22:07:56 +0000 (22:07 +0000)]
Tests for wscanf.

21 years agoTests for wprintf.
drepper [Wed, 16 Jun 1999 22:07:45 +0000 (22:07 +0000)]
Tests for wprintf.

21 years agotets for swscanf.
drepper [Wed, 16 Jun 1999 22:07:30 +0000 (22:07 +0000)]
tets for swscanf.

21 years agotets for swprintf.
drepper [Wed, 16 Jun 1999 22:07:24 +0000 (22:07 +0000)]
tets for swprintf.

21 years agoswscanf_unlocked implementation.
drepper [Wed, 16 Jun 1999 22:07:13 +0000 (22:07 +0000)]
swscanf_unlocked implementation.

21 years agoswprintf_unlocked implementation.
drepper [Wed, 16 Jun 1999 22:07:02 +0000 (22:07 +0000)]
swprintf_unlocked implementation.

21 years agoputwchar_unlocked implementation.
drepper [Wed, 16 Jun 1999 22:06:52 +0000 (22:06 +0000)]
putwchar_unlocked implementation.

21 years agoputwchar implementation.
drepper [Wed, 16 Jun 1999 22:06:45 +0000 (22:06 +0000)]
putwchar implementation.

21 years agoputwc_unlocked implementation.
drepper [Wed, 16 Jun 1999 22:06:39 +0000 (22:06 +0000)]
putwc_unlocked implementation.

21 years agoputwc implementation.
drepper [Wed, 16 Jun 1999 22:06:32 +0000 (22:06 +0000)]
putwc implementation.

21 years agoCompatibility implementation of fsetpos.
drepper [Wed, 16 Jun 1999 22:06:19 +0000 (22:06 +0000)]
Compatibility implementation of fsetpos.

21 years agoCompatibility implementation of fsetpos64.
drepper [Wed, 16 Jun 1999 22:06:13 +0000 (22:06 +0000)]
Compatibility implementation of fsetpos64.

21 years agoCompatibility implementation of fgetpos64.
drepper [Wed, 16 Jun 1999 22:06:06 +0000 (22:06 +0000)]
Compatibility implementation of fgetpos64.

21 years agoCompatibility implementation of fgetpos.
drepper [Wed, 16 Jun 1999 22:05:59 +0000 (22:05 +0000)]
Compatibility implementation of fgetpos.

21 years agowpadn implementation.
drepper [Wed, 16 Jun 1999 22:05:41 +0000 (22:05 +0000)]
wpadn implementation.

21 years agovswscanf implementation.
drepper [Wed, 16 Jun 1999 22:05:29 +0000 (22:05 +0000)]
vswscanf implementation.

21 years agoungetwc implementation.
drepper [Wed, 16 Jun 1999 22:05:19 +0000 (22:05 +0000)]
ungetwc implementation.

21 years agogetwline implementation.
drepper [Wed, 16 Jun 1999 22:05:12 +0000 (22:05 +0000)]
getwline implementation.

21 years agokfwide implementation.
drepper [Wed, 16 Jun 1999 22:05:02 +0000 (22:05 +0000)]
kfwide implementation.

21 years agofputws_unlocked implementation.
drepper [Wed, 16 Jun 1999 22:04:50 +0000 (22:04 +0000)]
fputws_unlocked implementation.

21 years agofputws implementation.
drepper [Wed, 16 Jun 1999 22:04:43 +0000 (22:04 +0000)]
fputws implementation.

21 years agofgetws_unlocked implementation.
drepper [Wed, 16 Jun 1999 22:04:28 +0000 (22:04 +0000)]
fgetws_unlocked implementation.

21 years agofgetws implementation.
drepper [Wed, 16 Jun 1999 22:04:21 +0000 (22:04 +0000)]
fgetws implementation.

21 years agogetwchar_unlocked implementation.
drepper [Wed, 16 Jun 1999 22:04:11 +0000 (22:04 +0000)]
getwchar_unlocked implementation.

21 years agogetwchar implementation.
drepper [Wed, 16 Jun 1999 22:04:04 +0000 (22:04 +0000)]
getwchar implementation.

21 years agogetwc_unlocked implementation.
drepper [Wed, 16 Jun 1999 22:03:56 +0000 (22:03 +0000)]
getwc_unlocked implementation.

21 years agogetwc implementation.
drepper [Wed, 16 Jun 1999 22:03:49 +0000 (22:03 +0000)]
getwc implementation.

21 years agofwscanf implementation.
drepper [Wed, 16 Jun 1999 22:03:43 +0000 (22:03 +0000)]
fwscanf implementation.

21 years agofwprintf implementation.
drepper [Wed, 16 Jun 1999 22:03:36 +0000 (22:03 +0000)]
fwprintf implementation.

21 years agofputwc_unlocked implementation.
drepper [Wed, 16 Jun 1999 22:03:27 +0000 (22:03 +0000)]
fputwc_unlocked implementation.

21 years agofputwc implementation.
drepper [Wed, 16 Jun 1999 22:03:20 +0000 (22:03 +0000)]
fputwc implementation.

21 years agoPre-orient stream.
drepper [Wed, 16 Jun 1999 22:00:11 +0000 (22:00 +0000)]
Pre-orient stream.

21 years ago(_IO_str_overflow): Correctly free buffer after failed allocation.
drepper [Wed, 16 Jun 1999 21:59:25 +0000 (21:59 +0000)]
(_IO_str_overflow): Correctly free buffer after failed allocation.
(_IO_str_seekoff): Use _IO_off64_t.

21 years agoAdjust FILEBUF_LITERAL call.
drepper [Wed, 16 Jun 1999 21:57:43 +0000 (21:57 +0000)]
Adjust FILEBUF_LITERAL call.

21 years agoAdjust FILEBUF_LITERAL call.
drepper [Wed, 16 Jun 1999 21:57:17 +0000 (21:57 +0000)]
Adjust FILEBUF_LITERAL call.

21 years agoUse _IO_off_t.
drepper [Wed, 16 Jun 1999 21:56:38 +0000 (21:56 +0000)]
Use _IO_off_t.

21 years agoInitialize so that stream can be wide oriented.
drepper [Wed, 16 Jun 1999 21:55:35 +0000 (21:55 +0000)]
Initialize so that stream can be wide oriented.

21 years agoInitialize so that stream can be wide oriented.
drepper [Wed, 16 Jun 1999 21:55:02 +0000 (21:55 +0000)]
Initialize so that stream can be wide oriented.

21 years agoAdd new prototypes and adjust existing declarations.
drepper [Wed, 16 Jun 1999 21:53:54 +0000 (21:53 +0000)]
Add new prototypes and adjust existing declarations.

21 years agoDefine codecvt struct. Define _IO_wide_data.
drepper [Wed, 16 Jun 1999 21:52:58 +0000 (21:52 +0000)]
Define codecvt struct.  Define _IO_wide_data.
Extend _IO_file contain pointer to codecvt, widedata and mode.
(_IO_getwc_unlocked): New macro.
(_IO_putwc_unlocked): New macro.
(_IO_fwide): New macro.

21 years agoInitialize so that stream can be wide oriented.
drepper [Wed, 16 Jun 1999 21:49:49 +0000 (21:49 +0000)]
Initialize so that stream can be wide oriented.

21 years agoHandle not yet oriented stream.
drepper [Wed, 16 Jun 1999 21:46:49 +0000 (21:46 +0000)]
Handle not yet oriented stream.

21 years agoUse _IO_off_t.
drepper [Wed, 16 Jun 1999 21:44:22 +0000 (21:44 +0000)]
Use _IO_off_t.

21 years agoUse _IO_off_t.
drepper [Wed, 16 Jun 1999 21:43:41 +0000 (21:43 +0000)]
Use _IO_off_t.

21 years agoOrient stream if not already happened.
drepper [Wed, 16 Jun 1999 21:42:31 +0000 (21:42 +0000)]
Orient stream if not already happened.

21 years agoInitialize so that stream can be wide oriented.
drepper [Wed, 16 Jun 1999 21:41:45 +0000 (21:41 +0000)]
Initialize so that stream can be wide oriented.

21 years agoAdd prototype for _IO_vswprintf. Change _IO_pos_BAD to use
drepper [Wed, 16 Jun 1999 21:40:42 +0000 (21:40 +0000)]
Add prototype for _IO_vswprintf.  Change _IO_pos_BAD to use
_IO_off64_t.

21 years agoOrient stream if not already happened.
drepper [Wed, 16 Jun 1999 21:38:43 +0000 (21:38 +0000)]
Orient stream if not already happened.

21 years agoUse _IO_off_t. For now abort when use with wide char stream.
drepper [Wed, 16 Jun 1999 21:37:57 +0000 (21:37 +0000)]
Use _IO_off_t.  For now abort when use with wide char stream.

21 years agoRestore conversion state if necessary.
drepper [Wed, 16 Jun 1999 21:36:20 +0000 (21:36 +0000)]
Restore conversion state if necessary.

21 years agoOrient stream if not already happened.
drepper [Wed, 16 Jun 1999 21:35:22 +0000 (21:35 +0000)]
Orient stream if not already happened.

21 years agoUse _IO_off64_t.
drepper [Wed, 16 Jun 1999 21:33:29 +0000 (21:33 +0000)]
Use _IO_off64_t.

21 years agoInitialize so that stream can be wide oriented.
drepper [Wed, 16 Jun 1999 21:32:31 +0000 (21:32 +0000)]
Initialize so that stream can be wide oriented.

21 years agoStore state of conversion if necessary.
drepper [Wed, 16 Jun 1999 21:31:40 +0000 (21:31 +0000)]
Store state of conversion if necessary.

21 years agoInitialize so that stream can be wide oriented.
drepper [Wed, 16 Jun 1999 21:30:51 +0000 (21:30 +0000)]
Initialize so that stream can be wide oriented.

21 years ago(_IO_least_marker): Make global.
drepper [Wed, 16 Jun 1999 21:30:05 +0000 (21:30 +0000)]
(_IO_least_marker): Make global.
(__underflow): Orient stream if not already done.
(__uflow): Likewise.
(_IO_default_seekpos): Change to type _IO_off64_t.
(_IO_default_seekoff): Likewise.
(_IO_default_seek): Likewise.
(_IO_no_init): New function.  Similar to _IO_init but allows to orient
in initialization.

21 years agoUse _IO_off64_t. For now abort when use with wide char stream.
drepper [Wed, 16 Jun 1999 21:24:16 +0000 (21:24 +0000)]
Use _IO_off64_t.  For now abort when use with wide char stream.

21 years agoUse _IO_off_t. For now abort when use with wide char stream.
drepper [Wed, 16 Jun 1999 21:23:53 +0000 (21:23 +0000)]
Use _IO_off_t.  For now abort when use with wide char stream.

21 years ago(_IO_new_file_close_it): Reset normal or widedata buffers based on mode.
drepper [Wed, 16 Jun 1999 21:21:27 +0000 (21:21 +0000)]
(_IO_new_file_close_it): Reset normal or widedata buffers based on mode.
(new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide oriented.
(_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
flag to be enough to signal unallocated buffer.  For wide oriented
stream don't make it linebuffered.  Don't use _IO_do_flush, use
_IO_new_do_write directly.
(_IO_new_file_seekoff): Change return value type to _IO_off64_t.
(_IO_file_seek): Likewise.

21 years agoAdd _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos, _IO_fsetpos64, fgetpos,
drepper [Wed, 16 Jun 1999 21:10:44 +0000 (21:10 +0000)]
Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos, _IO_fsetpos64, fgetpos,
fgetpos64, fgetwc, fgetwc_unlocked, fgetws, fgetws_unlocked, fputwc,
fputwc_unlocked, fputws, fputws_unlocked, fsetpos, fsetpos64, fwide,
fwprintf, fwscanf, getwc, getwc_unlocked, getwchar, getwchar_unlocked,
putwc, putwc_unlocked, putwchar, putwchar_unlocked, swprintf, swscanf,
ungetwc, vfwprintf, vswprintf, vwprintf, vfwscanf, vswscanf, vwscanf,
wprintf, and wscanf to GLIBC_2.2 for libc.

21 years ago(routines): Add wfiledoalloc, oldiofgetpos,
drepper [Wed, 16 Jun 1999 21:07:37 +0000 (21:07 +0000)]
(routines): Add wfiledoalloc, oldiofgetpos,
oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
and iofwide.
(tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.

21 years agoChange mbstate_t to __mbstate_t.
drepper [Wed, 16 Jun 1999 21:04:50 +0000 (21:04 +0000)]
Change mbstate_t to __mbstate_t.
Add prototypes for __wmemcpy, __wmempcpy, __wmemmove, __wcschrnul, and
__vfwscanf.

21 years ago(MB_LEN_MAX): Increase to 16.
drepper [Wed, 16 Jun 1999 21:02:32 +0000 (21:02 +0000)]
(MB_LEN_MAX): Increase to 16.

21 years agoAdapt for symbol name changes in gconv.h.
drepper [Wed, 16 Jun 1999 20:52:49 +0000 (20:52 +0000)]
Adapt for symbol name changes in gconv.h.

21 years agoAdapt for symbol name changes in gconv.h.
drepper [Wed, 16 Jun 1999 20:50:12 +0000 (20:50 +0000)]
Adapt for symbol name changes in gconv.h.

21 years agoMake header suitable for inclusion in public header by protecting all
drepper [Wed, 16 Jun 1999 20:47:03 +0000 (20:47 +0000)]
Make header suitable for inclusion in public header by protecting all
names with __.

21 years agoAdd GLIBC_2.2 for libc.
drepper [Wed, 16 Jun 1999 20:44:31 +0000 (20:44 +0000)]
Add GLIBC_2.2 for libc.

21 years agoUpdate.
drepper [Wed, 16 Jun 1999 15:44:59 +0000 (15:44 +0000)]
Update.