The NetBSD Project

CVS log for src/include/ctype.h

[BACK] Up to [cvs.NetBSD.org] / src / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31.6.1 / (download) - annotate - [select for diffs], Thu May 22 11:36:35 2014 UTC (4 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.31: +27 -2 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

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")

Revision 1.31.12.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:49 2013 UTC (5 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.31: +27 -2 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

resync from head

Revision 1.34 / (download) - annotate - [select for diffs], Sun Apr 28 19:39:56 2013 UTC (5 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

Include at least ctype_bits.h, even when not providing the macros.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Apr 26 17:35:52 2013 UTC (5 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

Do not define the ctype(3) interface via macros for C++.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Apr 16 11:29:12 2013 UTC (5 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.31: +23 -1 lines
Diff to previous 1.31 (colored)

Add isalpha_l and friends.

Revision 1.29.38.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:40:00 2010 UTC (8 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.29: +3 -60 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jun 1 13:52:08 2010 UTC (8 years, 9 months ago) by tnozaki
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.30: +3 -47 lines
Diff to previous 1.30 (colored)

more split ctype.h -> sys/ctype_inline.h, sys/ctype_bits.h

Revision 1.30 / (download) - annotate - [select for diffs], Sat May 22 06:38:15 2010 UTC (8 years, 9 months ago) by tnozaki
Branch: MAIN
Changes since 1.29: +1 -14 lines
Diff to previous 1.29 (colored)

1. hide _CTYPE_PRIVATE section in ctype.h, move them to private header ctype_local.h.
2. do not use _CTYPE_NUM_CHARS macro to read data from LC_CTYPE(old BSDCTYPE style) database.
   because 1<<CHAR_BIT is MD, so i added MI macro _CTYPE_CACHE_SIZE(1<<8).
3. remove _NB_CACHED_RUNE macro, use _CTYPE_CACHE_SIZE instead.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Dec 26 19:01:47 2005 UTC (13 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, uebayasi-xip-base1, uebayasi-xip-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, christos-time_t-nbase, christos-time_t-base, christos-time_t, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: uebayasi-xip
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

u_intN_t -> uintN_t

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sat Apr 16 10:38:52 2005 UTC (13 years, 11 months ago) by tron
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.25: +4 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up revision 1.28 via patch (requested by rillig in ticket #1427):
Replaced the macro name "notyet" with a 0. There's always the possibility
that a strictly conforming C program uses that name itself, so it had to
be removed. Also put the long comment above the #if 0, because it describes
the #if, not the isblank() macro. Added two blank lines to make the grouping
clear. Approved by kleink.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Sat Apr 16 10:32:24 2005 UTC (13 years, 11 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Pull up revision 1.28 (requested by rillig in ticket #158):
Replaced the macro name "notyet" with a 0. There's always the possibility
that a strictly conforming C program uses that name itself, so it had to
be removed. Also put the long comment above the #if 0, because it describes
the #if, not the isblank() macro. Added two blank lines to make the grouping
clear. Approved by kleink.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Apr 15 23:46:07 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)

Replaced the macro name "notyet" with a 0. There's always the possibility
that a strictly conforming C program uses that name itself, so it had to
be removed. Also put the long comment above the #if 0, because it describes
the #if, not the isblank() macro. Added two blank lines to make the grouping
clear. Approved by kleink.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 3 04:39:32 2005 UTC (14 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.26: +19 -19 lines
Diff to previous 1.26 (colored)

de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 5 22:55:19 2004 UTC (14 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.25: +15 -15 lines
Diff to previous 1.25 (colored)

Remove the (int) cast from the array subscript of the ctype #defines.
The cast just stops gcc detecting places where the functions are
passed a 'char' variable - and will index off the array for byte values
0x80 to 0xff.
All (I hope) of the places in the netbsd sources where this was a
potential problem have had an (unsigned char) cast applied.
Christos said he'll fix any fallout I've missed.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Oct 22 15:51:18 2003 UTC (15 years, 4 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0
Branch point for: netbsd-2
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

_ISO_C99_SOURCE -> _ISOC99_SOURCE

Revision 1.24 / (download) - annotate - [select for diffs], Thu Aug 7 09:44:09 2003 UTC (15 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.23: +2 -6 lines
Diff to previous 1.23 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22270, verified by myself.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Apr 29 12:49:38 2003 UTC (15 years, 10 months ago) by bjh21
Branch: MAIN
Changes since 1.22: +6 -5 lines
Diff to previous 1.22 (colored)

Header file cleanup:
* Sort includes.
* isblank() is in C99, POSIX 2001 and XSH6.  Update ifdefs accordingly.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Apr 28 23:16:12 2003 UTC (15 years, 10 months ago) by bjh21
Branch: MAIN
Changes since 1.21: +5 -9 lines
Diff to previous 1.21 (colored)

Add a new feature-test macro, _NETBSD_SOURCE.  If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.

This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
  can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
  various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
  !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.

I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them.  In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.

Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Oct 8 20:13:45 2001 UTC (17 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Catch up to -current.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 18 01:45:18 2001 UTC (17 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

If _CTYPE_PRIVATE, need to include <machine/limits.h> for CHAR_BIT.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 17 20:09:50 2001 UTC (17 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Replace (sizeof (char) << 3) with a less silly-looking CHAR_BIT;
from Peter Seebach in PR standards/9333.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 21 10:44:15 2001 UTC (18 years, 2 months ago) by itojun
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.18: +5 -1 lines
Diff to previous 1.18 (colored)

have comment about strange use of _B

Revision 1.17.8.2 / (download) - annotate - [select for diffs], Fri Jun 23 16:58:48 2000 UTC (18 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.17.8.1: +19 -19 lines
Diff to previous 1.17.8.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Import of most recent XPG4DL dated 2000.06.23.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 13 01:21:52 2000 UTC (18 years, 9 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.17: +19 -19 lines
Diff to previous 1.17 (colored)

Remove 'extern' from function declarations.

Revision 1.17.8.1 / (download) - annotate - [select for diffs], Sun May 28 22:41:01 2000 UTC (18 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.17: +25 -15 lines
Diff to previous 1.17 (colored)

Citrus Project XPG4DL, an implementation of I18N (locale) framework,
is imported.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sun Sep 27 23:07:40 1998 UTC (20 years, 5 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.15: +15 -15 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

pull up rev 1.16 from trunk (tv).

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 10 16:57:51 1998 UTC (20 years, 10 months ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, comdex-fall-1999-base, comdex-fall-1999
Branch point for: minoura-xpg4dl
Changes since 1.16: +20 -7 lines
Diff to previous 1.16 (colored)

Reorganize name space protection.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 23 06:44:34 1998 UTC (21 years ago) by mrg
Branch: MAIN
Changes since 1.15: +15 -15 lines
Diff to previous 1.15 (colored)

cast the argument of ctype macros to (int).

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Feb 2 07:22:52 1998 UTC (21 years, 1 month ago) by perry
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +147 -1 lines
Diff to previous 1.1.1.1 (colored)

import lite-2

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 2 09:52:36 1997 UTC (21 years, 9 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.14: +28 -16 lines
Diff to previous 1.14 (colored)

Add support for localized character sets (a.k.a. LC_CTYPE).

Thanks go to Matthias Scheler <tron@lyssa.owl.de> for contributing his initial
work in PR/3592, and to Christos Zoulas for refining it!

Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 26 00:55:47 1994 UTC (24 years, 4 months ago) by cgd
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

new RCS ID format.

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 16 10:58:56 1994 UTC (24 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.12: +107 -1 lines
Diff to previous 1.12 (colored)

update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.
USL copyright additions on those.  Kill varargs.h, because it can simply
be a link to the machine-dependent version.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Oct 5 17:07:17 1993 UTC (25 years, 5 months ago) by jtc
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

#ifdef out the isblank macro.  Programs that use it will still work, as
they will link in the isblank function.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Sep 14 01:07:41 1993 UTC (25 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

Added isblank() used by 4.4 and POSIX utilities like tr.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Sep 5 22:27:39 1993 UTC (25 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)

ANSI_SOURCE --> _ANSI_SOURCE

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 23 16:25:21 1993 UTC (25 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

use "_to*_tab_" rather than "_to*_table_" -- table is defined as the former

Revision 1.8 / (download) - annotate - [select for diffs], Sat Aug 21 00:47:14 1993 UTC (25 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored)

_ctype_, _tolower_tab_, and _toupper_tab_ are now pointers to the tables.
The tables have been renamed to _C_ctype_, _C_tolower_, and _C_toupper_
as they are tables for the C locale.  When switching to a new locale, the
pointers will be set to point to tables specific to the new locale.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Aug 9 01:03:58 1993 UTC (25 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

zapped extra ; at end of two #define lines

Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 6 23:19:51 1993 UTC (25 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

Declare translation tables for toupper and tolower.  To be replaced by
pointers to the tables to the current locale.
Reintroduce toupper and tolower macros that use the translation tables.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 6 22:45:14 1993 UTC (25 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

Use const qualifier with _ctype_ table.  Smart compilers can then store it
in the text segment.  When we implement locales, the isctype macros/functions
will reference this table (or a locale specific table) through a pointer, but
for right now, it continues to reference the _ctype_ table directly.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 6 22:05:29 1993 UTC (25 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

Rename tolower & toupper macros to _tolower and _toupper.
Standard C requires tolower to return a character that is !isupper unchanged
which was not being done with the macro.  The function version does the
right thing, so the loss of the macro is no great deal.

I didn't eliminate the macros entirely, since X/Open's XPG3 requires _tolower
and _toupper with the same semantics.  But, like isascii/toascii, they are
removed from the namespace if either ANSI_SOURCE or _POSIX_SOURCE is defined.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 6 18:41:21 1993 UTC (25 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Declare function versions of is* and to* functions -- discovered by
P.J. Plauger's ANSI Library regression test.
Don't export isascii & toascii in strict ansi mode.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:44:57 1993 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Add RCS identifiers.

Revision 1.1.1.1.2.1 / (download) - annotate - [select for diffs], Tue Jul 27 23:04:55 1993 UTC (25 years, 7 months ago) by cgd
Branch: netbsd-0-9
CVS Tags: netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2
Changes since 1.1.1.1: +1 -1 lines
Diff to previous 1.1.1.1 (colored) next main 1.1.1.2 (colored)

get rid of the toupper and tolower macros; they're broken and aren't
necessary to have as macros.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (26 years ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-ALPHA, netbsd-0-8, WFJ-386bsd-01
Branch point for: netbsd-0-9
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (26 years ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>