[Cmake-commits] [cmake-commits] zach.mullen committed lockFile.c 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Sep 23 14:08:00 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/CTestTestParallel
In directory public:/mounts/ram/cvs-serv25605

Modified Files:
	lockFile.c 
Log Message:
Make portable c for Parallel test


Index: lockFile.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CTestTestParallel/lockFile.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** lockFile.c	23 Sep 2009 15:38:37 -0000	1.1
--- lockFile.c	23 Sep 2009 18:07:57 -0000	1.2
***************
*** 1,8 ****
  #include <stdio.h>
  
! //if run serially, works fine
! //if run in parallel, someone will attempt to delete
! //a locked file, which will fail
! int main()
  {
    FILE* file;
--- 1,8 ----
  #include <stdio.h>
  
! /*if run serially, works fine.
!   If run in parallel, someone will attempt to delete
!   a locked file, which will fail */
! int main(void)
  {
    FILE* file;



More information about the Cmake-commits mailing list