Date: Sun, 4 May 2003 06:13:13 +0900 (JST) From: AIDA Shinra <shinra@j10n.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: gnu/51733: [PATCH] Obsolete freebsd local hack to info(1) Message-ID: <200305032113.h43LDDQ7025790@e-note.j10n.org> Resent-Message-ID: <200305032120.h43LKInd016816@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305032113.h43LDDQ7025790>