Hi! > rmobj() is failing for _64 version of testcases, which use large > files, where it hits EOVERFLOW in lstat(): > > open12 0 TWARN : tst_tmpdir.c:206: tst_rmdir: rmobj(/tmp/opexIqjV3) > failed: > lstat(/tmp/opexIqjV3/large_file) failed; errno=75: > Value too large for defined data type > > Avoid using any *stat functions, instead try to open "obj" > with open(O_DIRECTORY | O_NOFOLLOW,..). If it succeeds, > we know we are dealing with directory, otherwise assume > it's a file or symlink. > > Signed-off-by: Jan Stancek <jstan...@redhat.com>
This builds fine back to the SLES9 and works also fine. Acked. -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list