equal
deleted
inserted
replaced
|
1 # HG changeset patch |
|
2 # Parent 2ce70237f5bfb0e5759ea2e0d9ca7e1ecfa73954 |
|
3 diff -r 2ce70237f5bf -r 5db4d4f2f895 src/readconf.c |
|
4 --- a/src/readconf.c Sun Feb 13 10:31:31 2011 +0100 |
|
5 +++ b/src/readconf.c Sun Feb 13 12:04:17 2011 +0100 |
|
6 @@ -2906,6 +2906,11 @@ |
|
7 |
|
8 while ((s = get_config_line()) != NULL) |
|
9 { |
|
10 + |
|
11 + if (config_lineno == 1 && Ustrstr(s, "\xef\xbb\xbf")) |
|
12 + log_write(0, LOG_PANIC_DIE|LOG_CONFIG_IN, |
|
13 + "Byte Order Mark found (config file should be plain ASCII) <%d>", config_lineno); |
|
14 + |
|
15 if (isupper(s[0])) read_macro_assignment(s); |
|
16 |
|
17 else if (Ustrncmp(s, "domainlist", 10) == 0) |