]> git.draconx.ca Git - cdecl99.git/commit
cdecl99: Drop locale-sensitive isblank usage.
authorNick Bowler <nbowler@draconx.ca>
Tue, 24 Jan 2023 04:58:55 +0000 (23:58 -0500)
committerNick Bowler <nbowler@draconx.ca>
Tue, 24 Jan 2023 05:18:23 +0000 (00:18 -0500)
commitebd914f74112325a90ce2b5065506fe4ad51cf9e
treef48d76fbe99aeb4afdad6fbede95e8eeb7a4a432
parent802e3b1cc242d149fc23cc65f1714c99c1f8520a
cdecl99: Drop locale-sensitive isblank usage.

The intention of this function is to avoid recording no-op command lines
in the history.  This is exactly the set of commands containing just
regular tabs and spaces.

It is inappropriate to use the locale-sensitive isblank for this, as
this may be a little bit different.  In practice there is probably no
meaningful difference, but as isblank is a C99 feature losing this call
also helps when building against older C libraries that lack it.
src/cdecl99.c