Index: cptoqe.c =================================================================== RCS file: /sources/qemacs/qemacs/cptoqe.c,v retrieving revision 1.14 diff -u -r1.14 cptoqe.c --- cptoqe.c 2 May 2008 16:04:09 -0000 1.14 +++ cptoqe.c 6 Jan 2014 11:20:02 -0000 @@ -39,7 +39,7 @@ return p; } -static char *getline(char *buf, int buf_size, FILE *f, int strip_comments) +static char *getaline(char *buf, int buf_size, FILE *f, int strip_comments) { for (;;) { char *p; @@ -96,7 +96,7 @@ nb = 0; for (;;) { - if (!(p = getline(line, sizeof(line), f, 0)) + if (!(p = getaline(line, sizeof(line), f, 0)) || *p == '[' || !strcasecmp(p, "# compatibility")) { if (f == f0) @@ -273,7 +273,7 @@ f = fopen(indexname, "r"); if (f != NULL) { - while (getline(line, sizeof(line), f, 1)) { + while (getaline(line, sizeof(line), f, 1)) { if (*line == '[' && line[1 + len] == ']' && !namecmp(line + 1, name, len)) { return f;