> 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.

I will look in to this.

--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

Reply via email to