Commit b200a813c090c2ccf12ee4b5a99b45300fead2e8

Carlos Martín Nieto 2012-09-14T20:43:47

config: fix Unicode BOM detection Defining the BOM as a string makes the array include the NUL-terminator, which means that the memcpy is going to check for that as well and thus never match for a nonempty file. Define the array as three chars, which makes the size correct.