Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 272362
Collapse All | Expand All

(-)ispell-3.3.02-olde/correct.c (-5 / +5 lines)
Lines 247-253 Link Here
247
		  struct flagent * sufent,
247
		  struct flagent * sufent,
248
		  ichar_t savearea[MAX_CAPS][INPUTWORDLEN + MAXAFFIXLEN],
248
		  ichar_t savearea[MAX_CAPS][INPUTWORDLEN + MAXAFFIXLEN],
249
		  int * nsaved));
249
		  int * nsaved));
250
static char *	getline P ((char * buf, int bufsize));
250
static char *	my_getline P ((char * buf, int bufsize));
251
void		askmode P ((void));
251
void		askmode P ((void));
252
void		copyout P ((unsigned char ** cc, int cnt));
252
void		copyout P ((unsigned char ** cc, int cnt));
253
static void	lookharder P ((unsigned char * string));
253
static void	lookharder P ((unsigned char * string));
Lines 573-579 Link Here
573
573
574
		imove (li - 1, 0);
574
		imove (li - 1, 0);
575
		(void) putchar ('!');
575
		(void) putchar ('!');
576
		if (getline ((char *) buf, sizeof buf) == NULL)
576
		if (my_getline ((char *) buf, sizeof buf) == NULL)
577
		    {
577
		    {
578
		    (void) putchar (7);
578
		    (void) putchar (7);
579
		    ierase ();
579
		    ierase ();
Lines 598-604 Link Here
598
		    (void) printf ("%s ", CORR_C_READONLY);
598
		    (void) printf ("%s ", CORR_C_READONLY);
599
		    }
599
		    }
600
		(void) printf (CORR_C_REPLACE_WITH);
600
		(void) printf (CORR_C_REPLACE_WITH);
601
		if (getline ((char *) ctok, ctokl) == NULL)
601
		if (my_getline ((char *) ctok, ctokl) == NULL)
602
		    {
602
		    {
603
		    (void) putchar (7);
603
		    (void) putchar (7);
604
		    /* Put it back */
604
		    /* Put it back */
Lines 666-672 Link Here
666
		unsigned char	buf[100];
666
		unsigned char	buf[100];
667
		imove (li - 1, 0);
667
		imove (li - 1, 0);
668
		(void) printf (CORR_C_LOOKUP_PROMPT);
668
		(void) printf (CORR_C_LOOKUP_PROMPT);
669
		if (getline ((char *) buf, sizeof buf) == NULL)
669
		if (my_getline ((char *) buf, sizeof buf) == NULL)
670
		    {
670
		    {
671
		    (void) putchar (7);
671
		    (void) putchar (7);
672
		    ierase ();
672
		    ierase ();
Lines 1585-1591 Link Here
1585
    return;
1585
    return;
1586
    }
1586
    }
1587
1587
1588
static char * getline (s, len)
1588
static char * my_getline (s, len)
1589
    register char *	s;
1589
    register char *	s;
1590
    register int	len;
1590
    register int	len;
1591
    {
1591
    {

Return to bug 272362