| History log of /src/distrib/utils/libhack |
| Revision | Date | Author | Comments |
| 1.26 | 28-Mar-2019 |
christos | Dedup and add the small jemalloc implementation so our install media has a chance to fit again.
|
| 1.25 | 18-Jun-2017 |
manu | branches: 1.25.6; Make shared -DSMALL libc buildable without breaking libhack
We used -DSMALL to exclude code from libc in order to build libhack. Introduce -DLIBHACK to do this without so that -DSMALL does not remove code necessary for building a shared libc
|
| 1.24 | 27-Aug-2013 |
christos | branches: 1.24.4; 1.24.18; avoid copying most of libc (except gethostent_r, which unfortunately adds a resolver dependency) by callling the internal nsswitch functions.
|
| 1.23 | 11-Oct-2012 |
christos | make libhack's syslog.c produce exactly the same symbols as libc's syslog.c, so that in the future we can keep them synced. Avoid strong_alias since it does not play well with symbol renaming.
|
| 1.22 | 02-Jan-2009 |
tnozaki | branches: 1.22.8; 1.22.14; Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. ok'ed by core and releng. (thanks for agc@, snj@ and i'm sorry for long time patience).
[libc] - localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by new locale-db implementation using citrus_db backend, see src/lib/libc/citrus/citrus_lc_*.[ch]. - add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation internally, because they're locale-aware function. - add some stubs for multi-locale issue, see {current,global}_locale.c. - remove some obsolete file, setrunelocale.c, ___runetype_mb.c. - remove __savectype() from ctypeio.[ch].
[tools] - mklocale(1): add new option ``-t'' that generates new style LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format. - chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db] - added en_US.US-ASCII locale. - removed some shareable locale definition file: en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8 zh_CN.eucCN -> zh_CN.GB18030 and more...see src/share/locale/*/Makefile. - remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS. - change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP* for X11's locale.alias file alignments. - fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch: i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db. so that backward compatibility is keeped, but lc*.[ch] can't read new citrus_db'ed locale-db and localeio.c never check sanity, so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
|
| 1.21 | 06-Nov-2007 |
martin | branches: 1.21.8; 1.21.14; Compile a special version of the default locale into libhack - we can not use real locales, but this at least allows single byte character locales to work as expected (i.e. the existing translations for sysinst). Once we get a sysinst translation that needs more, we'll have to drop this and the castrated setlocale(), and go for a real solution.
|
| 1.20 | 02-Apr-2007 |
christos | branches: 1.20.4; Merge the multibyte routines into one file, and add stub implementations for one more that is needed, and commented out partial implementations for the test of the functions. This should stop the re-defined symbol errors for now.
|
| 1.19 | 03-Feb-2007 |
christos | we need wcrtomb now too.
|
| 1.18 | 15-May-2005 |
dsl | branches: 1.18.4; Stub out mbrtowc(), removes all the citrus_xxx stuff from libc. rescue_tiny fits again...
|
| 1.17 | 06-Jun-2004 |
christos | Include a fake syslog that does only printf; saves 4K.
|
| 1.16 | 25-Apr-2004 |
christos | arrange for libc's getcap to be used instead of a local copy.
|
| 1.15 | 25-Mar-2002 |
lukem | Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default, as they only support reading /etc/hosts, and its the "least useful" of the libhack routines. Add gethost.o back to Really Small media which appears to need the space savings.
|
| 1.14 | 03-Feb-2002 |
lukem | permanently disable opendir.o until its link bugs (on ELF platforms only?) are sorted out. speculation (based on some analysis by simonb) is that it's because fts calls _opendir2 directly, which forces both the libhack and the libc versions of opendir.o to be linked in. in any case, there's space saves to be had elsewhere...
|
| 1.13 | 12-Dec-2001 |
tv | Major readability cleanup; nuke redundancies; MKfoo=no -> NOfoo=.
|
| 1.12 | 05-Oct-2001 |
jmc | Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization levels
|
| 1.11 | 20-Aug-2001 |
martin | Drop ``-Os'' on sparc64 due to toolchain issues.
The same change has already been applied on the 1.5 branch. The problems (i.e. ifconfig not showing IP addresses) have been verified to still exist with the new toolchain.
|
| 1.10 | 18-May-2000 |
matt | branches: 1.10.4; Compile things with -Os. I wonder if compiling -Mno-pic for mips and vax would shrink them even more?
|
| 1.9 | 26-Sep-1999 |
dan | Combine the Makefile.inc and Makefile, and specify the $(HACKOBJS) directly to work around the fact that $(OBJS) seems to produce a double list of each .o for some reason.
XXX Why does $(OBJS) list doubles?
|
| 1.8 | 27-Jun-1999 |
mrg | branches: 1.8.2; miniroot changes: install.sub: - fix interface grovelling, ifmedia support, allow ifmedia and link to have a "none" (-> "") answer (which lets you give nothing when a default answer is given) - allow installing more than one set at a time, including "all" as a synonym for all remaining sets - mount -o async when extracting sets makeconf.awk: - put default "libs" section at the end rather than the start, so you can put other "libs" in before this list - minor cleanup
mtree.conf: - create /kern
sparc install.md: - MDSETS are now "kern xbase xcomp xcontrib xfont xserver" - use /kern & kernfs (replaces dmesg) - replace grep & cut pipe lines with sed - replace grep hackery with sed hackery - grep and cut are no longer required! yay! - deal with no /usr/bin/vi -- call disklabel -i - in md_copy_kern() link the netbsd.GENERIC we got from the kern set, rather than the miniroot kernel sparc miniroot list: - no more dmesg, cut or grep
sparc ramdisk changes: Makefile: - `ramdiskbin.conf' is now generated by makeconf.awk - don't use libhack's opendir, it breaks dot.profile: - don't assume terminal is `sun' - set EDITOR=ed - list: - instbin -> ramdiskbin to make `makeconf.awk' work - CRUNCHSPECIAL those special dirs - add our LIBS as necessary
libhack changes: - if NOLIBHACKOPENDIR is set, don't build opendir.o
|
| 1.7 | 19-May-1999 |
gwr | New files...
|
| 1.6 | 13-Mar-1999 |
sommerfe | branches: 1.6.2; Warnsify. Add reduced version of getcap routines, so sysinst need not drag in the database goop via libtermcap.
|
| 1.5 | 13-Feb-1999 |
lukem | convert from NOxxx= to MKxxx=no. include <bsd.own.mk> if testing a MKxxx variable.
|
| 1.4 | 12-Dec-1997 |
gwr | Add getnet.c
|
| 1.3 | 09-Oct-1996 |
jtc | branches: 1.3.2; merge in 1.2 branch
|
| 1.2 | 13-Oct-1995 |
gwr | branches: 1.2.4; 1.2.6; Minor cleanup
|
| 1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1.1.2; Add some utilities all ports might use in a ramdisk root.
|
| 1.1.1.1.2.1 | 11-Oct-1995 |
gwr | Minor cleanup.
|
| 1.2.6.1 | 13-Sep-1996 |
gwr | Add setlocale.c
|
| 1.2.4.2 | 13-Oct-1995 |
gwr | Minor cleanup
|
| 1.2.4.1 | 13-Oct-1995 |
gwr | file Makefile was added on branch netbsd-1-1 on 1995-10-13 18:10:20 +0000
|
| 1.3.2.1 | 13-Dec-1997 |
gwr | From HEAD: Add getnet.c
|
| 1.6.2.2 | 01-Jul-1999 |
perry | pullup 1.7->1.8 (mrg)
|
| 1.6.2.1 | 21-Jun-1999 |
perry | pullup 1.6->1.7 (gwr)
|
| 1.8.2.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.10.4.1 | 29-Jul-2001 |
he | Apply patch (requested by martin): Drop ``-Os'' on sparc64 due to toolchain issues.
|
| 1.18.4.1 | 08-May-2007 |
pavel | Pull up following revision(s) originally forgotten in ticket #607: distrib/utils/libhack/Makefile: revision 1.19-1.20 distrib/utils/libhack/Makefile.inc: revision 1.20-1.21 distrib/utils/libhack/multibyte.c: revision 1.1 distrib/utils/libhack/syslog.c: revision 1.6 distrib/utils/libhack/mbrtowc.c: deleted
add prototypes for the _ss functions.
we need wcrtomb now too.
Merge the multibyte routines into one file, and add stub implementations for one more that is needed, and commented out partial implementations for the test of the functions. This should stop the re-defined symbol errors for now.
|
| 1.20.4.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.21.14.1 | 15-Jan-2009 |
snj | Pull up following revision(s) (requested by tnozaki in ticket #222): distrib/sets/lists/base/mi: revision 1.788 distrib/utils/libhack/Makefile.inc: revision 1.23 distrib/utils/libhack/Makefile: revision 1.22 etc/mtree/NetBSD.dist: revision 1.387 include/locale.h: revision 1.15 lib/libc/citrus/Makefile.inc: revision 1.6 lib/libc/citrus/citrus_aliasname_local.h: revision 1.1 lib/libc/citrus/citrus_bcs.h: revision 1.5 lib/libc/citrus/citrus_bcs_strtol.c: revision 1.1 lib/libc/citrus/citrus_bcs_strtoul.c: revision 1.1 lib/libc/citrus/citrus_csmapper.c: revision 1.9 lib/libc/citrus/citrus_fix_grouping.h: revision 1.1 lib/libc/citrus/citrus_lc_ctype.c: revision 1.1 lib/libc/citrus/citrus_lc_messages.c: revision 1.1 lib/libc/citrus/citrus_lc_messages.h: revision 1.1 lib/libc/citrus/citrus_lc_monetary.c: revision 1.1 lib/libc/citrus/citrus_lc_monetary.h: revision 1.1 lib/libc/citrus/citrus_lc_numeric.c: revision 1.1 lib/libc/citrus/citrus_lc_numeric.h: revision 1.1 lib/libc/citrus/citrus_lc_template.h: revision 1.1 lib/libc/citrus/citrus_lc_template_decl.h: revision 1.1 lib/libc/citrus/citrus_lc_time.c: revision 1.1 lib/libc/citrus/citrus_lc_time.h: revision 1.1 lib/libc/citrus/citrus_module.c: revision 1.8 lib/libc/citrus/citrus_namespace.h: revision 1.7 lib/libc/citrus/modules/citrus_euc.c: revision 1.13 lib/libc/gen/Makefile.inc: revision 1.166 lib/libc/gen/isctype.c: revision 1.17 via patch lib/libc/gen/tolower_.c: revision 1.10 lib/libc/gen/toupper_.c: revision 1.10 lib/libc/iconv/Makefile.inc: revision 1.3 lib/libc/iconv/iconv.c: revision 1.7 lib/libc/locale/Makefile.inc: revision 1.53 lib/libc/locale/___runetype_mb.c: file removal lib/libc/locale/_wctrans.c: revision 1.7 lib/libc/locale/_wctrans_local.h: revision 1.3 lib/libc/locale/_wctype.c: revision 1.1 lib/libc/locale/_wctype_local.h: revision 1.1 lib/libc/locale/aliasname.c: revision 1.3 lib/libc/locale/aliasname_local.h: revision 1.2 lib/libc/locale/bsdctype.c: revision 1.1 lib/libc/locale/bsdctype.h: revision 1.1 lib/libc/locale/ctypeio.c: revision 1.8 lib/libc/locale/ctypeio.h: revision 1.2 lib/libc/locale/current_locale.c: revision 1.1 lib/libc/locale/dummy_lc_collate.c: revision 1.1 lib/libc/locale/dummy_lc_template.h: revision 1.1 lib/libc/locale/fix_grouping.c: revision 1.1 lib/libc/locale/fix_grouping.h: revision 1.1 lib/libc/locale/generic_lc_all.c: revision 1.1 lib/libc/locale/generic_lc_template.h: revision 1.1 lib/libc/locale/generic_lc_template_decl.h: revision 1.1 lib/libc/locale/global_locale.c: revision 1.1 lib/libc/locale/iswctype.c: file removal lib/libc/locale/iswctype_mb.c: revision 1.1 lib/libc/locale/iswctype_sb.c: revision 1.6 lib/libc/locale/lcmessages.c: file removal lib/libc/locale/lcmessages.h: file removal lib/libc/locale/lcmonetary.c: file removal lib/libc/locale/lcmonetary.h: file removal lib/libc/locale/lcnumeric.c: file removal lib/libc/locale/lcnumeric.h: file removal lib/libc/locale/lctime.c: file removal lib/libc/locale/lctime.h: file removal lib/libc/locale/localeconv.c: revision 1.15 lib/libc/locale/localeio.c: revision 1.2 lib/libc/locale/localeio.h: revision 1.2 lib/libc/locale/localeio_lc_ctype.c: revision 1.1 lib/libc/locale/localeio_lc_messages.c: revision 1.1 lib/libc/locale/localeio_lc_monetary.c: revision 1.1 lib/libc/locale/localeio_lc_numeric.c: revision 1.1 lib/libc/locale/localeio_lc_time.c: revision 1.1 lib/libc/locale/multibyte.h: revision 1.4 lib/libc/locale/multibyte_amd1.c: revision 1.6 lib/libc/locale/multibyte_c90.c: revision 1.5 lib/libc/locale/nb_lc_messages_misc.h: revision 1.1 lib/libc/locale/nb_lc_monetary_misc.h: revision 1.1 lib/libc/locale/nb_lc_numeric_misc.h: revision 1.1 lib/libc/locale/nb_lc_template.h: revision 1.1 lib/libc/locale/nb_lc_template_decl.h: revision 1.1 lib/libc/locale/nb_lc_time_misc.h: revision 1.1 lib/libc/locale/nl_langinfo.c: revision 1.12 lib/libc/locale/rune.c: revision 1.31 lib/libc/locale/rune.h: revision 1.13 lib/libc/locale/rune_local.h: revision 1.11 lib/libc/locale/runeglue.c: revision 1.14 lib/libc/locale/runetable.c: revision 1.18 lib/libc/locale/setlocale.c: revision 1.55 via patch lib/libc/locale/setlocale_local.h: revision 1.1 lib/libc/locale/setrunelocale.c: file removal lib/libc/nls/Makefile.inc: revision 1.9 lib/libc/nls/catopen.c: revision 1.26 lib/libc/string/Makefile.inc: revision 1.68 lib/libc/string/wcscmp.c: revision 1.6 lib/libc/string/wcsncmp.c: revision 1.6 lib/libc/string/wcswidth.c: file removal lib/libc/string/wmemcmp.c: revision 1.4 regress/lib/libc/locale/Makefile: revision 1.4 regress/lib/libc/locale/ctype1/Makefile: revision 1.4 regress/lib/libc/locale/ctype1/en_US.UTF-8.exp.uue: revision 1.2 regress/lib/libc/locale/ctype1/ja_JP.ISO-2022-JP.exp.uue: revision 1.1 regress/lib/libc/locale/ctype1/ja_JP.ISO-2022-JP.in.uue: revision 1.1 regress/lib/libc/locale/ctype1/ja_JP.ISO2022-JP.exp.uue: file removal regress/lib/libc/locale/ctype1/ja_JP.ISO2022-JP.in.uue: file removal regress/lib/libc/locale/ctype1/ja_JP.SJIS.exp.uue: revision 1.2 regress/lib/libc/locale/ctype1/ja_JP.eucJP.exp.uue: revision 1.2 regress/lib/libc/locale/ctype2/Makefile: revision 1.5 regress/lib/libc/locale/ctype2/ja_JP.ISO-2022-JP-2.in.uue: revision 1.1 regress/lib/libc/locale/ctype2/ja_JP.ISO2022-JP2.in.uue: file removal regress/lib/libc/locale/ctype3/Makefile: revision 1.5 regress/lib/libc/locale/mbtowc/Makefile: revision 1.3 regress/lib/libc/locale/mbtowc/ja_JP.ISO-2022-JP: revision 1.1 regress/lib/libc/locale/mbtowc/ja_JP.ISO2022-JP: file removal regress/lib/libc/locale/wcstod/wcstod_test.c: revision 1.2 share/locale/Makefile.locale: revision 1.1 share/locale/Makefile: revision 1.5 share/locale/ctype/Makefile: revision 1.28 share/locale/locale.alias: revision 1.11 share/locale/messages/Makefile: revision 1.5 share/locale/messages/en_US.ISO8859-1.src: file removal share/locale/messages/en_US.US-ASCII.src: revision 1.1 share/locale/messages/ja_JP.ISO-2022-JP.src: revision 1.1 share/locale/messages/ja_JP.ct.src: revision 1.1 share/locale/messages/sr_ME.ISO8859-2.src: revision 1.1 share/locale/messages/sr_ME.ISO8859-5.src: revision 1.1 share/locale/messages/sr_YU.ISO8859-2.src: file removal share/locale/messages/sr_YU.ISO8859-5.src: file removal share/locale/messages/sr_YU.UTF-8.src: file removal share/locale/messages/zh_CN.GB18030.src: file removal share/locale/messages/zh_TW.eucTW.src: revision 1.1 share/locale/monetary/Makefile: revision 1.5 share/locale/monetary/af_ZA.ISO8859-1.src: revision 1.2 share/locale/monetary/am_ET.UTF-8.src: revision 1.2 share/locale/monetary/be_BY.CP1131.src: file removal share/locale/monetary/be_BY.CP1251.src: revision 1.2 share/locale/monetary/be_BY.ISO8859-5.src: revision 1.2 share/locale/monetary/be_BY.UTF-8.src: revision 1.2 share/locale/monetary/bg_BG.CP1251.src: revision 1.2 share/locale/monetary/bg_BG.UTF-8.src: revision 1.2 share/locale/monetary/ca_ES.ISO8859-1.src: revision 1.2 share/locale/monetary/cs_CZ.ISO8859-2.src: revision 1.2 share/locale/monetary/cs_CZ.UTF-8.src: revision 1.2 share/locale/monetary/da_DK.ISO8859-1.src: revision 1.2 share/locale/monetary/de_AT.ISO8859-1.src: revision 1.2 share/locale/monetary/de_CH.ISO8859-1.src: revision 1.2 share/locale/monetary/de_DE.ISO8859-1.src: revision 1.2 share/locale/monetary/el_GR.ISO8859-7.src: revision 1.2 share/locale/monetary/en_AU.ISO8859-1.src: revision 1.2 share/locale/monetary/en_CA.ISO8859-1.src: revision 1.2 share/locale/monetary/en_GB.ISO8859-1.src: revision 1.2 share/locale/monetary/en_GB.UTF-8.src: revision 1.2 share/locale/monetary/en_IE.UTF-8.src: revision 1.2 share/locale/monetary/en_NZ.ISO8859-1.src: revision 1.2 share/locale/monetary/en_US.ISO8859-1.src: revision 1.2 share/locale/monetary/en_US.US-ASCII.src: revision 1.1 share/locale/monetary/es_ES.ISO8859-1.src: revision 1.2 share/locale/monetary/et_EE.ISO8859-15.src: revision 1.2 share/locale/monetary/fi_FI.ISO8859-1.src: revision 1.2 share/locale/monetary/fr_BE.ISO8859-1.src: revision 1.2 share/locale/monetary/fr_CA.ISO8859-1.src: revision 1.2 share/locale/monetary/fr_FR.ISO8859-1.src: revision 1.2 share/locale/monetary/he_IL.UTF-8.src: revision 1.2 share/locale/monetary/hi_IN.ISCII-DEV.src: revision 1.2 share/locale/monetary/hr_HR.ISO8859-2.src: revision 1.2 share/locale/monetary/hu_HU.ISO8859-2.src: revision 1.2 share/locale/monetary/hy_AM.ARMSCII-8.src: revision 1.2 share/locale/monetary/hy_AM.UTF-8.src: revision 1.2 share/locale/monetary/is_IS.ISO8859-1.src: revision 1.2 share/locale/monetary/it_IT.ISO8859-1.src: revision 1.2 share/locale/monetary/ja_JP.ISO-2022-JP.src: revision 1.1 share/locale/monetary/ja_JP.UTF-8.src: revision 1.2 share/locale/monetary/ja_JP.eucJP.src: revision 1.2 share/locale/monetary/kk_KZ.PT154.src: revision 1.2 share/locale/monetary/kk_KZ.UTF-8.src: revision 1.2 share/locale/monetary/ko_KR.UTF-8.src: revision 1.2 share/locale/monetary/ko_KR.eucKR.src: revision 1.2 share/locale/monetary/lt_LT.ISO8859-13.src: revision 1.2 share/locale/monetary/mn_MN.UTF-8.src: revision 1.2 share/locale/monetary/nl_BE.ISO8859-1.src: revision 1.2 share/locale/monetary/nl_NL.ISO8859-1.src: revision 1.2 share/locale/monetary/no_NO.ISO8859-1.src: revision 1.2 share/locale/monetary/pl_PL.ISO8859-2.src: revision 1.2 share/locale/monetary/pl_PL.UTF-8.src: revision 1.2 share/locale/monetary/pt_BR.ISO8859-1.src: revision 1.2 share/locale/monetary/pt_PT.ISO8859-1.src: revision 1.2 share/locale/monetary/ro_RO.ISO8859-2.src: revision 1.2 share/locale/monetary/ru_RU.CP1251.src: revision 1.2 share/locale/monetary/ru_RU.CP866.src: revision 1.2 share/locale/monetary/ru_RU.ISO8859-5.src: revision 1.2 share/locale/monetary/ru_RU.KOI8-R.src: revision 1.2 share/locale/monetary/ru_RU.UTF-8.src: revision 1.2 share/locale/monetary/sk_SK.ISO8859-2.src: revision 1.2 share/locale/monetary/sl_SI.ISO8859-2.src: revision 1.2 share/locale/monetary/sr_ME.ISO8859-2.src: revision 1.1 share/locale/monetary/sr_RS.ISO8859-2.src: revision 1.1 share/locale/monetary/sr_YU.ISO8859-2.src: revision 1.2 share/locale/monetary/sr_YU.ISO8859-5.src: revision 1.2 share/locale/monetary/sr_YU.UTF-8.src: revision 1.2 share/locale/monetary/sv_SE.ISO8859-1.src: revision 1.2 share/locale/monetary/tr_TR.ISO8859-9.src: revision 1.2 share/locale/monetary/uk_UA.CP1251.src: revision 1.2 share/locale/monetary/uk_UA.ISO8859-5.src: revision 1.2 share/locale/monetary/uk_UA.KOI8-U.src: revision 1.2 share/locale/monetary/uk_UA.UTF-8.src: revision 1.2 share/locale/monetary/zh_CN.GB18030.src: revision 1.2 share/locale/monetary/zh_CN.UTF-8.src: revision 1.2 share/locale/monetary/zh_CN.eucCN.src: revision 1.2 share/locale/monetary/zh_HK.Big5hkscs.src: revision 1.1 share/locale/monetary/zh_HK.UTF-8.src: revision 1.2 share/locale/monetary/zh_TW.Big5.src: revision 1.2 share/locale/numeric/Makefile: revision 1.4 share/locale/numeric/am_ET.UTF-8.src: file removal share/locale/numeric/en_US.ISO8859-1.src: file removal share/locale/numeric/en_US.US-ASCII.src: revision 1.1 share/locale/numeric/ja_JP.eucJP.src: file removal share/locale/numeric/ko_KR.eucKR.src: file removal share/locale/numeric/mn_MN.UTF-8.src: file removal share/locale/numeric/sr_ME.ISO8859-2.src: revision 1.1 share/locale/numeric/sr_YU.ISO8859-2.src: file removal share/locale/numeric/sr_YU.ISO8859-5.src: file removal share/locale/numeric/zh_CN.eucCN.src: file removal share/locale/time/Makefile: revision 1.5 share/locale/time/en_US.ISO8859-1.src: file removal share/locale/time/en_US.US-ASCII.src: revision 1.1 share/locale/time/ja_JP.ISO-2022-JP.src: revision 1.1 share/locale/time/ja_JP.ct.src: revision 1.1 share/locale/time/sr_ME.ISO8859-2.src: revision 1.1 share/locale/time/sr_ME.ISO8859-5.src: revision 1.1 share/locale/time/sr_ME.UTF-8.src: revision 1.1 share/locale/time/sr_YU.ISO8859-2.src: file removal share/locale/time/sr_YU.ISO8859-5.src: file removal share/locale/time/sr_YU.UTF-8.src: file removal share/locale/time/zh_CN.GB18030.src: file removal share/locale/time/zh_TW.eucTW.src: revision 1.1 usr.bin/locale/locale.c: revision 1.6 usr.bin/mklocale/Makefile: revision 1.12 usr.bin/mklocale/lex.l: revision 1.14 usr.bin/mklocale/mklocaledb.c: revision 1.1 usr.bin/mklocale/yacc.y: revision 1.25 usr.sbin/chrtbl/Makefile: revision 1.8 usr.sbin/chrtbl/ctypeio.c: revision 1.1 usr.sbin/chrtbl/ctypeio.h: revision 1.1 Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. ok'ed by core and releng. (thanks for agc@, snj@ and i'm sorry for long time patience). [libc] - localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by new locale-db implementation using citrus_db backend, see src/lib/libc/citrus/citrus_lc_*.[ch]. - add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation internally, because they're locale-aware function. - add some stubs for multi-locale issue, see {current,global}_locale.c. - remove some obsolete file, setrunelocale.c, ___runetype_mb.c. - remove __savectype() from ctypeio.[ch]. [tools] - mklocale(1): add new option ``-t'' that generates new style LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format. - chrtbl(1): added ctypeio.[ch] for __savectype(). [locale-db] - added en_US.US-ASCII locale. - removed some shareable locale definition file: en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8 zh_CN.eucCN -> zh_CN.GB18030 and more...see src/share/locale/*/Makefile. - remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS. - change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP* for X11's locale.alias file alignments. - fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch: i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db. so that backward compatibility is keeped, but lc*.[ch] can't read new citrus_db'ed locale-db and localeio.c never check sanity, so forward compatibility is broken ;-< old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
|
| 1.21.8.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.22.14.2 | 19-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.22.14.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.22.8.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.22.8.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.24.18.1 | 04-Jul-2017 |
martin | Pull up following revision(s) (requested by manu in ticket #79): distrib/utils/libhack/Makefile.inc: revision 1.27 lib/libc/gen/getcap.c: revision 1.57 distrib/utils/libhack/Makefile: revision 1.25 Make shared -DSMALL libc buildable without breaking libhack We used -DSMALL to exclude code from libc in order to build libhack. Introduce -DLIBHACK to do this without so that -DSMALL does not remove code necessary for building a shared libc
|
| 1.24.4.1 | 23-Jul-2017 |
snj | Pull up following revision(s) (requested by manu in ticket #1440): distrib/utils/libhack/Makefile: revision 1.25 distrib/utils/libhack/Makefile.inc: revision 1.27 lib/libc/gen/getcap.c: revision 1.57 Make shared -DSMALL libc buildable without breaking libhack We used -DSMALL to exclude code from libc in order to build libhack. Introduce -DLIBHACK to do this without so that -DSMALL does not remove code necessary for building a shared libc
|
| 1.25.6.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.40 | 27-Sep-2025 |
christos | Use a trimmed version of sysctl to reduce the size so that atari floppies work again.
|
| 1.39 | 25-May-2021 |
martin | branches: 1.39.8; Provide support to build 32bit crunched ramdisks and use that for macppc64. With help from rin.
|
| 1.38 | 09-Mar-2021 |
christos | branches: 1.38.2; Add a stubbed version of libwrap (tcpwrappers)
|
| 1.37 | 25-Feb-2021 |
christos | Add regcomp.c and regexec.c so that we get a version that does not use NLS and brings in all the locale code.
|
| 1.36 | 17-Apr-2020 |
jdolecek | include aligned_alloc(3), now needed for newfs and fsck_ffs
|
| 1.35 | 05-Apr-2020 |
martin | Extend the curses hack to terminfo - build selected parts of libterminfo as part of libhack, so we can drop unwanted features for small install media.
|
| 1.34 | 02-Mar-2020 |
roy | libhack: revert prior, will be done per consumer instead.
|
| 1.33 | 01-Mar-2020 |
roy | libhack: build with -D_REENTRANT
Some tools that use libhack expect thread locking. An example of this is zpool(8).
Without it, it randomly crashes. As such, force _REENTRANT to avoid debugging future random crashes from any other applications which rely on this.
|
| 1.32 | 28-Jul-2019 |
martin | Provide a way for crunched programs to use a non-WIDE_CHAR version of libcurses by setting HACK_CURSES=yes before including this makefile.
|
| 1.31 | 28-Jul-2019 |
martin | We (especially libcurses and nvi) use more multibyte character locale related symbols nowadays. Update libhack to avoid pulling in full grown multibyte locale support on small install media.
|
| 1.30 | 22-Jun-2019 |
christos | Add an empty fmtcheck
|
| 1.29 | 09-May-2019 |
roy | Fix build with MKYP=no
|
| 1.28 | 28-Mar-2019 |
christos | Dedup and add the small jemalloc implementation so our install media has a chance to fit again.
|
| 1.27 | 18-Jun-2017 |
manu | branches: 1.27.6; Make shared -DSMALL libc buildable without breaking libhack
We used -DSMALL to exclude code from libc in order to build libhack. Introduce -DLIBHACK to do this without so that -DSMALL does not remove code necessary for building a shared libc
|
| 1.26 | 25-Aug-2014 |
christos | branches: 1.26.8; Use .PATH because the newmake does not apply pattern rules to sources in other directories. Leave the comment and the old code for now so people are aware that this might not work.
|
| 1.25 | 27-Aug-2013 |
christos | branches: 1.25.4; avoid copying most of libc (except gethostent_r, which unfortunately adds a resolver dependency) by callling the internal nsswitch functions.
|
| 1.24 | 11-Oct-2012 |
christos | make libhack's syslog.c produce exactly the same symbols as libc's syslog.c, so that in the future we can keep them synced. Avoid strong_alias since it does not play well with symbol renaming.
|
| 1.23 | 02-Jan-2009 |
tnozaki | branches: 1.23.8; 1.23.14; Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. ok'ed by core and releng. (thanks for agc@, snj@ and i'm sorry for long time patience).
[libc] - localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by new locale-db implementation using citrus_db backend, see src/lib/libc/citrus/citrus_lc_*.[ch]. - add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation internally, because they're locale-aware function. - add some stubs for multi-locale issue, see {current,global}_locale.c. - remove some obsolete file, setrunelocale.c, ___runetype_mb.c. - remove __savectype() from ctypeio.[ch].
[tools] - mklocale(1): add new option ``-t'' that generates new style LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format. - chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db] - added en_US.US-ASCII locale. - removed some shareable locale definition file: en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8 zh_CN.eucCN -> zh_CN.GB18030 and more...see src/share/locale/*/Makefile. - remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS. - change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP* for X11's locale.alias file alignments. - fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch: i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db. so that backward compatibility is keeped, but lc*.[ch] can't read new citrus_db'ed locale-db and localeio.c never check sanity, so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
|
| 1.22 | 06-Nov-2007 |
martin | branches: 1.22.8; 1.22.14; Compile a special version of the default locale into libhack - we can not use real locales, but this at least allows single byte character locales to work as expected (i.e. the existing translations for sysinst). Once we get a sysinst translation that needs more, we'll have to drop this and the castrated setlocale(), and go for a real solution.
|
| 1.21 | 02-Apr-2007 |
christos | branches: 1.21.4; Merge the multibyte routines into one file, and add stub implementations for one more that is needed, and commented out partial implementations for the test of the functions. This should stop the re-defined symbol errors for now.
|
| 1.20 | 03-Feb-2007 |
christos | we need wcrtomb now too.
|
| 1.19 | 15-May-2005 |
dsl | branches: 1.19.4; Stub out mbrtowc(), removes all the citrus_xxx stuff from libc. rescue_tiny fits again...
|
| 1.18 | 06-Jun-2004 |
christos | Include a fake syslog that does only printf; saves 4K.
|
| 1.17 | 25-Apr-2004 |
christos | arrange for libc's getcap to be used instead of a local copy.
|
| 1.16 | 06-Apr-2002 |
tsutsui | Don't override DBG here. It should be defined in parent Makefiles.
|
| 1.15 | 28-Mar-2002 |
lukem | - Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are required, define them before pulling in libhack/Makefile.inc so that the dependencies work correctly. - Other minor cleanups
|
| 1.14 | 25-Mar-2002 |
lukem | Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default, as they only support reading /etc/hosts, and its the "least useful" of the libhack routines. Add gethost.o back to Really Small media which appears to need the space savings.
|
| 1.13 | 03-Feb-2002 |
lukem | permanently disable opendir.o until its link bugs (on ELF platforms only?) are sorted out. speculation (based on some analysis by simonb) is that it's because fts calls _opendir2 directly, which forces both the libhack and the libc versions of opendir.o to be linked in. in any case, there's space saves to be had elsewhere...
|
| 1.12 | 05-Oct-2001 |
jmc | Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization levels
|
| 1.11 | 20-Aug-2001 |
martin | Drop ``-Os'' on sparc64 due to toolchain issues.
The same change has already been applied on the 1.5 branch. The problems (i.e. ifconfig not showing IP addresses) have been verified to still exist with the new toolchain.
|
| 1.10 | 22-Aug-2000 |
abs | Shave another few bytes here and there - compile with -Os
|
| 1.9 | 30-Jun-1999 |
fvdl | branches: 1.9.8; Don't use .PATH here, it won't work because of crunchgen. XXX
|
| 1.8 | 27-Jun-1999 |
mrg | miniroot changes: install.sub: - fix interface grovelling, ifmedia support, allow ifmedia and link to have a "none" (-> "") answer (which lets you give nothing when a default answer is given) - allow installing more than one set at a time, including "all" as a synonym for all remaining sets - mount -o async when extracting sets makeconf.awk: - put default "libs" section at the end rather than the start, so you can put other "libs" in before this list - minor cleanup
mtree.conf: - create /kern
sparc install.md: - MDSETS are now "kern xbase xcomp xcontrib xfont xserver" - use /kern & kernfs (replaces dmesg) - replace grep & cut pipe lines with sed - replace grep hackery with sed hackery - grep and cut are no longer required! yay! - deal with no /usr/bin/vi -- call disklabel -i - in md_copy_kern() link the netbsd.GENERIC we got from the kern set, rather than the miniroot kernel sparc miniroot list: - no more dmesg, cut or grep
sparc ramdisk changes: Makefile: - `ramdiskbin.conf' is now generated by makeconf.awk - don't use libhack's opendir, it breaks dot.profile: - don't assume terminal is `sun' - set EDITOR=ed - list: - instbin -> ramdiskbin to make `makeconf.awk' work - CRUNCHSPECIAL those special dirs - add our LIBS as necessary
libhack changes: - if NOLIBHACKOPENDIR is set, don't build opendir.o
|
| 1.7 | 19-May-1999 |
gwr | New files...
|
| 1.6 | 06-May-1999 |
wrstuden | We don't need to give explicit rules for .c.o conversion, the default ones work fine, and are correct for cross-compiling.
|
| 1.5 | 13-Mar-1999 |
sommerfe | branches: 1.5.2; Warnsify. Add reduced version of getcap routines, so sysinst need not drag in the database goop via libtermcap.
|
| 1.4 | 12-Dec-1997 |
gwr | Add getnet.c
|
| 1.3 | 09-Oct-1996 |
jtc | branches: 1.3.2; merge in 1.2 branch
|
| 1.2 | 13-Oct-1995 |
gwr | branches: 1.2.4; 1.2.6; Minor cleanup
|
| 1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 08-Oct-1995 |
gwr | Add some utilities all ports might use in a ramdisk root.
|
| 1.2.6.1 | 13-Sep-1996 |
gwr | Add setlocale.c
|
| 1.2.4.2 | 13-Oct-1995 |
gwr | Minor cleanup
|
| 1.2.4.1 | 13-Oct-1995 |
gwr | file Makefile.inc was added on branch netbsd-1-1 on 1995-10-13 18:10:21 +0000
|
| 1.3.2.1 | 13-Dec-1997 |
gwr | From HEAD: Add getnet.c
|
| 1.5.2.2 | 01-Jul-1999 |
perry | pullup 1.7->1.8 (mrg)
|
| 1.5.2.1 | 21-Jun-1999 |
perry | pullup 1.5->1.7 (gwr)
|
| 1.9.8.2 | 29-Jul-2001 |
he | Apply patch (requested by martin): Drop ``-Os'' on sparc64 due to toolchain issues.
|
| 1.9.8.1 | 22-Aug-2000 |
abs | fix sysinst floppy for NetBSD/sparc, plus small doc fix. Approved by thorpej, pullup list: distrib/notes/sparc/install 1.24 distrib/sparc/bootfs.sysinst/Makefile 1.5 distrib/sparc/list2sh.awk 1.4 distrib/sparc/ramdisk.sysinst/Makefile 1.8 distrib/sparc/ramdisk.sysinst/disktab 1.2 distrib/sparc/ramdisk.sysinst/disktab.preinstall delete distrib/sparc/ramdisk.sysinst/dot.profile.m4 1.5 distrib/sparc/ramdisk.sysinst/list.m4 1.6 distrib/sparc/ramdisk.sysinst/mtree.conf 1.2 distrib/sparc/ramdisk.sysinst/ramdiskbin.m4 1.4 distrib/utils/libhack/Makefile.inc 1.10 sys/arch/sparc/conf/INSTALL 1.17
|
| 1.19.4.1 | 08-May-2007 |
pavel | Pull up following revision(s) originally forgotten in ticket #607: distrib/utils/libhack/Makefile: revision 1.19-1.20 distrib/utils/libhack/Makefile.inc: revision 1.20-1.21 distrib/utils/libhack/multibyte.c: revision 1.1 distrib/utils/libhack/syslog.c: revision 1.6 distrib/utils/libhack/mbrtowc.c: deleted
add prototypes for the _ss functions.
we need wcrtomb now too.
Merge the multibyte routines into one file, and add stub implementations for one more that is needed, and commented out partial implementations for the test of the functions. This should stop the re-defined symbol errors for now.
|
| 1.21.4.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.22.14.1 | 15-Jan-2009 |
snj | Pull up following revision(s) (requested by tnozaki in ticket #222): distrib/sets/lists/base/mi: revision 1.788 distrib/utils/libhack/Makefile.inc: revision 1.23 distrib/utils/libhack/Makefile: revision 1.22 etc/mtree/NetBSD.dist: revision 1.387 include/locale.h: revision 1.15 lib/libc/citrus/Makefile.inc: revision 1.6 lib/libc/citrus/citrus_aliasname_local.h: revision 1.1 lib/libc/citrus/citrus_bcs.h: revision 1.5 lib/libc/citrus/citrus_bcs_strtol.c: revision 1.1 lib/libc/citrus/citrus_bcs_strtoul.c: revision 1.1 lib/libc/citrus/citrus_csmapper.c: revision 1.9 lib/libc/citrus/citrus_fix_grouping.h: revision 1.1 lib/libc/citrus/citrus_lc_ctype.c: revision 1.1 lib/libc/citrus/citrus_lc_messages.c: revision 1.1 lib/libc/citrus/citrus_lc_messages.h: revision 1.1 lib/libc/citrus/citrus_lc_monetary.c: revision 1.1 lib/libc/citrus/citrus_lc_monetary.h: revision 1.1 lib/libc/citrus/citrus_lc_numeric.c: revision 1.1 lib/libc/citrus/citrus_lc_numeric.h: revision 1.1 lib/libc/citrus/citrus_lc_template.h: revision 1.1 lib/libc/citrus/citrus_lc_template_decl.h: revision 1.1 lib/libc/citrus/citrus_lc_time.c: revision 1.1 lib/libc/citrus/citrus_lc_time.h: revision 1.1 lib/libc/citrus/citrus_module.c: revision 1.8 lib/libc/citrus/citrus_namespace.h: revision 1.7 lib/libc/citrus/modules/citrus_euc.c: revision 1.13 lib/libc/gen/Makefile.inc: revision 1.166 lib/libc/gen/isctype.c: revision 1.17 via patch lib/libc/gen/tolower_.c: revision 1.10 lib/libc/gen/toupper_.c: revision 1.10 lib/libc/iconv/Makefile.inc: revision 1.3 lib/libc/iconv/iconv.c: revision 1.7 lib/libc/locale/Makefile.inc: revision 1.53 lib/libc/locale/___runetype_mb.c: file removal lib/libc/locale/_wctrans.c: revision 1.7 lib/libc/locale/_wctrans_local.h: revision 1.3 lib/libc/locale/_wctype.c: revision 1.1 lib/libc/locale/_wctype_local.h: revision 1.1 lib/libc/locale/aliasname.c: revision 1.3 lib/libc/locale/aliasname_local.h: revision 1.2 lib/libc/locale/bsdctype.c: revision 1.1 lib/libc/locale/bsdctype.h: revision 1.1 lib/libc/locale/ctypeio.c: revision 1.8 lib/libc/locale/ctypeio.h: revision 1.2 lib/libc/locale/current_locale.c: revision 1.1 lib/libc/locale/dummy_lc_collate.c: revision 1.1 lib/libc/locale/dummy_lc_template.h: revision 1.1 lib/libc/locale/fix_grouping.c: revision 1.1 lib/libc/locale/fix_grouping.h: revision 1.1 lib/libc/locale/generic_lc_all.c: revision 1.1 lib/libc/locale/generic_lc_template.h: revision 1.1 lib/libc/locale/generic_lc_template_decl.h: revision 1.1 lib/libc/locale/global_locale.c: revision 1.1 lib/libc/locale/iswctype.c: file removal lib/libc/locale/iswctype_mb.c: revision 1.1 lib/libc/locale/iswctype_sb.c: revision 1.6 lib/libc/locale/lcmessages.c: file removal lib/libc/locale/lcmessages.h: file removal lib/libc/locale/lcmonetary.c: file removal lib/libc/locale/lcmonetary.h: file removal lib/libc/locale/lcnumeric.c: file removal lib/libc/locale/lcnumeric.h: file removal lib/libc/locale/lctime.c: file removal lib/libc/locale/lctime.h: file removal lib/libc/locale/localeconv.c: revision 1.15 lib/libc/locale/localeio.c: revision 1.2 lib/libc/locale/localeio.h: revision 1.2 lib/libc/locale/localeio_lc_ctype.c: revision 1.1 lib/libc/locale/localeio_lc_messages.c: revision 1.1 lib/libc/locale/localeio_lc_monetary.c: revision 1.1 lib/libc/locale/localeio_lc_numeric.c: revision 1.1 lib/libc/locale/localeio_lc_time.c: revision 1.1 lib/libc/locale/multibyte.h: revision 1.4 lib/libc/locale/multibyte_amd1.c: revision 1.6 lib/libc/locale/multibyte_c90.c: revision 1.5 lib/libc/locale/nb_lc_messages_misc.h: revision 1.1 lib/libc/locale/nb_lc_monetary_misc.h: revision 1.1 lib/libc/locale/nb_lc_numeric_misc.h: revision 1.1 lib/libc/locale/nb_lc_template.h: revision 1.1 lib/libc/locale/nb_lc_template_decl.h: revision 1.1 lib/libc/locale/nb_lc_time_misc.h: revision 1.1 lib/libc/locale/nl_langinfo.c: revision 1.12 lib/libc/locale/rune.c: revision 1.31 lib/libc/locale/rune.h: revision 1.13 lib/libc/locale/rune_local.h: revision 1.11 lib/libc/locale/runeglue.c: revision 1.14 lib/libc/locale/runetable.c: revision 1.18 lib/libc/locale/setlocale.c: revision 1.55 via patch lib/libc/locale/setlocale_local.h: revision 1.1 lib/libc/locale/setrunelocale.c: file removal lib/libc/nls/Makefile.inc: revision 1.9 lib/libc/nls/catopen.c: revision 1.26 lib/libc/string/Makefile.inc: revision 1.68 lib/libc/string/wcscmp.c: revision 1.6 lib/libc/string/wcsncmp.c: revision 1.6 lib/libc/string/wcswidth.c: file removal lib/libc/string/wmemcmp.c: revision 1.4 regress/lib/libc/locale/Makefile: revision 1.4 regress/lib/libc/locale/ctype1/Makefile: revision 1.4 regress/lib/libc/locale/ctype1/en_US.UTF-8.exp.uue: revision 1.2 regress/lib/libc/locale/ctype1/ja_JP.ISO-2022-JP.exp.uue: revision 1.1 regress/lib/libc/locale/ctype1/ja_JP.ISO-2022-JP.in.uue: revision 1.1 regress/lib/libc/locale/ctype1/ja_JP.ISO2022-JP.exp.uue: file removal regress/lib/libc/locale/ctype1/ja_JP.ISO2022-JP.in.uue: file removal regress/lib/libc/locale/ctype1/ja_JP.SJIS.exp.uue: revision 1.2 regress/lib/libc/locale/ctype1/ja_JP.eucJP.exp.uue: revision 1.2 regress/lib/libc/locale/ctype2/Makefile: revision 1.5 regress/lib/libc/locale/ctype2/ja_JP.ISO-2022-JP-2.in.uue: revision 1.1 regress/lib/libc/locale/ctype2/ja_JP.ISO2022-JP2.in.uue: file removal regress/lib/libc/locale/ctype3/Makefile: revision 1.5 regress/lib/libc/locale/mbtowc/Makefile: revision 1.3 regress/lib/libc/locale/mbtowc/ja_JP.ISO-2022-JP: revision 1.1 regress/lib/libc/locale/mbtowc/ja_JP.ISO2022-JP: file removal regress/lib/libc/locale/wcstod/wcstod_test.c: revision 1.2 share/locale/Makefile.locale: revision 1.1 share/locale/Makefile: revision 1.5 share/locale/ctype/Makefile: revision 1.28 share/locale/locale.alias: revision 1.11 share/locale/messages/Makefile: revision 1.5 share/locale/messages/en_US.ISO8859-1.src: file removal share/locale/messages/en_US.US-ASCII.src: revision 1.1 share/locale/messages/ja_JP.ISO-2022-JP.src: revision 1.1 share/locale/messages/ja_JP.ct.src: revision 1.1 share/locale/messages/sr_ME.ISO8859-2.src: revision 1.1 share/locale/messages/sr_ME.ISO8859-5.src: revision 1.1 share/locale/messages/sr_YU.ISO8859-2.src: file removal share/locale/messages/sr_YU.ISO8859-5.src: file removal share/locale/messages/sr_YU.UTF-8.src: file removal share/locale/messages/zh_CN.GB18030.src: file removal share/locale/messages/zh_TW.eucTW.src: revision 1.1 share/locale/monetary/Makefile: revision 1.5 share/locale/monetary/af_ZA.ISO8859-1.src: revision 1.2 share/locale/monetary/am_ET.UTF-8.src: revision 1.2 share/locale/monetary/be_BY.CP1131.src: file removal share/locale/monetary/be_BY.CP1251.src: revision 1.2 share/locale/monetary/be_BY.ISO8859-5.src: revision 1.2 share/locale/monetary/be_BY.UTF-8.src: revision 1.2 share/locale/monetary/bg_BG.CP1251.src: revision 1.2 share/locale/monetary/bg_BG.UTF-8.src: revision 1.2 share/locale/monetary/ca_ES.ISO8859-1.src: revision 1.2 share/locale/monetary/cs_CZ.ISO8859-2.src: revision 1.2 share/locale/monetary/cs_CZ.UTF-8.src: revision 1.2 share/locale/monetary/da_DK.ISO8859-1.src: revision 1.2 share/locale/monetary/de_AT.ISO8859-1.src: revision 1.2 share/locale/monetary/de_CH.ISO8859-1.src: revision 1.2 share/locale/monetary/de_DE.ISO8859-1.src: revision 1.2 share/locale/monetary/el_GR.ISO8859-7.src: revision 1.2 share/locale/monetary/en_AU.ISO8859-1.src: revision 1.2 share/locale/monetary/en_CA.ISO8859-1.src: revision 1.2 share/locale/monetary/en_GB.ISO8859-1.src: revision 1.2 share/locale/monetary/en_GB.UTF-8.src: revision 1.2 share/locale/monetary/en_IE.UTF-8.src: revision 1.2 share/locale/monetary/en_NZ.ISO8859-1.src: revision 1.2 share/locale/monetary/en_US.ISO8859-1.src: revision 1.2 share/locale/monetary/en_US.US-ASCII.src: revision 1.1 share/locale/monetary/es_ES.ISO8859-1.src: revision 1.2 share/locale/monetary/et_EE.ISO8859-15.src: revision 1.2 share/locale/monetary/fi_FI.ISO8859-1.src: revision 1.2 share/locale/monetary/fr_BE.ISO8859-1.src: revision 1.2 share/locale/monetary/fr_CA.ISO8859-1.src: revision 1.2 share/locale/monetary/fr_FR.ISO8859-1.src: revision 1.2 share/locale/monetary/he_IL.UTF-8.src: revision 1.2 share/locale/monetary/hi_IN.ISCII-DEV.src: revision 1.2 share/locale/monetary/hr_HR.ISO8859-2.src: revision 1.2 share/locale/monetary/hu_HU.ISO8859-2.src: revision 1.2 share/locale/monetary/hy_AM.ARMSCII-8.src: revision 1.2 share/locale/monetary/hy_AM.UTF-8.src: revision 1.2 share/locale/monetary/is_IS.ISO8859-1.src: revision 1.2 share/locale/monetary/it_IT.ISO8859-1.src: revision 1.2 share/locale/monetary/ja_JP.ISO-2022-JP.src: revision 1.1 share/locale/monetary/ja_JP.UTF-8.src: revision 1.2 share/locale/monetary/ja_JP.eucJP.src: revision 1.2 share/locale/monetary/kk_KZ.PT154.src: revision 1.2 share/locale/monetary/kk_KZ.UTF-8.src: revision 1.2 share/locale/monetary/ko_KR.UTF-8.src: revision 1.2 share/locale/monetary/ko_KR.eucKR.src: revision 1.2 share/locale/monetary/lt_LT.ISO8859-13.src: revision 1.2 share/locale/monetary/mn_MN.UTF-8.src: revision 1.2 share/locale/monetary/nl_BE.ISO8859-1.src: revision 1.2 share/locale/monetary/nl_NL.ISO8859-1.src: revision 1.2 share/locale/monetary/no_NO.ISO8859-1.src: revision 1.2 share/locale/monetary/pl_PL.ISO8859-2.src: revision 1.2 share/locale/monetary/pl_PL.UTF-8.src: revision 1.2 share/locale/monetary/pt_BR.ISO8859-1.src: revision 1.2 share/locale/monetary/pt_PT.ISO8859-1.src: revision 1.2 share/locale/monetary/ro_RO.ISO8859-2.src: revision 1.2 share/locale/monetary/ru_RU.CP1251.src: revision 1.2 share/locale/monetary/ru_RU.CP866.src: revision 1.2 share/locale/monetary/ru_RU.ISO8859-5.src: revision 1.2 share/locale/monetary/ru_RU.KOI8-R.src: revision 1.2 share/locale/monetary/ru_RU.UTF-8.src: revision 1.2 share/locale/monetary/sk_SK.ISO8859-2.src: revision 1.2 share/locale/monetary/sl_SI.ISO8859-2.src: revision 1.2 share/locale/monetary/sr_ME.ISO8859-2.src: revision 1.1 share/locale/monetary/sr_RS.ISO8859-2.src: revision 1.1 share/locale/monetary/sr_YU.ISO8859-2.src: revision 1.2 share/locale/monetary/sr_YU.ISO8859-5.src: revision 1.2 share/locale/monetary/sr_YU.UTF-8.src: revision 1.2 share/locale/monetary/sv_SE.ISO8859-1.src: revision 1.2 share/locale/monetary/tr_TR.ISO8859-9.src: revision 1.2 share/locale/monetary/uk_UA.CP1251.src: revision 1.2 share/locale/monetary/uk_UA.ISO8859-5.src: revision 1.2 share/locale/monetary/uk_UA.KOI8-U.src: revision 1.2 share/locale/monetary/uk_UA.UTF-8.src: revision 1.2 share/locale/monetary/zh_CN.GB18030.src: revision 1.2 share/locale/monetary/zh_CN.UTF-8.src: revision 1.2 share/locale/monetary/zh_CN.eucCN.src: revision 1.2 share/locale/monetary/zh_HK.Big5hkscs.src: revision 1.1 share/locale/monetary/zh_HK.UTF-8.src: revision 1.2 share/locale/monetary/zh_TW.Big5.src: revision 1.2 share/locale/numeric/Makefile: revision 1.4 share/locale/numeric/am_ET.UTF-8.src: file removal share/locale/numeric/en_US.ISO8859-1.src: file removal share/locale/numeric/en_US.US-ASCII.src: revision 1.1 share/locale/numeric/ja_JP.eucJP.src: file removal share/locale/numeric/ko_KR.eucKR.src: file removal share/locale/numeric/mn_MN.UTF-8.src: file removal share/locale/numeric/sr_ME.ISO8859-2.src: revision 1.1 share/locale/numeric/sr_YU.ISO8859-2.src: file removal share/locale/numeric/sr_YU.ISO8859-5.src: file removal share/locale/numeric/zh_CN.eucCN.src: file removal share/locale/time/Makefile: revision 1.5 share/locale/time/en_US.ISO8859-1.src: file removal share/locale/time/en_US.US-ASCII.src: revision 1.1 share/locale/time/ja_JP.ISO-2022-JP.src: revision 1.1 share/locale/time/ja_JP.ct.src: revision 1.1 share/locale/time/sr_ME.ISO8859-2.src: revision 1.1 share/locale/time/sr_ME.ISO8859-5.src: revision 1.1 share/locale/time/sr_ME.UTF-8.src: revision 1.1 share/locale/time/sr_YU.ISO8859-2.src: file removal share/locale/time/sr_YU.ISO8859-5.src: file removal share/locale/time/sr_YU.UTF-8.src: file removal share/locale/time/zh_CN.GB18030.src: file removal share/locale/time/zh_TW.eucTW.src: revision 1.1 usr.bin/locale/locale.c: revision 1.6 usr.bin/mklocale/Makefile: revision 1.12 usr.bin/mklocale/lex.l: revision 1.14 usr.bin/mklocale/mklocaledb.c: revision 1.1 usr.bin/mklocale/yacc.y: revision 1.25 usr.sbin/chrtbl/Makefile: revision 1.8 usr.sbin/chrtbl/ctypeio.c: revision 1.1 usr.sbin/chrtbl/ctypeio.h: revision 1.1 Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. ok'ed by core and releng. (thanks for agc@, snj@ and i'm sorry for long time patience). [libc] - localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by new locale-db implementation using citrus_db backend, see src/lib/libc/citrus/citrus_lc_*.[ch]. - add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation internally, because they're locale-aware function. - add some stubs for multi-locale issue, see {current,global}_locale.c. - remove some obsolete file, setrunelocale.c, ___runetype_mb.c. - remove __savectype() from ctypeio.[ch]. [tools] - mklocale(1): add new option ``-t'' that generates new style LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format. - chrtbl(1): added ctypeio.[ch] for __savectype(). [locale-db] - added en_US.US-ASCII locale. - removed some shareable locale definition file: en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8 zh_CN.eucCN -> zh_CN.GB18030 and more...see src/share/locale/*/Makefile. - remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS. - change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP* for X11's locale.alias file alignments. - fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch: i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db. so that backward compatibility is keeped, but lc*.[ch] can't read new citrus_db'ed locale-db and localeio.c never check sanity, so forward compatibility is broken ;-< old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
|
| 1.22.8.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.23.14.2 | 19-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.23.14.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.23.8.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.23.8.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.25.4.1 | 23-Jul-2017 |
snj | Pull up following revision(s) (requested by manu in ticket #1440): distrib/utils/libhack/Makefile: revision 1.25 distrib/utils/libhack/Makefile.inc: revision 1.27 lib/libc/gen/getcap.c: revision 1.57 Make shared -DSMALL libc buildable without breaking libhack We used -DSMALL to exclude code from libc in order to build libhack. Introduce -DLIBHACK to do this without so that -DSMALL does not remove code necessary for building a shared libc
|
| 1.26.8.1 | 04-Jul-2017 |
martin | Pull up following revision(s) (requested by manu in ticket #79): distrib/utils/libhack/Makefile.inc: revision 1.27 lib/libc/gen/getcap.c: revision 1.57 distrib/utils/libhack/Makefile: revision 1.25 Make shared -DSMALL libc buildable without breaking libhack We used -DSMALL to exclude code from libc in order to build libhack. Introduce -DLIBHACK to do this without so that -DSMALL does not remove code necessary for building a shared libc
|
| 1.27.6.3 | 21-Apr-2020 |
martin | Sync with HEAD
|
| 1.27.6.2 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.27.6.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.38.2.1 | 31-May-2021 |
cjep | sync with head
|
| 1.39.8.1 | 03-Oct-2025 |
martin | Pull up following revision(s) (requested by christos in ticket #46):
lib/libc/gen/sysctl.c: revision 1.39 distrib/utils/libhack/Makefile.inc: revision 1.40
We don't need descriptions for install media.
Use a trimmed version of sysctl to reduce the size so that atari floppies work again.
|
| 1.2 | 14-Apr-2022 |
martin | Make this no-op variant of fmtcheck() compatible with the libc version when called with NULL as first argument.
|
| 1.1 | 22-Jun-2019 |
christos | branches: 1.1.6; Add an empty fmtcheck
|
| 1.1.6.2 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.1.6.1 | 22-Jun-2019 |
martin | file fmtcheck.c was added on branch phil-wifi on 2020-04-13 07:45:36 +0000
|
| 1.8 | 25-Apr-2004 |
christos | arrange for libc's getcap to be used instead of a local copy.
|
| 1.7 | 25-Apr-2004 |
matt | Adapt to stdlib.h/libc changes.
|
| 1.6 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22268, verified by myself.
|
| 1.5 | 06-Aug-2003 |
itojun | use bounded string op and strdup
|
| 1.4 | 02-Feb-2002 |
lukem | ansify
|
| 1.3 | 15-Jun-2001 |
tsutsui | Add definitions for weak aliases so that libhack functions are actually linked instead of libc ones on ELF systems. Fixes install/13050 and install/13153.
|
| 1.2 | 13-Mar-1999 |
sommerfe | Make it more clear where this came from.
|
| 1.1 | 13-Mar-1999 |
sommerfe | Warnsify. Add reduced version of getcap routines, so sysinst need not drag in the database goop via libtermcap.
|
| 1.12 | 14-Sep-2005 |
drochner | branches: 1.12.20; emulate getgrouplist() directly, no need to pull in the wrapper from libc
|
| 1.11 | 14-Sep-2005 |
he | pty.o in libutil.a wants to call getgrent_r(), so provide a cheesy non-reentrant version here in order to avoid linker conflicts when the rest of this file is attempted linked together with libc's getgrent.o.
Reviewed by christos.
|
| 1.10 | 01-Apr-2005 |
he | Include <unistd.h> to get the getgroupmembership() prototype.
|
| 1.9 | 06-Jan-2005 |
lukem | Implement getgroupmembership(3). This is similar to getgrouplist(3), except that the "int maxgroups" and "int *ngroups" parameters are separated into two separate parameters which makes it possible to call multiple nsswitch back-ends and have the results correctly merged. getgrouplist(3) is now implemented using getgroupmembership(3).
Proposed on tech-userlevel on December 1, 2004.
|
| 1.8 | 13-Oct-2003 |
agc | Move Jason Downs's code from a 4-clause to a 3-clause licence by removing the advertising clause. Diffs provided in PR 22410 by Joel Baker, confirmed to the board by Jason Downs.
With additional thanks to Jason Thorpe.
|
| 1.7 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22268, verified by myself.
|
| 1.6 | 19-Feb-2003 |
elric | Sync this file up with its counterpart in libc, src/lib/libc/gen/getgrent.c Patch and PR provided by: FUKAUMI Naoki
Addresses PR lib/20365
|
| 1.5 | 02-Feb-2002 |
lukem | sync closer to libc version
|
| 1.4 | 15-Jun-2001 |
tsutsui | Add definitions for weak aliases so that libhack functions are actually linked instead of libc ones on ELF systems. Fixes install/13050 and install/13153.
|
| 1.3 | 13-Mar-1999 |
sommerfe | Warnsify. Add reduced version of getcap routines, so sysinst need not drag in the database goop via libtermcap.
|
| 1.2 | 13-Oct-1995 |
gwr | branches: 1.2.4; Minor cleanup
|
| 1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1.1.2; Add some utilities all ports might use in a ramdisk root.
|
| 1.1.1.1.2.1 | 11-Oct-1995 |
gwr | Minor cleanup.
|
| 1.2.4.2 | 13-Oct-1995 |
gwr | Minor cleanup
|
| 1.2.4.1 | 13-Oct-1995 |
gwr | file getgrent.c was added on branch netbsd-1-1 on 1995-10-13 18:10:24 +0000
|
| 1.12.20.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.12 | 21-Dec-2013 |
christos | refer to our own h_errno so we don't fetch the libc one
|
| 1.11 | 27-Aug-2013 |
christos | avoid copying most of libc (except gethostent_r, which unfortunately adds a resolver dependency) by callling the internal nsswitch functions.
|
| 1.10 | 25-Aug-2013 |
christos | provide the symbols sethostent.c in libc is missing.
|
| 1.9 | 20-Aug-2013 |
christos | modernize, comment out dead code, amend gethostbyaddr prototype.
|
| 1.8 | 07-Aug-2003 |
agc | branches: 1.8.32; 1.8.56; 1.8.62; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22268, verified by myself.
|
| 1.7 | 15-Jun-2001 |
tsutsui | Add definitions for weak aliases so that libhack functions are actually linked instead of libc ones on ELF systems. Fixes install/13050 and install/13153.
|
| 1.6 | 28-Apr-2001 |
kleink | Sync with gethostbyaddr() declaration change in <netdb.h> rev. 1.21; from <lha@stacken.kth.se> in PR misc/12775.
|
| 1.5 | 14-Jan-2000 |
pk | Deal with name space issues after libc/net updates.
|
| 1.4 | 13-Mar-1999 |
sommerfe | Warnsify. Add reduced version of getcap routines, so sysinst need not drag in the database goop via libtermcap.
|
| 1.3 | 10-Aug-1998 |
perry | bcmp->memcmp
|
| 1.2 | 13-Oct-1995 |
gwr | branches: 1.2.4; Minor cleanup
|
| 1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1.1.2; Add some utilities all ports might use in a ramdisk root.
|
| 1.1.1.1.2.1 | 11-Oct-1995 |
gwr | Minor cleanup.
|
| 1.2.4.2 | 13-Oct-1995 |
gwr | Minor cleanup
|
| 1.2.4.1 | 13-Oct-1995 |
gwr | file gethost.c was added on branch netbsd-1-1 on 1995-10-13 18:10:26 +0000
|
| 1.8.62.1 | 19-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.8.56.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.8.32.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.4 | 09-May-2004 |
sommerfeld | branches: 1.4.26; Change hack getnetbyaddr to match new system prototype.
|
| 1.3 | 07-Aug-2003 |
agc | branches: 1.3.4; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22268, verified by myself.
|
| 1.2 | 15-Jun-2001 |
tsutsui | Add definitions for weak aliases so that libhack functions are actually linked instead of libc ones on ELF systems. Fixes install/13050 and install/13153.
|
| 1.1 | 12-Dec-1997 |
gwr | branches: 1.1.2; Keep getnetbyname from pulling in the resolver.
|
| 1.1.2.2 | 12-Dec-1997 |
gwr | Keep getnetbyname from pulling in the resolver.
|
| 1.1.2.1 | 12-Dec-1997 |
gwr | file getnet.c was added on branch netbsd-1-3 on 1997-12-12 03:06:00 +0000
|
| 1.3.4.1 | 06-Jul-2005 |
riz | Pull up revision 1.4 (requested by kleink in ticket #2015): Change hack getnetbyaddr to match new system prototype.
|
| 1.4.26.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.4 | 15-Jun-2001 |
tsutsui | branches: 1.4.34; Add definitions for weak aliases so that libhack functions are actually linked instead of libc ones on ELF systems. Fixes install/13050 and install/13153.
|
| 1.3 | 13-Mar-1999 |
sommerfe | Warnsify. Add reduced version of getcap routines, so sysinst need not drag in the database goop via libtermcap.
|
| 1.2 | 13-Oct-1995 |
gwr | branches: 1.2.4; Minor cleanup
|
| 1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1.1.2; Add some utilities all ports might use in a ramdisk root.
|
| 1.1.1.1.2.1 | 11-Oct-1995 |
gwr | Minor cleanup.
|
| 1.2.4.2 | 13-Oct-1995 |
gwr | Minor cleanup
|
| 1.2.4.1 | 13-Oct-1995 |
gwr | file getnetgr.c was added on branch netbsd-1-1 on 1995-10-13 18:10:27 +0000
|
| 1.4.34.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.12 | 12-Jan-2011 |
joerg | Fix the weak aliases to match the libc version and not leave unresolved symbols around.
|
| 1.11 | 16-Jan-2009 |
he | Add some more weak aliases for versioned library calls, to prevent that we try to link in objects from libc.a where we also provide our own replacements here, leading to multiple definitions during linking.
OK'ed by christos@
|
| 1.10 | 28-Nov-2008 |
sborrill | Add cut-down getpwent_r() to join existing getpwent() and friends. This fixes PR 40003
|
| 1.9 | 31-Mar-2005 |
he | branches: 1.9.20; 1.9.28; Provide weak aliases for the newly added getpwuid_r() and getpwnam_r() functions in order to fix link-time conflicts with the C library.
|
| 1.8 | 31-Mar-2005 |
christos | Add re-entrant versions of the password routines. Well, not really, but close.
|
| 1.7 | 07-Aug-2003 |
agc | branches: 1.7.6; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22268, verified by myself.
|
| 1.6 | 13-May-2002 |
elric | Modified pwmatchline to return the value to pw_class. This is not strictly necessary for the install floppy, but it enables one to build a rescue floppy with ssh(1) on it. ssh dereferences pw->pw_class and will therefore core dump if it is not set to something.
Reviewed By: simonb@NetBSD.ORG
|
| 1.5 | 02-Feb-2002 |
lukem | replace previous "cut down" getpwent.c with a version which is closer to libc/gen/getpwent.c. this version reads from master.passwd instead of passwd (thus removing the need to keep both in the mini file system and having to run pwd_mkdb to generate the latter)
|
| 1.4 | 15-Jun-2001 |
tsutsui | Add definitions for weak aliases so that libhack functions are actually linked instead of libc ones on ELF systems. Fixes install/13050 and install/13153.
|
| 1.3 | 13-Mar-1999 |
sommerfe | branches: 1.3.10; Warnsify. Add reduced version of getcap routines, so sysinst need not drag in the database goop via libtermcap.
|
| 1.2 | 13-Oct-1995 |
gwr | branches: 1.2.4; Minor cleanup
|
| 1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1.1.2; Add some utilities all ports might use in a ramdisk root.
|
| 1.1.1.1.2.1 | 11-Oct-1995 |
gwr | Minor cleanup.
|
| 1.2.4.2 | 13-Oct-1995 |
gwr | Minor cleanup
|
| 1.2.4.1 | 13-Oct-1995 |
gwr | file getpwent.c was added on branch netbsd-1-1 on 1995-10-13 18:10:28 +0000
|
| 1.3.10.1 | 06-Jun-2002 |
he | Pull up revision 1.6 (via patch, requested by elric): Initialize pw_class for added compatibility.
|
| 1.7.6.2 | 08-Apr-2005 |
tron | Pull up revision 1.9 (requested by bouyer in ticket #126): Provide weak aliases for the newly added getpwuid_r() and getpwnam_r() functions in order to fix link-time conflicts with the C library.
|
| 1.7.6.1 | 04-Apr-2005 |
tron | Pull up revision 1.8 (requested by thorpej in ticket #99): Add re-entrant versions of the password routines. Well, not really, but close.
|
| 1.9.28.1 | 29-Nov-2008 |
bouyer | Pull up following revision(s) (requested by sborrill in ticket #141): distrib/utils/libhack/getpwent.c: revision 1.10 Add cut-down getpwent_r() to join existing getpwent() and friends. This fixes PR 40003
|
| 1.9.20.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.4 | 18-Apr-2013 |
joerg | Override localeconv_l as well, when providing an alternative implementation of localeconv.
|
| 1.3 | 26-Jul-2003 |
salo | branches: 1.3.32; 1.3.56; 1.3.62; netbsd.org->NetBSD.org
|
| 1.2 | 19-Nov-2002 |
chris | As sys/locale.h no longer includes some extraneous headers, localeconv.c needs to include limits.h itself.
|
| 1.1 | 19-May-1999 |
gwr | branches: 1.1.2; Slimmed-down localeconv
|
| 1.1.2.2 | 19-May-1999 |
gwr | Slimmed-down localeconv
|
| 1.1.2.1 | 19-May-1999 |
gwr | file localeconv.c was added on branch netbsd-1-4 on 1999-05-19 03:53:59 +0000
|
| 1.3.62.1 | 23-Jun-2013 |
tls | resync from head
|
| 1.3.56.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.3.32.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.2 | 02-Apr-2007 |
christos | Merge the multibyte routines into one file, and add stub implementations for one more that is needed, and commented out partial implementations for the test of the functions. This should stop the re-defined symbol errors for now.
|
| 1.1 | 15-May-2005 |
dsl | branches: 1.1.4; Stub out mbrtowc(), removes all the citrus_xxx stuff from libc. rescue_tiny fits again...
|
| 1.1.4.1 | 08-May-2007 |
pavel | Pull up following revision(s) originally forgotten in ticket #607: distrib/utils/libhack/Makefile: revision 1.19-1.20 distrib/utils/libhack/Makefile.inc: revision 1.20-1.21 distrib/utils/libhack/multibyte.c: revision 1.1 distrib/utils/libhack/syslog.c: revision 1.6 distrib/utils/libhack/mbrtowc.c: deleted
add prototypes for the _ss functions.
we need wcrtomb now too.
Merge the multibyte routines into one file, and add stub implementations for one more that is needed, and commented out partial implementations for the test of the functions. This should stop the re-defined symbol errors for now.
|
| 1.9 | 01-Aug-2019 |
martin | Avoid using an unitialized variable
|
| 1.8 | 28-Jul-2019 |
martin | branches: 1.8.2; We (especially libcurses and nvi) use more multibyte character locale related symbols nowadays. Update libhack to avoid pulling in full grown multibyte locale support on small install media.
|
| 1.7 | 15-Nov-2014 |
htodd | branches: 1.7.16; Remove unused variable.
|
| 1.6 | 15-Nov-2014 |
christos | handle the "special" wc NULL case.
|
| 1.5 | 19-Apr-2013 |
joerg | branches: 1.5.8; More locale hacks.
|
| 1.4 | 29-Jul-2008 |
tnozaki | branches: 1.4.18; 1.4.24; install/39193, fix signedness problem of converting char -> wchar_t.
|
| 1.3 | 12-Jul-2008 |
dsl | mbrtowc() gets called to initialise the mbstate from libcurses. Don't access address 0 and core dump when it does! Fixes sysinst, the install ramdiskbin gets built against the standard archive libraries (at least on amd64) which are build with HAVE_WCHAR.
|
| 1.2 | 29-May-2007 |
he | branches: 1.2.12; 1.2.16; Undo the #if 0 for the multibyte functions we now need to build ramdisks, and provide untested minimal implementations of mbsrtowcs() and wcsrtombs(). Verified to fix build problems for at least the amd64 and hp300 ramdisks.
|
| 1.1 | 02-Apr-2007 |
christos | branches: 1.1.2; Merge the multibyte routines into one file, and add stub implementations for one more that is needed, and commented out partial implementations for the test of the functions. This should stop the re-defined symbol errors for now.
|
| 1.1.2.2 | 08-May-2007 |
pavel | Pull up following revision(s) originally forgotten in ticket #607: distrib/utils/libhack/Makefile: revision 1.19-1.20 distrib/utils/libhack/Makefile.inc: revision 1.20-1.21 distrib/utils/libhack/multibyte.c: revision 1.1 distrib/utils/libhack/syslog.c: revision 1.6 distrib/utils/libhack/mbrtowc.c: deleted
add prototypes for the _ss functions.
we need wcrtomb now too.
Merge the multibyte routines into one file, and add stub implementations for one more that is needed, and commented out partial implementations for the test of the functions. This should stop the re-defined symbol errors for now.
|
| 1.1.2.1 | 02-Apr-2007 |
pavel | file multibyte.c was added on branch netbsd-4 on 2007-05-08 19:40:59 +0000
|
| 1.2.16.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.2.12.2 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.2.12.1 | 28-Sep-2008 |
mjf | Sync with HEAD.
|
| 1.4.24.1 | 23-Jun-2013 |
tls | resync from head
|
| 1.4.18.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.5.8.2 | 16-Nov-2014 |
martin | Additionally pull up revision 1.7 of src/distrib/utils/libhack/multibyte.c, requested by tsutsui in #242
|
| 1.5.8.1 | 16-Nov-2014 |
martin | Pull up following revision(s) (requested by christos in ticket #242): distrib/utils/libhack/multibyte.c: revision 1.6 handle the "special" wc NULL case.
|
| 1.7.16.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.8.2.1 | 02-Aug-2019 |
msaitoh | Pull up following revision(s) (requested by martin in ticket #2): distrib/utils/libhack/multibyte.c: revision 1.9 Avoid using an unitialized variable
|
| 1.1 | 28-Jul-2019 |
martin | branches: 1.1.6; We (especially libcurses and nvi) use more multibyte character locale related symbols nowadays. Update libhack to avoid pulling in full grown multibyte locale support on small install media.
|
| 1.1.6.2 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.1.6.1 | 28-Jul-2019 |
martin | file nl_langinfo.c was added on branch phil-wifi on 2020-04-13 07:45:36 +0000
|
| 1.4 | 07-Aug-2003 |
agc | branches: 1.4.32; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22268, verified by myself.
|
| 1.3 | 15-Jun-2001 |
tsutsui | Add definitions for weak aliases so that libhack functions are actually linked instead of libc ones on ELF systems. Fixes install/13050 and install/13153.
|
| 1.2 | 23-May-1999 |
gwr | fix warning allegedly reported on i386
|
| 1.1 | 19-May-1999 |
gwr | branches: 1.1.2; Prune out references to qsort in opendir unionfs code. (Never needed on a ramdisk root.)
|
| 1.1.2.2 | 21-Jun-1999 |
perry | pullup 1.1->1.2 (cgd)
|
| 1.1.2.1 | 19-May-1999 |
perry | file opendir.c was added on branch netbsd-1-4 on 1999-06-21 13:38:00 +0000
|
| 1.4.32.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.3 | 07-Aug-2003 |
agc | branches: 1.3.32; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22268, verified by myself.
|
| 1.2 | 27-May-1999 |
gwr | Warning fixes from kurt.schreiner
|
| 1.1 | 19-May-1999 |
gwr | branches: 1.1.2; Prune out NLS stuff.
|
| 1.1.2.2 | 21-Jun-1999 |
perry | pullup 1.1->1.2 (cgd)
|
| 1.1.2.1 | 19-May-1999 |
perry | file perror.c was added on branch netbsd-1-4 on 1999-06-21 13:39:35 +0000
|
| 1.3.32.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.5 | 08-Jun-2010 |
tnozaki | fix build breakage by multiple definition of __mb_cur_max.
|
| 1.4 | 26-Jul-2003 |
salo | branches: 1.4.32; netbsd.org->NetBSD.org
|
| 1.3 | 11-Aug-2000 |
tshiozak | Add __mb_cur_max and rename setlocale function. (Lack of __mb_cur_max causes to import setlocale.o in libc.a and causes conflict of symbol, pointed out by Johan Danielsson.)
|
| 1.2 | 09-Jan-1998 |
perry | branches: 1.2.10; RCS Id Police.
|
| 1.1 | 13-Sep-1996 |
gwr | branches: 1.1.2; lob off some more libc code
|
| 1.1.2.2 | 13-Sep-1996 |
gwr | lob off some more libc code
|
| 1.1.2.1 | 13-Sep-1996 |
gwr | file setlocale.c was added on branch netbsd-1-2 on 1996-09-13 18:57:39 +0000
|
| 1.2.10.1 | 11-Aug-2000 |
tshiozak | pull up (approved by thopej):
> Module Name: basesrc > Committed By: tshiozak > Date: Fri Aug 11 19:58:35 UTC 2000 > > Modified Files: > basesrc/distrib/utils/libhack: setlocale.c > > Log Message: > Add __mb_cur_max and rename setlocale function. > (Lack of __mb_cur_max causes to import setlocale.o in libc.a > and causes conflict of symbol, pointed out by Johan Danielsson.) > > > To generate a diff of this commit: > cvs rdiff -r1.2 -r1.3 basesrc/distrib/utils/libhack/setlocale.c
|
| 1.4.32.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.3 | 13-Aug-2019 |
christos | branches: 1.3.4; use unsigned char to prevent sign extension.
|
| 1.2 | 12-Aug-2019 |
martin | Make this at least work for ASCII strings (there are way more users than libcurses in various crunched environments, so the original assumption of a very limited set of inputs was wrong).
|
| 1.1 | 28-Jul-2019 |
martin | branches: 1.1.2; We (especially libcurses and nvi) use more multibyte character locale related symbols nowadays. Update libhack to avoid pulling in full grown multibyte locale support on small install media.
|
| 1.1.2.1 | 18-Aug-2019 |
msaitoh | Pull up following revision(s) (requested by martin in ticket #74): distrib/utils/libhack/strcasecmp.c: revision 1.2 distrib/utils/libhack/strcasecmp.c: revision 1.3 Make this at least work for ASCII strings (there are way more users than libcurses in various crunched environments, so the original assumption of a very limited set of inputs was wrong). use unsigned char to prevent sign extension.
|
| 1.3.4.2 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.3.4.1 | 13-Aug-2019 |
martin | file strcasecmp.c was added on branch phil-wifi on 2020-04-13 07:45:36 +0000
|
| 1.3 | 07-Aug-2003 |
agc | branches: 1.3.32; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22268, verified by myself.
|
| 1.2 | 27-May-1999 |
gwr | Warning fixes from kurt.schreiner
|
| 1.1 | 19-May-1999 |
gwr | branches: 1.1.2; Prune out NLS stuff.
|
| 1.1.2.2 | 21-Jun-1999 |
perry | pullup 1.1->1.2 (cgd)
|
| 1.1.2.1 | 19-May-1999 |
perry | file strerror.c was added on branch netbsd-1-4 on 1999-06-21 13:39:35 +0000
|
| 1.3.32.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.4 | 07-Aug-2003 |
agc | branches: 1.4.32; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22268, verified by myself.
|
| 1.3 | 15-Jun-2001 |
tsutsui | Add definitions for weak aliases so that libhack functions are actually linked instead of libc ones on ELF systems. Fixes install/13050 and install/13153.
|
| 1.2 | 27-May-1999 |
gwr | Warning fixes from kurt.schreiner
|
| 1.1 | 19-May-1999 |
gwr | branches: 1.1.2; Prune out NLS stuff.
|
| 1.1.2.2 | 21-Jun-1999 |
perry | pullup 1.1->1.2 (cgd)
|
| 1.1.2.1 | 19-May-1999 |
perry | file strsignal.c was added on branch netbsd-1-4 on 1999-06-21 13:39:35 +0000
|
| 1.4.32.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.8 | 11-Oct-2012 |
christos | make libhack's syslog.c produce exactly the same symbols as libc's syslog.c, so that in the future we can keep them synced. Avoid strong_alias since it does not play well with symbol renaming.
|
| 1.7 | 14-Jul-2012 |
abs | branches: 1.7.2; Add a check hack to ensure %m causes error message string to be shown
|
| 1.6 | 03-Feb-2007 |
christos | branches: 1.6.12; 1.6.36; add prototypes for the _ss functions.
|
| 1.5 | 06-Nov-2006 |
he | branches: 1.5.2; Implement mostly-stub versions of the new syslog functions ({v,}syslog_{r,ss}) and the corresponding openlog_r/setlogmask_r/closelog_r functions.
This should allow sparc64 to build its ramdiskbin again.
Reviewed by christos@
|
| 1.4 | 31-Mar-2005 |
he | Return 0xff from setlogmask() instead of falling off the end of the int-returning function without returning a value. The 0xff value is taken from the C library and is the default log mask.
|
| 1.3 | 17-Oct-2004 |
dsl | Add a newline to the end of the 'syslog' output when writing it to stderr. (affects output of dhclient when run from sysinst)
|
| 1.2 | 06-Jun-2004 |
christos | add an empty setlogmask()
|
| 1.1 | 06-Jun-2004 |
christos | Include a fake syslog that does only printf; saves 4K.
|
| 1.5.2.1 | 08-May-2007 |
pavel | Pull up following revision(s) originally forgotten in ticket #607: distrib/utils/libhack/Makefile: revision 1.19-1.20 distrib/utils/libhack/Makefile.inc: revision 1.20-1.21 distrib/utils/libhack/multibyte.c: revision 1.1 distrib/utils/libhack/syslog.c: revision 1.6 distrib/utils/libhack/mbrtowc.c: deleted
add prototypes for the _ss functions.
we need wcrtomb now too.
Merge the multibyte routines into one file, and add stub implementations for one more that is needed, and commented out partial implementations for the test of the functions. This should stop the re-defined symbol errors for now.
|
| 1.6.36.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.6.12.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.7.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.5 | 26-Jul-2003 |
salo | branches: 1.5.32; netbsd.org->NetBSD.org
|
| 1.4 | 03-Aug-2002 |
itojun | have setloginx() and friends to avoid linking *.o from libutil. PR 17820
|
| 1.3 | 21-Jun-1999 |
danw | const poison login
|
| 1.2 | 27-May-1999 |
gwr | Warning fixes from kurt.schreiner
|
| 1.1 | 19-May-1999 |
gwr | branches: 1.1.2; Stubbed-out utmp file functions.
|
| 1.1.2.2 | 22-Jun-1999 |
perry | pullup 1.1->1.2 (cgd)
|
| 1.1.2.1 | 19-May-1999 |
perry | file utmp.c was added on branch netbsd-1-4 on 1999-06-22 13:56:43 +0000
|
| 1.5.32.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.2 | 02-Apr-2007 |
christos | Merge the multibyte routines into one file, and add stub implementations for one more that is needed, and commented out partial implementations for the test of the functions. This should stop the re-defined symbol errors for now.
|
| 1.1 | 03-Feb-2007 |
christos | we need wcrtomb now too.
|
| 1.2 | 24-May-2021 |
christos | refuse should exit(3). Noted by joerg@
|
| 1.1 | 09-Mar-2021 |
christos | branches: 1.1.2; Add a stubbed version of libwrap (tcpwrappers)
|
| 1.1.2.1 | 31-May-2021 |
cjep | sync with head
|
| 1.5 | 10-Dec-2003 |
agc | branches: 1.5.32; Modify the licences of code written by Theo De Raadt from a 4-clause to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR 22409 from Joel Baker, approved by Theo de Raadt, and ratified by myself - the only discrepancy being the handling of the original clause 3 in src/usr.sbin/yppoll/yppoll.c.
|
| 1.4 | 06-Aug-2003 |
itojun | use bounded string op and strdup
|
| 1.3 | 19-Sep-1999 |
christos | Fix floppy build in the presense of weak symbols.
|
| 1.2 | 13-Mar-1999 |
sommerfe | Warnsify. Add reduced version of getcap routines, so sysinst need not drag in the database goop via libtermcap.
|
| 1.1 | 08-Oct-1995 |
gwr | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 08-Oct-1995 |
gwr | Add some utilities all ports might use in a ramdisk root.
|
| 1.5.32.1 | 05-Oct-2008 |
mjf | Sync with HEAD.
|