summaryrefslogtreecommitdiff
path: root/src/util/Misc.c
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-04-28 14:56:41 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-04-28 14:56:41 +0000
commit95ddf6ca8d39a2c205c809256cabd4f9960b1e13 (patch)
treedf2b9b9061adc9e09ea5c128b764b6d42775098d /src/util/Misc.c
parent7010d2f26eb69fd2bed2cb1d51d0aa29916cc2fe (diff)
Check with stat(2) if the directory to be created already exists.
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
Diffstat (limited to 'src/util/Misc.c')
0 files changed, 0 insertions, 0 deletions