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

(-)texlive-20080816-source.orig/texk/afm2pl/afm2pl.c (-6 / +6 lines)
Lines 345-351 P2C (register int, x, register int, y) Link Here
345
345
346
/* read a line from infile into buffer and obuffer */
346
/* read a line from infile into buffer and obuffer */
347
int
347
int
348
  getline
348
  _getline
349
P1H (void)
349
P1H (void)
350
{
350
{
351
  register char *p;
351
  register char *p;
Lines 781-787 P1H (void) Link Here
781
    afmencoding->vec[i] = ".notdef";
781
    afmencoding->vec[i] = ".notdef";
782
  afmencoding->name = "Unspecified";
782
  afmencoding->name = "Unspecified";
783
783
784
  while (getline ()) {
784
  while (_getline ()) {
785
    switch (interest (paramstring ())) {
785
    switch (interest (paramstring ())) {
786
    case FontName:
786
    case FontName:
787
      fontname = paramnewstring ();
787
      fontname = paramnewstring ();
Lines 963-969 gettoken () Link Here
963
963
964
  while (1) {
964
  while (1) {
965
    while (param == 0 || *param == 0) {
965
    while (param == 0 || *param == 0) {
966
      if (getline () == 0)
966
      if (_getline () == 0)
967
        error ("! premature end in encoding file");
967
        error ("! premature end in encoding file");
968
    }
968
    }
969
    if (param[0] == '%') {
969
    if (param[0] == '%') {
Lines 1540-1546 extraligkerninfo () Link Here
1540
    encfilename =
1540
    encfilename =
1541
      openin (encfilename, kpse_enc_format, ".enc");
1541
      openin (encfilename, kpse_enc_format, ".enc");
1542
    for (lig_it = 0; lig_it < 2; lig_it++) {
1542
    for (lig_it = 0; lig_it < 2; lig_it++) {
1543
      while (getline ()) {
1543
      while (_getline ()) {
1544
        /* search for (ligkern) comment in line */
1544
        /* search for (ligkern) comment in line */
1545
        for (p = buffer; *p; p++)
1545
        for (p = buffer; *p; p++)
1546
          if (*p == '%') {
1546
          if (*p == '%') {
Lines 1576-1582 extraligkerninfo () Link Here
1576
    for (i = 0; i < ligfilenames->n; i++) {
1576
    for (i = 0; i < ligfilenames->n; i++) {
1577
      ligfilename = openin (ligfilenames->names[i],
1577
      ligfilename = openin (ligfilenames->names[i],
1578
                            kpse_lig_format, ".lig");
1578
                            kpse_lig_format, ".lig");
1579
      while (getline ())
1579
      while (_getline ())
1580
        checkligkern (buffer, 0);       /* 2nd param 0: lig file */
1580
        checkligkern (buffer, 0);       /* 2nd param 0: lig file */
1581
      fclose (infile);
1581
      fclose (infile);
1582
    }
1582
    }
Lines 1607-1613 extraligkerninfo () Link Here
1607
  for (i = 0; i < Ligfilenames->n; i++) {
1607
  for (i = 0; i < Ligfilenames->n; i++) {
1608
    ligfilename = openin (Ligfilenames->names[i],
1608
    ligfilename = openin (Ligfilenames->names[i],
1609
                          kpse_lig_format, ".lig");
1609
                          kpse_lig_format, ".lig");
1610
    while (getline ())
1610
    while (_getline ())
1611
      checkligkern (buffer, 0);       /* 2nd param 0: lig file */
1611
      checkligkern (buffer, 0);       /* 2nd param 0: lig file */
1612
    fclose (infile);
1612
    fclose (infile);
1613
  }
1613
  }
(-)texlive-20080816-source.orig/texk/dvipsk/afm2tfm.c (-4 / +4 lines)
Lines 260-266 transform P2C(register int, x, register Link Here
260
}
260
}
261
261
262
int
262
int
263
getline P1H(void) {
263
_getline P1H(void) {
264
   register char *p ;
264
   register char *p ;
265
   register int c ;
265
   register int c ;
266
266
Lines 615-621 readadobe P1H(void) { Link Here
615
   ai = newchar() ;
615
   ai = newchar() ;
616
   ai->adobenum = -1 ;
616
   ai->adobenum = -1 ;
617
   ai->adobename = "||" ; /* boundary character name */
617
   ai->adobename = "||" ; /* boundary character name */
618
   while (getline()) {
618
   while (_getline()) {
619
      switch(interest(paramstring())) {
619
      switch(interest(paramstring())) {
620
case FontName:
620
case FontName:
621
         fontname = paramnewstring() ;
621
         fontname = paramnewstring() ;
Lines 1891-1897 char *gettoken() { Link Here
1891
1891
1892
   while (1) {
1892
   while (1) {
1893
      while (param == 0 || *param == 0) {
1893
      while (param == 0 || *param == 0) {
1894
         if (getline() == 0)
1894
         if (_getline() == 0)
1895
            error("! premature end in encoding file") ;
1895
            error("! premature end in encoding file") ;
1896
         for (p=buffer; *p; p++)
1896
         for (p=buffer; *p; p++)
1897
            if (*p == '%') {
1897
            if (*p == '%') {
Lines 1982-1988 struct encoding *readencoding P1C(char * Link Here
1982
      p = gettoken() ;
1982
      p = gettoken() ;
1983
      if (strcmp(p, "]"))
1983
      if (strcmp(p, "]"))
1984
         error("! token 258 in encoding must be make-array (])") ;
1984
         error("! token 258 in encoding must be make-array (])") ;
1985
      while (getline()) {
1985
      while (_getline()) {
1986
         for (p=buffer; *p; p++)
1986
         for (p=buffer; *p; p++)
1987
            if (*p == '%') {
1987
            if (*p == '%') {
1988
               if (ignoreligkern == 0)
1988
               if (ignoreligkern == 0)
(-)texlive-20080816-source.orig/texk/web2c/cpascal.h (+1 lines)
Lines 14-19 Link Here
14
14
15
/* We must include this first, to resolve many C issues.  */
15
/* We must include this first, to resolve many C issues.  */
16
#include "config.h"
16
#include "config.h"
17
#define getline _getline
17
18
18
/* We only use getopt in the applications, not in web2c itself.  */
19
/* We only use getopt in the applications, not in web2c itself.  */
19
#include <kpathsea/getopt.h>
20
#include <kpathsea/getopt.h>
(-)texlive-20080816-source.orig/texk/web2c/mpware/mpto.c (-3 / +3 lines)
Lines 97-103 usage(char *progn) Link Here
97
}
97
}
98
98
99
char *
99
char *
100
getline(void)
100
_getline(void)
101
{				/* returns NULL on EOF or error, otherwise buf */
101
{				/* returns NULL on EOF or error, otherwise buf */
102
    int c;
102
    int c;
103
    unsigned loc = 0;
103
    unsigned loc = 0;
Lines 302-308 copytex(void) Link Here
302
    char *res = NULL;
302
    char *res = NULL;
303
    do {
303
    do {
304
	if (*aa == 0)
304
	if (*aa == 0)
305
	  if ((aa = getline()) == NULL)
305
	  if ((aa = _getline()) == NULL)
306
	    err("btex section does not end");
306
	    err("btex section does not end");
307
307
308
	if (getbta(aa) && *tt == 'e') {
308
	if (getbta(aa) && *tt == 'e') {
Lines 483-489 Current maintainer: Taco Hoekwater.\n"); Link Here
483
	postverb = troff_postverb;
483
	postverb = troff_postverb;
484
    }
484
    }
485
    printf("%s", predoc);
485
    printf("%s", predoc);
486
    while (getline() != NULL)
486
    while (_getline() != NULL)
487
	do_line();
487
	do_line();
488
    printf("%s", postdoc);
488
    printf("%s", postdoc);
489
    exit(0);
489
    exit(0);

Return to bug 270430