Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 149191 Details for
Bug 230862
cscope segfault when window is resized in line oriented mode (+patch)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch that fixes the problem
cscope-15.5-resize-linemode-segv.patch (text/plain), 1.15 KB, created by
Ronald Wahl
on 2007-03-03 21:53:00 UTC
(
hide
)
Description:
Patch that fixes the problem
Filename:
MIME Type:
Creator:
Ronald Wahl
Created:
2007-03-03 21:53:00 UTC
Size:
1.15 KB
patch
obsolete
>diff -uNr cscope-15.5.orig/src/main.c cscope-15.5/src/main.c >--- cscope-15.5.orig/src/main.c 2007-03-03 22:27:20.000000000 +0100 >+++ cscope-15.5/src/main.c 2007-03-03 22:43:38.000000000 +0100 >@@ -124,7 +124,9 @@ > > void sigwinch_handler(int sig, siginfo_t *info, void *unused) > { >- ungetch(KEY_RESIZE); >+ if(incurses == YES) { >+ ungetch(KEY_RESIZE); >+ } > } > > int >@@ -146,12 +148,6 @@ > /* save the command name for messages */ > argv0 = argv[0]; > >- winch_action.sa_sigaction = sigwinch_handler; >- sigemptyset(&winch_action.sa_mask); >- winch_action.sa_flags = SA_SIGINFO; >- >- sigaction(SIGWINCH,&winch_action,NULL); >- > /* set the options */ > while (--argc > 0 && (*++argv)[0] == '-') { > /* HBB 20030814: add GNU-style --help and --version >@@ -397,6 +393,10 @@ > { > (void) signal(SIGINT, SIG_IGN); /* ignore interrupts */ > (void) signal(SIGPIPE, SIG_IGN);/* | command can cause pipe signal */ >+ winch_action.sa_sigaction = sigwinch_handler; >+ sigemptyset(&winch_action.sa_mask); >+ winch_action.sa_flags = SA_SIGINFO; >+ sigaction(SIGWINCH,&winch_action,NULL); > > /* initialize the curses display package */ > (void) initscr(); /* initialize the screen */
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 230862
: 149191