[prev in list] [next in list] [prev in thread] [next in thread]
List: ltp-cvs
Subject: [Ltp-cvs] ltp/testcases/kernel/syscalls/rmdir rmdir02.c,1.9,1.10
From: Subrata <subrata_modak () users ! sourceforge ! net>
Date: 2007-10-30 10:47:07
Message-ID: E1Imocm-0005gC-V1 () mail ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/rmdir
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv7504/ltp/testcases/kernel/syscalls/rmdir
Modified Files:
rmdir02.c
Log Message:
Breno Leitao (leitao@linux.vnet.ibm.com) fixed these for running on NFS mounted systems
Index: rmdir02.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/rmdir/rmdir02.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** rmdir02.c 9 Feb 2007 20:48:23 -0000 1.9
--- rmdir02.c 30 Oct 2007 10:47:05 -0000 1.10
***************
*** 224,227 ****
--- 224,228 ----
set_condition(int num)
{
+ int fd;
switch(num) {
case 1:
***************
*** 254,261 ****
/* create a file */
! if (creat(tstfile, PERMS) == -1) {
tst_brkm(TBROK, cleanup, "creat() failed");
/*NOTREACHED*/
}
break;
default:
--- 255,263 ----
/* create a file */
! if ((fd = creat(tstfile, PERMS)) == -1) {
tst_brkm(TBROK, cleanup, "creat() failed");
/*NOTREACHED*/
}
+ close(fd);
break;
default:
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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