* libutf-2.8 and ssam-1.7
@ 1997-02-24 16:29 Alistair Crooks
0 siblings, 0 replies; only message in thread
From: Alistair Crooks @ 1997-02-24 16:29 UTC (permalink / raw)
To: wilyfans; +Cc: sam-fans
It was pointed out to me that my implementation of chartorune() was
braindead, and I can only agree, and I've since also discovered that
my implementation of fullrune() was lacking, to such a degree that it
was just plain wrong. Apologies, as this hinders Alan Watson's wc
from working correctly. I've also cleaned up a bug in utf_snprintf,
which was also downright silly.
The new versions have been uploaded to:
although they're only visible from "close of business" (my ISP's words,
not mine) today, 24th February, 17:00 GMT.
As usual, the correct way to install the software is as follows:
% tar xvzf libutf-2.8.tar.gz
% cd libutf-2.8
% make tst
% make install
% cd ..
% tar xvzf ssam-1.7.tar.gz
% cd ssam-1.7
% make tst
% make install
A list of the changes appears at the end of this mail.
This has been tested on UTS 4.3.2 (S390 mainframe), Solaris 2.4 (SS5),
and NetBSD/i386 1.2C.
Sorry about the bugs,
+ corrected spelling of Byron Rakitzis' name in ssam.1 manual page
+ added error checking to chartorune, at suggestion of Rob Pike
(firstname.lastname@example.org) - now recognise `error runes', and return
the Runeerror character, with unity length. The previous code ignored
error runes, and blindly gave them a length of 3 bytes, probably
pushing the following runes in the string `out of sync'. Woops.
+ added a test for error runes
+ check for null expressions, which can cause gurep to coredump
when dereferenced on some platforms e.g. Solaris.
+ added a test for null expressions given as args to gurep
+ corrected my implementation of fullrune(), which was just plain
wrong. Shown up by testing Alan Watson's UTF-aware wc.
+ fixed a bug whereby I didn't zero-byte-terminate the buffer in
utf_snprintf - this caused occasional "language not found" errors.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-02-24 16:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-02-24 16:29 libutf-2.8 and ssam-1.7 Alistair Crooks
sam-fans - fans of the sam editor
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://inbox.vuxu.org/sam-fans
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V1 sam-fans sam-fans/ http://inbox.vuxu.org/sam-fans \
Example config snippet for mirrors.
Newsgroup available over NNTP:
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git