• Sébastien Wilmet's avatar
    BookManager: do not call g_file_test(exists) to find index file · 16283194
    Sébastien Wilmet authored
    As the documentation of g_file_query_exists() explains, it is better to
    try to open the file directly and handle G_IO_ERROR_NOT_FOUND
    gracefully. It is not racy that way, and is potentially faster since in
    most cases there will be one less I/O operation (if it finds directly a
    *.devhelp2 index file).
dh-parser.c 25.8 KB