1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 00:26:37 +02:00

langcomp should now compile even with _GNU_SOURCES defined, some compiles/oss seem to do it by default

git-svn-id: svn://svn.anope.org/anope/trunk@1054 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@778 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-06-15 17:54:31 +00:00
parent a4370c21c3
commit 2eee213724
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -25,6 +25,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
06/14 F Removed last traces of threading support. [#498]
06/14 F Changed mysql detection to use mysql_config. [ #00]
06/15 F OpenBSD Config issue. [#519]
06/15 F langcomp with _GNU_SOURCES defined. [ #00]
Provided by ThaPrince <jon@vile.com> - 2006
05/19 A Plexus 3 support. [ #00]
+2 -2
View File
@@ -118,7 +118,7 @@ int stringnum(const char *name)
/* Read a non-comment, non-blank line from the input file. Return NULL at
* end of file. */
char *getline(FILE *f)
char *ano_getline(FILE *f)
{
static char buf[1024];
char *s;
@@ -205,7 +205,7 @@ int main(int ac, char **av)
return 1;
}
while (maxerr > 0 && (line = getline(in)) != NULL) {
while (maxerr > 0 && (line = ano_getline(in)) != NULL) {
if (*line == '\t') {
if (curstring == -2) {
fprintf(stderr, "%s:%d: Junk at beginning of file\n",