[prev in list] [next in list] [prev in thread] [next in thread]
List: ltp-cvs
Subject: [Ltp-cvs] ltp/testcases/network/tcp_cmds/sendfile testsf_c.c, 1.11,
From: Subrata <subrata_modak () users ! sourceforge ! net>
Date: 2008-01-21 11:16:25
Message-ID: E1JGude-0003wQ-L7 () mail ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/ltp/ltp/testcases/network/tcp_cmds/sendfile
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv27456/ltp/testcases/network/tcp_cmds/sendfile
Modified Files:
testsf_c.c
Log Message:
Fixing missing argument for open() function when O_CREAT is in the flag, by, Yi Xu <yxu@suse.de>
Index: testsf_c.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/network/tcp_cmds/sendfile/testsf_c.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** testsf_c.c 3 Oct 2005 17:51:17 -0000 1.11
--- testsf_c.c 21 Jan 2008 11:16:23 -0000 1.12
***************
*** 48,52 ****
/* prepare to copy file from server to local machine */
! if ((fd = open(clnt_fname, O_CREAT | O_TRUNC | O_WRONLY)) < 0) {
tst_resm(TBROK, "file open error = %d\n", errno);
close(s);
--- 48,52 ----
/* prepare to copy file from server to local machine */
! if ((fd = open(clnt_fname, O_CREAT | O_TRUNC | O_WRONLY, 0777)) < 0) {
tst_resm(TBROK, "file open error = %d\n", errno);
close(s);
-------------------------------------------------------------------------
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-cvs mailing list
Ltp-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic