Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 193540 Details for
Bug 272362
app-text/ispell-3.3.02-r1 wont compile with glibc 2.10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
replaces getline() with my_getline()
getline-hack.diff (text/plain), 1.77 KB, created by
Andreas Schäfer
on 2009-06-04 15:59:09 UTC
(
hide
)
Description:
replaces getline() with my_getline()
Filename:
MIME Type:
Creator:
Andreas Schäfer
Created:
2009-06-04 15:59:09 UTC
Size:
1.77 KB
patch
obsolete
>Common subdirectories: ispell-3.3.02-olde/addons and ispell-3.3.02/addons >diff -u ispell-3.3.02-olde/correct.c ispell-3.3.02/correct.c >--- ispell-3.3.02-olde/correct.c 2009-06-04 15:43:50.000000000 +0200 >+++ ispell-3.3.02/correct.c 2009-06-04 15:44:57.000000000 +0200 >@@ -247,7 +247,7 @@ > struct flagent * sufent, > ichar_t savearea[MAX_CAPS][INPUTWORDLEN + MAXAFFIXLEN], > int * nsaved)); >-static char * getline P ((char * buf, int bufsize)); >+static char * my_getline P ((char * buf, int bufsize)); > void askmode P ((void)); > void copyout P ((unsigned char ** cc, int cnt)); > static void lookharder P ((unsigned char * string)); >@@ -573,7 +573,7 @@ > > imove (li - 1, 0); > (void) putchar ('!'); >- if (getline ((char *) buf, sizeof buf) == NULL) >+ if (my_getline ((char *) buf, sizeof buf) == NULL) > { > (void) putchar (7); > ierase (); >@@ -598,7 +598,7 @@ > (void) printf ("%s ", CORR_C_READONLY); > } > (void) printf (CORR_C_REPLACE_WITH); >- if (getline ((char *) ctok, ctokl) == NULL) >+ if (my_getline ((char *) ctok, ctokl) == NULL) > { > (void) putchar (7); > /* Put it back */ >@@ -666,7 +666,7 @@ > unsigned char buf[100]; > imove (li - 1, 0); > (void) printf (CORR_C_LOOKUP_PROMPT); >- if (getline ((char *) buf, sizeof buf) == NULL) >+ if (my_getline ((char *) buf, sizeof buf) == NULL) > { > (void) putchar (7); > ierase (); >@@ -1585,7 +1585,7 @@ > return; > } > >-static char * getline (s, len) >+static char * my_getline (s, len) > register char * s; > register int len; > { >Common subdirectories: ispell-3.3.02-olde/deformatters and ispell-3.3.02/deformatters >Common subdirectories: ispell-3.3.02-olde/languages and ispell-3.3.02/languages >Common subdirectories: ispell-3.3.02-olde/pc and ispell-3.3.02/pc
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 272362
:
193538
| 193540