summaryrefslogtreecommitdiffstats
path: root/usr.bin/tr
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-07-10 06:28:18 +0000
committertjr <tjr@FreeBSD.org>2004-07-10 06:28:18 +0000
commit3f97d8af9c10e372b6e3a35fca1011071fbafb7e (patch)
treea548a2ed346a9979fa936d5276b333edb4757b96 /usr.bin/tr
parenta4644f9bd8a735f4d17fd6e323c714f72cb0c2c9 (diff)
downloadFreeBSD-src-3f97d8af9c10e372b6e3a35fca1011071fbafb7e.zip
FreeBSD-src-3f97d8af9c10e372b6e3a35fca1011071fbafb7e.tar.gz
Initialize cs_invert to "false" in new csets.
Diffstat (limited to 'usr.bin/tr')
-rw-r--r--usr.bin/tr/cset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/tr/cset.c b/usr.bin/tr/cset.c
index 05dbd77..87dd59c 100644
--- a/usr.bin/tr/cset.c
+++ b/usr.bin/tr/cset.c
@@ -57,6 +57,7 @@ cset_alloc(void)
cs->cs_root = NULL;
cs->cs_classes = NULL;
cs->cs_havecache = false;
+ cs->cs_invert = false;
return (cs);
}
OpenPOWER on IntegriCloud