[LTP] [PATCH] [COMMITTED] syscalls/fadvise: Fix regression

Cyril Hrubis chrubis@suse.cz
Fri Jan 11 14:27:45 CET 2019


Hi!
> These test were disabled from execution without _FILE_OFFSET_BITS != 64
> since their conversion into the new library. The problem is that we
> didn't copied the original condition correctly. Originally the tests
> were disabled in case of:
> 
> if ((_FILE_OFFSET_BITS != 64) && (__NR_fadvise64 == 0))
> 
> While after the change they were disabled in case of:

If you are wonder if there is something missing here, yes it is,
apparently I've been biten by the fact that git removes all lines
starting with hash (#) from commit messages.

So the line missing here is:

#if (_FILE_OFFSET_BITS != 64)

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list