From owner-cvs-lib Sun Aug 11 04:42:13 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA08968 for cvs-lib-outgoing; Sun, 11 Aug 1996 04:42:13 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA08954; Sun, 11 Aug 1996 04:42:05 -0700 (PDT) Date: Sun, 11 Aug 1996 04:42:05 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608111142.EAA08954@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/regex cclass.h engine.c regcomp.c regex2.h Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/11 04:42:04 Modified: lib/libc/regex cclass.h engine.c regcomp.c regex2.h Log: Use locale for character classes instead of hardcoded values Misc 8bit cleanup Revision Changes Path 1.3 +18 -26 src/lib/libc/regex/cclass.h 1.5 +1 -1 src/lib/libc/regex/engine.c 1.5 +66 -6 src/lib/libc/regex/regcomp.c 1.2 +4 -4 src/lib/libc/regex/regex2.h From owner-cvs-lib Sun Aug 11 04:49:35 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA09262 for cvs-lib-outgoing; Sun, 11 Aug 1996 04:49:35 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA09247; Sun, 11 Aug 1996 04:49:25 -0700 (PDT) Date: Sun, 11 Aug 1996 04:49:25 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608111149.EAA09247@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/regex regcomp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/11 04:49:25 Modified: lib/libc/regex regcomp.c Log: Short value is better for hash due to easy overflow in 8bit characters Revision Changes Path 1.6 +1 -1 src/lib/libc/regex/regcomp.c From owner-cvs-lib Sun Aug 11 09:08:32 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA20001 for cvs-lib-outgoing; Sun, 11 Aug 1996 09:08:32 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA19976; Sun, 11 Aug 1996 09:08:20 -0700 (PDT) Date: Sun, 11 Aug 1996 09:08:20 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608111608.JAA19976@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/regex regcomp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/11 09:08:19 Modified: lib/libc/regex regcomp.c Log: Use collate data for national alpha character ranges like [a-z] Revision Changes Path 1.7 +45 -4 src/lib/libc/regex/regcomp.c From owner-cvs-lib Sun Aug 11 12:20:48 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA07298 for cvs-lib-outgoing; Sun, 11 Aug 1996 12:20:48 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA07269; Sun, 11 Aug 1996 12:20:33 -0700 (PDT) Date: Sun, 11 Aug 1996 12:20:33 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608111920.MAA07269@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libedit chared.c common.c emacs.c key.c refresh.c vi.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/11 12:20:32 Modified: lib/libedit chared.c common.c emacs.c key.c refresh.c vi.c Log: 8bit cleaness (ctype) fixes Revision Changes Path 1.3 +2 -2 src/lib/libedit/chared.c 1.3 +3 -3 src/lib/libedit/common.c 1.4 +9 -9 src/lib/libedit/emacs.c 1.3 +2 -0 src/lib/libedit/key.c 1.4 +1 -1 src/lib/libedit/refresh.c 1.3 +1 -1 src/lib/libedit/vi.c From owner-cvs-lib Sun Aug 11 19:01:09 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA24058 for cvs-lib-outgoing; Sun, 11 Aug 1996 19:01:09 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA24041; Sun, 11 Aug 1996 19:00:58 -0700 (PDT) Date: Sun, 11 Aug 1996 19:00:58 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608120200.TAA24041@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen glob.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/11 19:00:57 Modified: lib/libc/gen glob.c Log: Use collate for alpha character ranges Revision Changes Path 1.3 +35 -1 src/lib/libc/gen/glob.c From owner-cvs-lib Sun Aug 11 20:40:54 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28329 for cvs-lib-outgoing; Sun, 11 Aug 1996 20:40:54 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28310; Sun, 11 Aug 1996 20:40:42 -0700 (PDT) Date: Sun, 11 Aug 1996 20:40:42 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608120340.UAA28310@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/locale collcmp.c Makefile.inc collate.h Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/11 20:40:41 Modified: lib/libc/locale Makefile.inc collate.h Added: lib/libc/locale collcmp.c Log: Add internal function __collcmp once instead of adding it statically to many places in the libc Revision Changes Path 1.7 +2 -1 src/lib/libc/locale/Makefile.inc 1.2 +2 -1 src/lib/libc/locale/collate.h From owner-cvs-lib Sun Aug 11 20:46:03 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28499 for cvs-lib-outgoing; Sun, 11 Aug 1996 20:46:03 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28480; Sun, 11 Aug 1996 20:45:55 -0700 (PDT) Date: Sun, 11 Aug 1996 20:45:55 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608120345.UAA28480@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen glob.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/11 20:45:55 Modified: lib/libc/gen glob.c Log: Remove static collcmp, ise new internal function now Revision Changes Path 1.4 +3 -35 src/lib/libc/gen/glob.c From owner-cvs-lib Sun Aug 11 20:51:23 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28653 for cvs-lib-outgoing; Sun, 11 Aug 1996 20:51:23 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28638; Sun, 11 Aug 1996 20:51:19 -0700 (PDT) Date: Sun, 11 Aug 1996 20:51:19 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608120351.UAA28638@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/regex regcomp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/11 20:51:18 Modified: lib/libc/regex regcomp.c Log: Remove static collcmp, use new internal function now Revision Changes Path 1.8 +4 -37 src/lib/libc/regex/regcomp.c From owner-cvs-lib Sun Aug 11 21:03:58 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA29099 for cvs-lib-outgoing; Sun, 11 Aug 1996 21:03:58 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA29082; Sun, 11 Aug 1996 21:03:51 -0700 (PDT) Date: Sun, 11 Aug 1996 21:03:51 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608120403.VAA29082@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen fnmatch.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/11 21:03:51 Modified: lib/libc/gen fnmatch.c Log: Use collate for alpha character ranges Revision Changes Path 1.4 +4 -1 src/lib/libc/gen/fnmatch.c From owner-cvs-lib Mon Aug 12 05:13:26 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA16309 for cvs-lib-outgoing; Mon, 12 Aug 1996 05:13:26 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA16290; Mon, 12 Aug 1996 05:13:18 -0700 (PDT) Date: Mon, 12 Aug 1996 05:13:18 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608121213.FAA16290@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libcompat Makefile src/lib/libcompat/regexp regexp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/12 05:13:17 Modified: lib/libcompat Makefile lib/libcompat/regexp regexp.c Log: Use collate info for alpha character ranges 8bit cleanup Revision Changes Path 1.10 +1 -1 src/lib/libcompat/Makefile 1.3 +13 -8 src/lib/libcompat/regexp/regexp.c From owner-cvs-lib Mon Aug 12 07:00:40 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA20071 for cvs-lib-outgoing; Mon, 12 Aug 1996 07:00:40 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA20057; Mon, 12 Aug 1996 07:00:30 -0700 (PDT) Date: Mon, 12 Aug 1996 07:00:30 -0700 (PDT) From: Peter Wemm Message-Id: <199608121400.HAA20057@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/rpc clnt_generic.c clnt_simple.c getrpcport.c pmap_rmt.c svc.c svc_tcp.c svc_udp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/12 07:00:29 Modified: lib/libc/rpc clnt_generic.c clnt_simple.c getrpcport.c pmap_rmt.c svc.c svc_tcp.c svc_udp.c Log: clear various struct sockaddr_in's on stack, set sin_len. (Noticed when comparing to OpenBSD source) Revision Changes Path 1.4 +3 -1 src/lib/libc/rpc/clnt_generic.c 1.5 +3 -1 src/lib/libc/rpc/clnt_simple.c 1.5 +3 -1 src/lib/libc/rpc/getrpcport.c 1.8 +2 -1 src/lib/libc/rpc/pmap_rmt.c 1.6 +2 -1 src/lib/libc/rpc/svc.c 1.7 +2 -1 src/lib/libc/rpc/svc_tcp.c 1.6 +2 -1 src/lib/libc/rpc/svc_udp.c From owner-cvs-lib Mon Aug 12 07:10:07 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA20467 for cvs-lib-outgoing; Mon, 12 Aug 1996 07:10:07 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA20422; Mon, 12 Aug 1996 07:09:49 -0700 (PDT) Date: Mon, 12 Aug 1996 07:09:49 -0700 (PDT) From: Peter Wemm Message-Id: <199608121409.HAA20422@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/rpc bindresvport.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/12 07:09:48 Modified: lib/libc/rpc bindresvport.c Log: Use the more robust and more efficient reserved port allocation mechanism now built into bind(2). Obtained from: OpenBSD / Jason Downs / Theo de Raadt Revision Changes Path 1.5 +45 -21 src/lib/libc/rpc/bindresvport.c From owner-cvs-lib Mon Aug 12 07:14:25 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA20722 for cvs-lib-outgoing; Mon, 12 Aug 1996 07:14:25 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA20695; Mon, 12 Aug 1996 07:14:11 -0700 (PDT) Date: Mon, 12 Aug 1996 07:14:11 -0700 (PDT) From: Peter Wemm Message-Id: <199608121414.HAA20695@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/net rcmd.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/12 07:14:10 Modified: lib/libc/net rcmd.c Log: clear sockaddr_in's on stack before use set sin_len close one ftp port bounce attack have rresvport() use bindresvport() rather than duplicate the code, rresvport() is a superset of bindresvport(). Obtained from: OpenBSD / Jason Downs / Theo de Raadt, minor tweaks by me. Revision Changes Path 1.10 +28 -26 src/lib/libc/net/rcmd.c From owner-cvs-lib Mon Aug 12 11:39:00 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA04914 for cvs-lib-outgoing; Mon, 12 Aug 1996 11:39:00 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA04892; Mon, 12 Aug 1996 11:38:52 -0700 (PDT) Date: Mon, 12 Aug 1996 11:38:52 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608121838.LAA04892@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/locale collcmp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/12 11:38:51 Modified: lib/libc/locale collcmp.c Log: There is so many places where range comparation (using collate) needed (much more than I think initially), so I forced to add new user-visible non-standard function to libc. Revision Changes Path 1.2 +20 -9 src/lib/libc/locale/collcmp.c From owner-cvs-lib Mon Aug 12 11:45:48 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA05302 for cvs-lib-outgoing; Mon, 12 Aug 1996 11:45:48 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA05286; Mon, 12 Aug 1996 11:45:42 -0700 (PDT) Date: Mon, 12 Aug 1996 11:45:42 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608121845.LAA05286@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen fnmatch.c glob.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/12 11:45:41 Modified: lib/libc/gen fnmatch.c glob.c Log: Convert to newly aded collate compare function Revision Changes Path 1.5 +3 -3 src/lib/libc/gen/fnmatch.c 1.5 +3 -3 src/lib/libc/gen/glob.c From owner-cvs-lib Mon Aug 12 11:50:00 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA05512 for cvs-lib-outgoing; Mon, 12 Aug 1996 11:50:00 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA05498; Mon, 12 Aug 1996 11:49:55 -0700 (PDT) Date: Mon, 12 Aug 1996 11:49:55 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608121849.LAA05498@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/regex regcomp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/12 11:49:55 Modified: lib/libc/regex regcomp.c Log: Convert to newly aded collate compare function Revision Changes Path 1.9 +4 -4 src/lib/libc/regex/regcomp.c From owner-cvs-lib Mon Aug 12 11:56:51 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA06228 for cvs-lib-outgoing; Mon, 12 Aug 1996 11:56:51 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA06202; Mon, 12 Aug 1996 11:56:40 -0700 (PDT) Date: Mon, 12 Aug 1996 11:56:40 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608121856.LAA06202@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libcompat Makefile src/lib/libcompat/regexp regexp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/12 11:56:39 Modified: lib/libcompat Makefile lib/libcompat/regexp regexp.c Log: Convert to newly aded collate compare function Revision Changes Path 1.11 +1 -1 src/lib/libcompat/Makefile 1.4 +5 -4 src/lib/libcompat/regexp/regexp.c From owner-cvs-lib Mon Aug 12 12:18:59 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA07675 for cvs-lib-outgoing; Mon, 12 Aug 1996 12:18:59 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA07655; Mon, 12 Aug 1996 12:18:50 -0700 (PDT) Date: Mon, 12 Aug 1996 12:18:50 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608121918.MAA07655@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/locale collate.h collcmp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/12 12:18:49 Modified: lib/libc/locale collate.h collcmp.c Log: Remove old version hooks Revision Changes Path 1.3 +1 -2 src/lib/libc/locale/collate.h 1.3 +1 -10 src/lib/libc/locale/collcmp.c From owner-cvs-lib Tue Aug 13 03:00:48 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA04635 for cvs-lib-outgoing; Tue, 13 Aug 1996 03:00:48 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA04618; Tue, 13 Aug 1996 03:00:37 -0700 (PDT) Date: Tue, 13 Aug 1996 03:00:37 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608131000.DAA04618@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/13 03:00:37 Modified: lib/libc Makefile Log: Bump minor number - new function added Revision Changes Path 1.15 +1 -1 src/lib/libc/Makefile From owner-cvs-lib Tue Aug 13 03:36:30 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA06073 for cvs-lib-outgoing; Tue, 13 Aug 1996 03:36:30 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA06067; Tue, 13 Aug 1996 03:36:24 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.7.5/8.7.3) with ESMTP id SAA22514; Tue, 13 Aug 1996 18:36:14 +0800 (WST) Message-Id: <199608131036.SAA22514@spinner.DIALix.COM> X-Mailer: exmh version 1.6.6 3/24/96 To: "Andrey A. Chernov" cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc Makefile In-reply-to: Your message of "Tue, 13 Aug 1996 03:00:37 MST." <199608131000.DAA04618@freefall.freebsd.org> Date: Tue, 13 Aug 1996 18:36:14 +0800 From: Peter Wemm Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk "Andrey A. Chernov" wrote: > ache 96/08/13 03:00:37 > > Modified: lib/libc Makefile > Log: > Bump minor number - new function added A couple of things.. First, we dont need to bump the minor number this time since it's already been done this development cycle.. (in fact, the major has been bumped) This has been the policy since before 2.0.5 was released... ie: "one version bump per development cycle". Second, don't forget to update the libc_r Makefiles, as they need the new file as well. Cheers, -Peter From owner-cvs-lib Tue Aug 13 04:28:39 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA08740 for cvs-lib-outgoing; Tue, 13 Aug 1996 04:28:39 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA08729; Tue, 13 Aug 1996 04:28:28 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id VAA10191; Tue, 13 Aug 1996 21:01:20 +1000 Date: Tue, 13 Aug 1996 21:01:20 +1000 From: Bruce Evans Message-Id: <199608131101.VAA10191@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, ache@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/locale collcmp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified: lib/libc/locale collcmp.c > Log: > There is so many places where range comparation (using collate) > needed (much more than I think initially), so I forced to add > new user-visible non-standard function to libc. This is probably OK for applications, but please try not to introduce more nonstandard namespace-polluting names that are referenced from separate libraries (collate_range_cmp is referenced from libgnuregex). BTW, can anyone explain why the following program doesn't dump core when it is linked dynamically? --- extern int alarm; main() { alarm = 1; } --- When this is linked statically, `alarm' is resolved to be the alarm() function in the text segment, so the program dumps core as expected. Bruce From owner-cvs-lib Tue Aug 13 04:36:49 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA09097 for cvs-lib-outgoing; Tue, 13 Aug 1996 04:36:49 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA09090; Tue, 13 Aug 1996 04:36:32 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.7.5/8.7.3) with ESMTP id TAA22996; Tue, 13 Aug 1996 19:35:37 +0800 (WST) Message-Id: <199608131135.TAA22996@spinner.DIALix.COM> X-Mailer: exmh version 1.6.6 3/24/96 To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, ache@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/locale collcmp.c In-reply-to: Your message of "Tue, 13 Aug 1996 21:01:20 +1000." <199608131101.VAA10191@godzilla.zeta.org.au> Date: Tue, 13 Aug 1996 19:35:37 +0800 From: Peter Wemm Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > BTW, can anyone explain why the following program doesn't dump core > when it is linked dynamically? > --- > extern int alarm; > main() { alarm = 1; } > --- > > When this is linked statically, `alarm' is resolved to be the alarm() > function in the text segment, so the program dumps core as expected. > > Bruce I can guess.. alarm is initially bound to a trampoline function that points to the dynamic linker (the PLT?). When alarm() is first called, the lazy dynamic link happens, and this is replaced by a call to the real address. The PLT is a read/write section. Cheers, -Peter From owner-cvs-lib Tue Aug 13 06:38:42 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA13789 for cvs-lib-outgoing; Tue, 13 Aug 1996 06:38:42 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA13774; Tue, 13 Aug 1996 06:38:36 -0700 (PDT) Date: Tue, 13 Aug 1996 06:38:36 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608131338.GAA13774@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/locale collcmp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/13 06:38:36 Modified: lib/libc/locale collcmp.c Log: simplify/speedup/extend Revision Changes Path 1.4 +22 -18 src/lib/libc/locale/collcmp.c From owner-cvs-lib Tue Aug 13 07:07:48 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA14898 for cvs-lib-outgoing; Tue, 13 Aug 1996 07:07:48 -0700 (PDT) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA14885; Tue, 13 Aug 1996 07:07:35 -0700 (PDT) Received: by sovcom.kiae.su id AA06046 (5.65.kiae-1 ); Tue, 13 Aug 1996 16:58:53 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Tue, 13 Aug 96 16:58:52 +0300 Received: (from ache@localhost) by nagual.ru (8.7.5/8.7.3) id RAA01761; Tue, 13 Aug 1996 17:58:37 +0400 (MSD) Message-Id: <199608131358.RAA01761@nagual.ru> Subject: Re: cvs commit: src/lib/libc Makefile In-Reply-To: <199608131036.SAA22514@spinner.DIALix.COM> from "Peter Wemm" at "Aug 13, 96 06:36:14 pm" To: peter@spinner.DIALix.COM (Peter Wemm) Date: Tue, 13 Aug 1996 17:58:37 +0400 (MSD) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) Organization: self X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL24 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > First, we dont need to bump the minor number this time since it's already > been done this development cycle.. (in fact, the major has been bumped) > This has been the policy since before 2.0.5 was released... ie: "one > version bump per development cycle". > Second, don't forget to update the libc_r Makefiles, as they need the new > file as well. Oops.. It seems I miss something... Please clarify, what I need to do exactly: back out minor bumping or bump libc_r too? -- Andrey A. Chernov http://www.nagual.ru/~ache/ From owner-cvs-lib Tue Aug 13 07:08:05 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA14968 for cvs-lib-outgoing; Tue, 13 Aug 1996 07:08:05 -0700 (PDT) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA14917; Tue, 13 Aug 1996 07:07:53 -0700 (PDT) Received: by sovcom.kiae.su id AA06023 (5.65.kiae-1 ); Tue, 13 Aug 1996 16:58:48 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Tue, 13 Aug 96 16:58:48 +0300 Received: (from ache@localhost) by nagual.ru (8.7.5/8.7.3) id RAA01737; Tue, 13 Aug 1996 17:54:01 +0400 (MSD) Message-Id: <199608131354.RAA01737@nagual.ru> Subject: Re: cvs commit: src/lib/libc/locale collcmp.c In-Reply-To: <199608131101.VAA10191@godzilla.zeta.org.au> from "Bruce Evans" at "Aug 13, 96 09:01:20 pm" To: bde@zeta.org.au (Bruce Evans) Date: Tue, 13 Aug 1996 17:54:00 +0400 (MSD) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) Organization: self X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL24 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Modified: lib/libc/locale collcmp.c > > Log: > > There is so many places where range comparation (using collate) > > needed (much more than I think initially), so I forced to add > > new user-visible non-standard function to libc. > > This is probably OK for applications, but please try not to introduce > more nonstandard namespace-polluting names that are referenced from > separate libraries (collate_range_cmp is referenced from libgnuregex). I don't plan to introduce more, one function is enough. It needed for _all_ cases where [a-z]-type national letters ranges used, including gnuregex, of course. The reason is simple: letters in the top half of code table usually not sorted alphabetically. Using exact code table layout ranges make additional portablity troubles, i.e. I can covert shell script which use [-] range to another Russian code table easily, but all non-alphabetical ranges (exact layout ranges f.e.) needs additional porter attention. POSIX 1003.2 also says that collate can be used in [a-z]-type ranges. -- Andrey A. Chernov http://www.nagual.ru/~ache/ From owner-cvs-lib Tue Aug 13 07:21:18 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA15479 for cvs-lib-outgoing; Tue, 13 Aug 1996 07:21:18 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA15460; Tue, 13 Aug 1996 07:21:02 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.7.5/8.7.3) with ESMTP id WAA23475; Tue, 13 Aug 1996 22:20:16 +0800 (WST) Message-Id: <199608131420.WAA23475@spinner.DIALix.COM> X-Mailer: exmh version 1.6.6 3/24/96 To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc Makefile In-reply-to: Your message of "Tue, 13 Aug 1996 17:58:37 +0400." <199608131358.RAA01761@nagual.ru> Date: Tue, 13 Aug 1996 22:20:16 +0800 From: Peter Wemm Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > > First, we dont need to bump the minor number this time since it's already > > been done this development cycle.. (in fact, the major has been bumped) > > This has been the policy since before 2.0.5 was released... ie: "one > > version bump per development cycle". > > > Second, don't forget to update the libc_r Makefiles, as they need the new > > file as well. > > Oops.. It seems I miss something... Please clarify, what I need to do > exactly: back out minor bumping or bump libc_r too? My suggestion is to revert the minor increment before much time has passed, it's only a few hours. If it is a bigger deal than I think, it can easily be re-bumped again. libc_r has it's own set of Makefile.inc's, and when you add one file to libc, you need to do the same to libc_r. And also keep the version numbers in sync. Cheers, -Peter > -- > Andrey A. Chernov > > http://www.nagual.ru/~ache/ From owner-cvs-lib Tue Aug 13 07:38:08 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA16734 for cvs-lib-outgoing; Tue, 13 Aug 1996 07:38:08 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA16711; Tue, 13 Aug 1996 07:37:55 -0700 (PDT) Date: Tue, 13 Aug 1996 07:37:55 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608131437.HAA16711@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/13 07:37:54 Modified: lib/libc Makefile Log: Back out minor bumping per Peter suggestion Revision Changes Path 1.16 +1 -1 src/lib/libc/Makefile From owner-cvs-lib Tue Aug 13 07:55:29 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA17957 for cvs-lib-outgoing; Tue, 13 Aug 1996 07:55:29 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA17932; Tue, 13 Aug 1996 07:55:14 -0700 (PDT) Date: Tue, 13 Aug 1996 07:55:14 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608131455.HAA17932@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc_r/locale Makefile.inc Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/13 07:55:12 Modified: lib/libc_r/locale Makefile.inc Log: Add collate_range_cmp Revision Changes Path 1.2 +2 -1 src/lib/libc_r/locale/Makefile.inc From owner-cvs-lib Tue Aug 13 10:03:34 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA27048 for cvs-lib-outgoing; Tue, 13 Aug 1996 10:03:34 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA27031; Tue, 13 Aug 1996 10:03:24 -0700 (PDT) Date: Tue, 13 Aug 1996 10:03:24 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608131703.KAA27031@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/string strcoll.3 strcoll.c strxfrm.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/13 10:03:22 Modified: lib/libc/string strcoll.3 strcoll.c strxfrm.c Log: Back out fallback approximation changes, they are not so right to live Revision Changes Path 1.6 +7 -4 src/lib/libc/string/strcoll.3 1.7 +3 -19 src/lib/libc/string/strcoll.c 1.6 +5 -17 src/lib/libc/string/strxfrm.c From owner-cvs-lib Tue Aug 13 10:50:06 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA00114 for cvs-lib-outgoing; Tue, 13 Aug 1996 10:50:06 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA29965; Tue, 13 Aug 1996 10:49:47 -0700 (PDT) Date: Tue, 13 Aug 1996 10:49:47 -0700 (PDT) From: Peter Wemm Message-Id: <199608131749.KAA29965@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/stdio refill.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/13 10:49:46 Modified: lib/libc/stdio refill.c Log: Fix nasty bracketing/precedence bug. Every time something read (and refilled) a file that was either line- or un-buffered, all files were flushed. According to the code comment, the flush (according to ANSI) is supposed to happen on write + line buffered output files, not _all_ files. Obtained from: OpenBSD / Theo de Raadt, possibly from proven@cygnus.com Revision Changes Path 1.4 +2 -2 src/lib/libc/stdio/refill.c From owner-cvs-lib Wed Aug 14 12:47:10 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA22132 for cvs-lib-outgoing; Wed, 14 Aug 1996 12:47:10 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA22115; Wed, 14 Aug 1996 12:47:04 -0700 (PDT) Date: Wed, 14 Aug 1996 12:47:04 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608141947.MAA22115@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/locale collcmp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/14 12:47:03 Modified: lib/libc/locale collcmp.c Log: Add Id Revision Changes Path 1.5 +2 -0 src/lib/libc/locale/collcmp.c From owner-cvs-lib Thu Aug 15 13:15:32 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14471 for cvs-lib-outgoing; Thu, 15 Aug 1996 13:15:32 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14455; Thu, 15 Aug 1996 13:15:20 -0700 (PDT) Date: Thu, 15 Aug 1996 13:15:20 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199608152015.NAA14455@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libncurses/TESTS hanoi.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/08/15 13:15:19 Modified: lib/libncurses/TESTS hanoi.c Log: Add something so that you can solve the puzzle automatically by pressing `a' (I'm using this code as a test for something else, and just happened to add this in the process :). Revision Changes Path 1.4 +10 -1 src/lib/libncurses/TESTS/hanoi.c From owner-cvs-lib Thu Aug 15 13:29:22 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA16315 for cvs-lib-outgoing; Thu, 15 Aug 1996 13:29:22 -0700 (PDT) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA16290; Thu, 15 Aug 1996 13:29:07 -0700 (PDT) Date: Thu, 15 Aug 1996 13:29:07 -0700 (PDT) From: Mike Pritchard Message-Id: <199608152029.NAA16290@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libm/common_source ceil.3 fabs.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/08/15 13:29:06 Modified: lib/libm/common_source ceil.3 fabs.3 Log: Correct a cuple of improperly formatted xrefs. Revision Changes Path 1.2 +1 -1 src/lib/libm/common_source/ceil.3 1.2 +1 -1 src/lib/libm/common_source/fabs.3 From owner-cvs-lib Thu Aug 15 14:04:45 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA22075 for cvs-lib-outgoing; Thu, 15 Aug 1996 14:04:45 -0700 (PDT) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA22036; Thu, 15 Aug 1996 14:04:32 -0700 (PDT) Date: Thu, 15 Aug 1996 14:04:32 -0700 (PDT) From: Mike Pritchard Message-Id: <199608152104.OAA22036@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys execve.2 intro.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/08/15 14:04:31 Modified: lib/libc/sys execve.2 intro.2 Log: NCARGS is defined as 65536 in the released system, not 20480. Revision Changes Path 1.5 +1 -1 src/lib/libc/sys/execve.2 1.5 +1 -1 src/lib/libc/sys/intro.2 From owner-cvs-lib Thu Aug 15 14:07:07 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA22409 for cvs-lib-outgoing; Thu, 15 Aug 1996 14:07:07 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA22365; Thu, 15 Aug 1996 14:06:55 -0700 (PDT) Date: Thu, 15 Aug 1996 14:06:55 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199608152106.OAA22365@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libncurses lib_newterm.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/08/15 14:06:55 Modified: lib/libncurses lib_newterm.c Log: Make libncurses catch SIGWINCH and update the values for LINES and COLS. I was perplexed when an example I'd written to show the values for these variables changing as an xterm window was resized didn't work, and looking into it I see that size tracking for LINES and COLS seems to be one SVR4 enhancement which didn't come across with libncurses. Revision Changes Path 1.8 +15 -0 src/lib/libncurses/lib_newterm.c From owner-cvs-lib Thu Aug 15 14:13:07 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA23307 for cvs-lib-outgoing; Thu, 15 Aug 1996 14:13:07 -0700 (PDT) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA23244; Thu, 15 Aug 1996 14:12:52 -0700 (PDT) Date: Thu, 15 Aug 1996 14:12:52 -0700 (PDT) From: Mike Pritchard Message-Id: <199608152112.OAA23244@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen alarm.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/08/15 14:12:51 Modified: lib/libc/gen alarm.3 Log: Don't claim to be POSIX compliant, since our alarm function isn't. Revision Changes Path 1.4 +5 -5 src/lib/libc/gen/alarm.3 From owner-cvs-lib Thu Aug 15 14:14:04 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA23487 for cvs-lib-outgoing; Thu, 15 Aug 1996 14:14:04 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA23458; Thu, 15 Aug 1996 14:13:56 -0700 (PDT) Date: Thu, 15 Aug 1996 14:13:56 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199608152113.OAA23458@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libncurses lib_newterm.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/08/15 14:13:56 Modified: lib/libncurses lib_newterm.c Log: Switch from using sigaction to signal. Revision Changes Path 1.9 +5 -8 src/lib/libncurses/lib_newterm.c From owner-cvs-lib Thu Aug 15 14:51:40 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA26579 for cvs-lib-outgoing; Thu, 15 Aug 1996 14:51:40 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA26524; Thu, 15 Aug 1996 14:51:08 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA07301; Thu, 15 Aug 1996 23:51:05 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id XAA07845; Thu, 15 Aug 1996 23:51:05 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id XAA02811; Thu, 15 Aug 1996 23:39:44 +0200 (MET DST) From: J Wunsch Message-Id: <199608152139.XAA02811@uriah.heep.sax.de> Subject: Re: cvs commit: src/lib/libncurses lib_newterm.c To: jkh@freefall.freebsd.org (Jordan K. Hubbard) Date: Thu, 15 Aug 1996 23:39:43 +0200 (MET DST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199608152113.OAA23458@freefall.freebsd.org> from "Jordan K. Hubbard" at "Aug 15, 96 02:13:56 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Jordan K. Hubbard wrote: > jkh 96/08/15 14:13:56 > > Modified: lib/libncurses lib_newterm.c > Log: > Switch from using sigaction to signal. Why is this? sigaction() is Posix, signal() ain't. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-lib Thu Aug 15 15:03:53 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA27732 for cvs-lib-outgoing; Thu, 15 Aug 1996 15:03:53 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA27719; Thu, 15 Aug 1996 15:03:45 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id PAA25794; Thu, 15 Aug 1996 15:03:05 -0700 (PDT) To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: jkh@freefall.freebsd.org (Jordan K. Hubbard), CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libncurses lib_newterm.c In-reply-to: Your message of "Thu, 15 Aug 1996 23:39:43 +0200." <199608152139.XAA02811@uriah.heep.sax.de> Date: Thu, 15 Aug 1996 15:03:05 -0700 Message-ID: <25792.840146585@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > As Jordan K. Hubbard wrote: > > jkh 96/08/15 14:13:56 > > > > Modified: lib/libncurses lib_newterm.c > > Log: > > Switch from using sigaction to signal. > > Why is this? sigaction() is Posix, signal() ain't. sigaction had unwonted side-effects. Jordan From owner-cvs-lib Thu Aug 15 23:23:15 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA10093 for cvs-lib-outgoing; Thu, 15 Aug 1996 23:23:15 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id XAA09943; Thu, 15 Aug 1996 23:21:20 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA23449; Fri, 16 Aug 1996 08:21:15 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id IAA13946; Fri, 16 Aug 1996 08:21:14 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id IAA04877; Fri, 16 Aug 1996 08:06:57 +0200 (MET DST) From: J Wunsch Message-Id: <199608160606.IAA04877@uriah.heep.sax.de> Subject: Re: cvs commit: src/lib/libncurses lib_newterm.c To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Fri, 16 Aug 1996 08:06:56 +0200 (MET DST) Cc: joerg_wunsch@uriah.heep.sax.de, jkh@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <25792.840146585@time.cdrom.com> from "Jordan K. Hubbard" at "Aug 15, 96 03:03:05 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Jordan K. Hubbard wrote: > > Why is this? sigaction() is Posix, signal() ain't. > > sigaction had unwonted side-effects. I don't trust you. ;-) signal()'s implementation is mainly based on sigaction(). So if the latter has unwanted side-effects for you that signal doesn't have, it's probably a programmer's error. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-lib Fri Aug 16 00:01:24 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA12275 for cvs-lib-outgoing; Fri, 16 Aug 1996 00:01:24 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA12270; Fri, 16 Aug 1996 00:01:21 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id AAA26982; Fri, 16 Aug 1996 00:00:39 -0700 (PDT) To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: jkh@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libncurses lib_newterm.c In-reply-to: Your message of "Fri, 16 Aug 1996 08:06:56 +0200." <199608160606.IAA04877@uriah.heep.sax.de> Date: Fri, 16 Aug 1996 00:00:39 -0700 Message-ID: <26979.840178839@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > sigaction had unwonted side-effects. > > I don't trust you. ;-) signal()'s implementation is mainly based on And this coming from the guy who got us to change the 3COM driver at the last minute in 2.1.5? :-) > sigaction(). So if the latter has unwanted side-effects for you that > signal doesn't have, it's probably a programmer's error. I'll be happy to explain the symptoms to you. When I simply cloned one of the existing entries already there for SIGTERM and SIGTSTP (and, just going by the docs for sigaction(), they seem correct), my short C test program worked just fine. When I dynamically loaded my curses library into tclsh and initialized the curses library, however, an incoming SIGWINCH would shoot the tclsh dead. This does not happen if I simply use signal(). Try it for yourself if you don't believe me. :-) Jordan From owner-cvs-lib Fri Aug 16 00:52:40 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA16041 for cvs-lib-outgoing; Fri, 16 Aug 1996 00:52:40 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA15924; Fri, 16 Aug 1996 00:51:01 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA28697; Fri, 16 Aug 1996 09:50:58 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA15158; Fri, 16 Aug 1996 09:50:57 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id JAA05555; Fri, 16 Aug 1996 09:31:02 +0200 (MET DST) From: J Wunsch Message-Id: <199608160731.JAA05555@uriah.heep.sax.de> Subject: Re: cvs commit: src/lib/libncurses lib_newterm.c To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Fri, 16 Aug 1996 09:31:02 +0200 (MET DST) Cc: joerg_wunsch@uriah.heep.sax.de, jkh@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <26979.840178839@time.cdrom.com> from "Jordan K. Hubbard" at "Aug 16, 96 00:00:39 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Jordan K. Hubbard wrote: > > I don't trust you. ;-) signal()'s implementation is mainly based on > > And this coming from the guy who got us to change the 3COM driver at > the last minute in 2.1.5? :-) Hey, that's unfair competition! :) > Try it for > yourself if you don't believe me. :-) No, i don't try it, but will quote you signal(3): sigset_t _sigintr; /* shared with siginterrupt */ sig_t signal(s, a) int s; sig_t a; { struct sigaction sa, osa; sa.sa_handler = a; sigemptyset(&sa.sa_mask); sa.sa_flags = 0; if (!sigismember(&_sigintr, s)) sa.sa_flags |= SA_RESTART; if (sigaction(s, &sa, &osa) < 0) return (SIG_ERR); return (osa.sa_handler); } That's about all there is to be. So now, it should be easy to compare against libncurses to see what they've got wrong. (_sigintr is initially empty, it's only affected by siginterrupt(), so you should perhaps always set SA_RESTART.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-lib Fri Aug 16 00:53:35 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA16179 for cvs-lib-outgoing; Fri, 16 Aug 1996 00:53:35 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA16158; Fri, 16 Aug 1996 00:53:31 -0700 (PDT) Date: Fri, 16 Aug 1996 00:53:31 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199608160753.AAA16158@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libncurses lib_newterm.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/08/16 00:53:30 Modified: lib/libncurses lib_newterm.c Log: Go back to sigaction again now that Peter has found the problem. Mine was just a "let's move on" kinda fix, Peter's does it right. :) Submitted-by: peter Revision Changes Path 1.10 +3 -3 src/lib/libncurses/lib_newterm.c From owner-cvs-lib Fri Aug 16 04:49:00 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA26996 for cvs-lib-outgoing; Fri, 16 Aug 1996 04:49:00 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA26873; Fri, 16 Aug 1996 04:45:17 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id VAA19635; Fri, 16 Aug 1996 21:37:04 +1000 Date: Fri, 16 Aug 1996 21:37:04 +1000 From: Bruce Evans Message-Id: <199608161137.VAA19635@godzilla.zeta.org.au> To: j@uriah.heep.sax.de, jkh@time.cdrom.com Subject: Re: cvs commit: src/lib/libncurses lib_newterm.c Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, jkh@freefall.freebsd.org, joerg_wunsch@uriah.heep.sax.de Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> > Why is this? sigaction() is Posix, signal() ain't. >> >> sigaction had unwonted side-effects. Actually, signal() has wanted side effects. >I don't trust you. ;-) signal()'s implementation is mainly based on ^^^^^^ completely >sigaction(). So if the latter has unwanted side-effects for you that >signal doesn't have, it's probably a programmer's error. The only difference (under BSD) is that signal() sets SA_RESTART for most signals. The set of such signals may be changed using siginterrupt(). Under SysVish systems, signal() also sets SA_RESETHAND and SA_NODEFER to give traditional unreliable signals. signal() should only be used if you want traditional system-dependent behaviour, i.e., almost never. Bruce From owner-cvs-lib Sat Aug 17 09:04:19 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA01970 for cvs-lib-outgoing; Sat, 17 Aug 1996 09:04:19 -0700 (PDT) Received: from copland.udel.edu (copland.udel.edu [128.175.13.92]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA01951; Sat, 17 Aug 1996 09:04:10 -0700 (PDT) Received: (from jchabalk@localhost) by copland.udel.edu (8.7.5/8.7.3) id MAA28221; Sat, 17 Aug 1996 12:03:56 -0400 (EDT) Date: Sat, 17 Aug 1996 12:03:55 -0400 (EDT) From: John Dawson Chabalko To: "Jordan K. Hubbard" cc: Joerg Wunsch , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: unsubscribe In-Reply-To: <26979.840178839@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk unsubscribe