On Thu, 2008-01-17 at 18:07 +0100, Yi Xu wrote: > Hi, > > This might be new or might not happen to all: I see quite a lot of files > having compiling error of missing argument for open() function when > O_CREAT is in the flag, as following: > > In function 'open', > inlined from 'main' at getdents04.c:141: > /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' > declared with attribute error: open with O_CREAT in second argument > needs 3 arguments > > > Thus I did a patch, which fixes mainly the above issue. It also fixes > another issue of too many arguments for open() function in iogen.c file: > > iogen.c:1089: > /usr/include/bits/fcntl2.h:45: error: call to '__open_too_many_args' > declared with attribute error: open can be called eit > her with 2 or 3 arguments, not more > > > Maybe you find the patch useful.
Thanks for pointing that out. This has been merged. Hope you would keep bringing up such issues in LTP test cases in future along with their fixes. :-) --Subrata > > Thanks, > Yi > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
