Репозитории ALT
S: | 3.2.06-alt14 |
5.1: | 3.2.06-alt12 |
4.1: | 3.2.06-alt7 |
4.0: | 3.2.06-alt7 |
3.0: | 3.2.06-alt6 |
Группа :: Работа с текстами
Пакет: ispell
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: ispell-3.2.06-alt-gcc44-system-getline.patch
Скачать
Скачать
diff -ru ispell-3.2.06.old/correct.c ispell-3.2.06/correct.c
--- ispell-3.2.06/correct.c 2009-05-12 10:04:32 +0000
+++ ispell-3.2.06/correct.c 2009-05-12 10:06:53 +0000
@@ -232,7 +232,7 @@
struct flagent * sufent,
ichar_t savearea[MAX_CAPS][INPUTWORDLEN + MAXAFFIXLEN],
int * nsaved));
-static char * getline P ((char * buf));
+static char * my_getline P ((char * buf));
void askmode P ((void));
void copyout P ((unsigned char ** cc, int cnt));
static void lookharder P ((unsigned char * string));
@@ -547,7 +547,7 @@
move (li - 1, 0);
(void) putchar ('!');
- if (getline ((char *) buf) == NULL)
+ if (my_getline ((char *) buf) == NULL)
{
(void) putchar (7);
erase ();
@@ -572,7 +572,7 @@
(void) printf ("%s ", CORR_C_READONLY);
}
(void) printf (CORR_C_REPLACE_WITH);
- if (getline ((char *) ctok) == NULL)
+ if (my_getline ((char *) ctok) == NULL)
{
(void) putchar (7);
/* Put it back */
@@ -640,7 +640,7 @@
unsigned char buf[100];
move (li - 1, 0);
(void) printf (CORR_C_LOOKUP_PROMPT);
- if (getline ((char *) buf) == NULL)
+ if (my_getline ((char *) buf) == NULL)
{
(void) putchar (7);
erase ();
@@ -1478,7 +1478,7 @@
return;
}
-static char * getline (s)
+static char * my_getline (s)
register char * s;
{
register char * p;