summaryrefslogtreecommitdiff
path: root/src/util/File.c
Commit message (Collapse)AuthorAge
* Fix return code of CCTK_CreateDirectory() if it already exists.tradke2006-05-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4292 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Putting semicolons at the end of the CCTK_FILEVERSIONs.goodale2002-11-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3028 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing include.tradke2002-01-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2585 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for a race condition in case CCTK_CreateDirectory() is called for thetradke2002-01-17
| | | | | | | same directory from multiple procs at the same time. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2583 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't print any warning or info messages in CCTK_CreateDirectory().tradke2001-08-27
| | | | | | | Callers should check the return code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2316 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Return +1 in CCTK_CreateDirectory() if dir already exists, and negativetradke2001-08-27
| | | | | | | if it couldn't be created for some other reason. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2315 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing some compiler warnings.goodale2001-06-25
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2250 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* grdoc, coding guidelines, removing obsolete code.goodale2000-11-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1888 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed deprecated CCTK_mkdirallen2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1835 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed couple of bugs I just commitedallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1647 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Switched the arguments for CCTK_CreateDirectory so that the string is lastallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1645 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_mkdir is now replaced byallen2000-05-10
| | | | | | | | | | | CCTK_CreateDirectory which creates a directory and any needed parents CCTK_mkdir will be removed in Beta 9 git-svn-id: http://svn.cactuscode.org/flesh/trunk@1636 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing macro name to keep solaris compiler happy.goodale2000-05-08
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1630 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_MkDirs to make a directory and all necessary parents.goodale2000-05-02
| | | | | | | | | CCTK_mkdir now calls this. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1622 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check with stat(2) if the directory to be created already exists.tradke2000-04-28
| | | | | | | | | | | | | | | This should work for NT as well. Changed return values of CCTK_mkdir(): 0 dir was successfully created positive dir already exists negative failed to create dir for some reason Currently it still uses system(3) to create the dir where you cannot really check for an error code. This should be replaced by mkdir(2) in the future. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1620 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing rcsid warningsallen2000-04-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1559 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A little bit of tidying.goodale2000-03-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1421 17b73243-c579-4c4c-a9d2-2d5706c11dac
* char -> const charallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1345 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed tabs from files.goodale1999-11-24
| | | | | | | | | Added @version lines to various header files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various things pointed out by running Insure on the code.goodale1999-10-26
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1109 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added default return value for CCTK_mkdir (purify complaint)lanfer1999-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1095 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Only try and create each directory name onceallen1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1048 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fortran binding for CCTK_mkdirallen1999-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1021 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added headersallen1999-09-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@920 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undo using MKDIRFLAGS until it also works under NT.tradke1999-09-13
| | | | | | | Commented the code out and added a small description. git-svn-id: http://svn.cactuscode.org/flesh/trunk@900 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use also MKDIRFLAGS when creating directories.tradke1999-09-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@899 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed MKDIRFLAGS from directory creation command. Default will beallen1999-09-07
| | | | | | | to give a warning if the directory exists. git-svn-id: http://svn.cactuscode.org/flesh/trunk@882 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Routine to create new directories CCTK_mkdirallen1999-09-07
git-svn-id: http://svn.cactuscode.org/flesh/trunk@878 17b73243-c579-4c4c-a9d2-2d5706c11dac