[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-cvs
Subject:    [Ltp-cvs] ltp/testcases/kernel/syscalls/dup2 dup202.c, 1.3,
From:       Subrata <subrata_modak () users ! sourceforge ! net>
Date:       2007-10-30 10:47:03
Message-ID: E1ImodE-0005uO-0Y () mail ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/dup2
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv7504/ltp/testcases/kernel/syscalls/dup2

Modified Files:
	dup202.c dup203.c 
Log Message:
Breno Leitao (leitao@linux.vnet.ibm.com) fixed these for running on NFS mounted systems


Index: dup203.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/dup2/dup203.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** dup203.c	25 Mar 2003 18:44:20 -0000	1.4
--- dup203.c	30 Oct 2007 10:46:58 -0000	1.5
***************
*** 198,201 ****
--- 198,203 ----
  			tst_resm(TPASS, "call succeeded");
  		}
+ 		close(fd0);
+ 		close(fd1);
  
  		unlink(filename0);

Index: dup202.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/dup2/dup202.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** dup202.c	25 Mar 2003 18:44:20 -0000	1.3
--- dup202.c	30 Oct 2007 10:46:58 -0000	1.4
***************
*** 145,148 ****
--- 145,151 ----
  
  			/* remove the file so that we can use it again */
+ 			if (-1 == close(*TC[i].nfd)) {
+ 				printf("close failed\n");
+ 			}
  			if (-1 == close(ofd)) {
  				printf("close failed\n");


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