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:
parent
a4370c21c3
commit
2eee213724
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user