From owner-freebsd-bugs@FreeBSD.ORG Sat May 3 14:20:22 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 595CB37B4B4 for ; Sat, 3 May 2003 14:20:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D8A043FB1 for ; Sat, 3 May 2003 14:20:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h43LKIUp016817 for ; Sat, 3 May 2003 14:20:18 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h43LKInd016816; Sat, 3 May 2003 14:20:18 -0700 (PDT) Resent-Date: Sat, 3 May 2003 14:20:18 -0700 (PDT) Resent-Message-Id: <200305032120.h43LKInd016816@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, AIDA Shinra Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17C9837B401 for ; Sat, 3 May 2003 14:13:20 -0700 (PDT) Received: from mx.j10n.org (203.141.155.228.user.ca.il24.net [203.141.155.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93AA943FBD for ; Sat, 3 May 2003 14:13:18 -0700 (PDT) (envelope-from shinra@j10n.org) Received: from e-note.j10n.org (e-note.j10n.org [IPv6:2002:cb8d:9be4:1::1]) by mx.j10n.org (8.12.8p1/8.12.8) with ESMTP id h43LDEwm053704 for ; Sun, 4 May 2003 06:13:14 +0900 (JST) (envelope-from shinra@j10n.org) Received: from e-note.j10n.org (localhost [IPv6:::1]) by e-note.j10n.org (8.12.9/8.12.9) with ESMTP id h43LDE50025791 for ; Sun, 4 May 2003 06:13:14 +0900 (JST) (envelope-from shinra@j10n.org) Received: (from shinra@localhost) by e-note.j10n.org (8.12.9/8.12.9/Submit) id h43LDDQ7025790; Sun, 4 May 2003 06:13:13 +0900 (JST) (envelope-from shinra@j10n.org) Message-Id: <200305032113.h43LDDQ7025790@e-note.j10n.org> Date: Sun, 4 May 2003 06:13:13 +0900 (JST) From: AIDA Shinra To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: gnu/51733: [PATCH] Obsolete freebsd local hack to info(1) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: AIDA Shinra List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 21:20:22 -0000 >Number: 51733 >Category: gnu >Synopsis: [PATCH] Obsolete freebsd local hack to info(1) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 03 14:20:18 PDT 2003 >Closed-Date: >Last-Modified: >Originator: AIDA Shinra >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD e-note 5.0-CURRENT FreeBSD 5.0-CURRENT #12: Sat Apr 26 11:14:26 JST 2003 shinra@e-note:/usr/obj/usr/freebsd/src/sys/LOCAL i386 >Description: contrib/texinfo/info/signals.c contains a local hack to pretend SIGWINCH when received SIGCONT. Its was a workaround to following situation: C-z Resize terminal fg But the hack only changed a bug to another bug. Now texinfo 4.5 has a correct solution for the problem so the hack is no longer required. >How-To-Repeat: >Fix: Simply remove our hack. Index: src/contrib/texinfo/info/signals.c diff -u src/contrib/texinfo/info/signals.c:1.7 src/contrib/texinfo/info/signals.c:1.1.1.4 --- src/contrib/texinfo/info/signals.c:1.7 Thu May 1 19:50:59 2003 +++ src/contrib/texinfo/info/signals.c Thu May 1 19:48:41 2003 @@ -1,6 +1,5 @@ /* signals.c -- install and maintain Info signal handlers. $Id: signals.c,v 1.4 2003/01/29 19:23:22 karl Exp $ - $FreeBSD: /cvs/cvsup/ncvs/src/contrib/texinfo/info/signals.c,v 1.7 2003/05/02 00:50:59 ru Exp $ Copyright (C) 1993, 1994, 1995, 1998, 2002, 2003 Free Software Foundation, Inc. @@ -114,7 +113,7 @@ #endif /* !HAVE_SIGACTION */ static signal_info old_TSTP, old_TTOU, old_TTIN; -static signal_info old_WINCH, old_INT, old_USR1, old_CONT; +static signal_info old_WINCH, old_INT, old_USR1; void initialize_info_signal_handler () @@ -133,10 +132,7 @@ #if defined (SIGWINCH) set_termsig (SIGWINCH, &old_WINCH); -#if defined (SIGCONT) - set_termsig (SIGCONT, &old_CONT); #endif -#endif #if defined (SIGINT) set_termsig (SIGINT, &old_INT); @@ -238,12 +234,6 @@ #if defined (SIGWINCH) || defined (SIGUSR1) #ifdef SIGWINCH -#ifdef SIGCONT - case SIGCONT: - /* pretend a SIGWINCH in case the terminal window size has changed - while we've been asleep */ - /* FALLTHROUGH */ -#endif case SIGWINCH: #endif #ifdef SIGUSR1 @@ -255,10 +245,6 @@ #ifdef SIGWINCH if (sig == SIGWINCH) old_signal_handler = &old_WINCH; -#ifdef SIGCONT - else if (sig == SIGCONT) - old_signal_handler = &old_CONT; -#endif #endif #ifdef SIGUSR1 if (sig == SIGUSR1) >Release-Note: >Audit-Trail: >Unformatted: