Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 169658 Details for
Bug 243754
dev-util/cscope-15.6 dies when window size changes in linemode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
SIGWINCH linemode patch
cscope-sigwinch-linemode.patch (text/plain), 1.06 KB, created by
Michael Hordijk
on 2008-10-24 01:04:15 UTC
(
hide
)
Description:
SIGWINCH linemode patch
Filename:
MIME Type:
Creator:
Michael Hordijk
Created:
2008-10-24 01:04:15 UTC
Size:
1.06 KB
patch
obsolete
>diff -Naur cscope-15.6.orig/src/main.c cscope-15.6/src/main.c >--- cscope-15.6.orig/src/main.c 2006-09-30 04:13:00.000000000 -0400 >+++ cscope-15.6/src/main.c 2008-10-23 20:55:00.000000000 -0400 >@@ -153,12 +153,7 @@ > yyout = stdout; > /* save the command name for messages */ > argv0 = argv[0]; >-#if defined(KEY_RESIZE) && !defined(__DJGPP__) >- winch_action.sa_sigaction = sigwinch_handler; >- sigemptyset(&winch_action.sa_mask); >- winch_action.sa_flags = SA_SIGINFO; >- sigaction(SIGWINCH,&winch_action,NULL); >-#endif >+ > /* set the options */ > while (--argc > 0 && (*++argv)[0] == '-') { > /* HBB 20030814: add GNU-style --help and --version options */ >@@ -400,6 +395,12 @@ > } > > if (linemode == NO) { >+#if defined(KEY_RESIZE) && !defined(__DJGPP__) >+ winch_action.sa_sigaction = sigwinch_handler; >+ sigemptyset(&winch_action.sa_mask); >+ winch_action.sa_flags = SA_SIGINFO; >+ sigaction(SIGWINCH,&winch_action,NULL); >+#endif > signal(SIGINT, SIG_IGN); /* ignore interrupts */ > signal(SIGPIPE, SIG_IGN);/* | command can cause pipe signal */ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243754
: 169658