From owner-freebsd-commit Sat Mar 25 16:37:21 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA20270 for commit-outgoing; Sat, 25 Mar 1995 16:37:21 -0800 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA20244 for cvs-lib-outgoing; Sat, 25 Mar 1995 16:35:41 -0800 Received: (from ache@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA20231; Sat, 25 Mar 1995 16:35:37 -0800 Date: Sat, 25 Mar 1995 16:35:37 -0800 From: "Andrey A. Chernov" Message-Id: <199503260035.QAA20231@freefall.cdrom.com> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libtermcap termcap.c Sender: commit-owner@FreeBSD.ORG Precedence: bulk ache 95/03/25 16:35:37 Modified: lib/libtermcap termcap.c Log: Compact entry returned to user: 1) Eliminate spaces and double ':'. 2) Remove duplicated capabilities from tc= expansion. It is needed to not overflow historycal 1024 limit. Add range check and return -1 if entry is too big instead of corrupting user memory.