diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2001-06-05 13:12:10 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2001-06-05 13:12:10 +0000 |
commit | 25c3a3a39d7aebdce95825e6af2ad8c62905b7cc (patch) | |
tree | 4d8f1ff9644c880e3b7a63a361a0db2280d8058f /main/php_open_temporary_file.c | |
parent | 4efe6f7e6b53496fb1c4f6990b3ad0771bd9be67 (diff) | |
download | php-git-25c3a3a39d7aebdce95825e6af2ad8c62905b7cc.tar.gz |
vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
Diffstat (limited to 'main/php_open_temporary_file.c')
-rw-r--r-- | main/php_open_temporary_file.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/main/php_open_temporary_file.c b/main/php_open_temporary_file.c index 6ebcb2ed0f..9cce838814 100644 --- a/main/php_open_temporary_file.c +++ b/main/php_open_temporary_file.c @@ -50,7 +50,7 @@ #define P_tmpdir "" #endif -/* {{{ php_open_temporary_file */ +/* {{{ php_do_open_temporary_file */ /* Loosely based on a tempnam() implementation by UCLA */ @@ -139,8 +139,11 @@ static FILE *php_do_open_temporary_file(char *path, const char *pfx, char **open } return fp; } +/* }}} */ -/* Unlike tempnam(), the supplied dir argument takes precedence +/* {{{ php_open_temporary_file + * + * Unlike tempnam(), the supplied dir argument takes precedence * over the TMPDIR environment variable * This function should do its best to return a file pointer to a newly created * unique file, on every platform. @@ -189,3 +192,12 @@ PHPAPI FILE *php_open_temporary_file(const char *dir, const char *pfx, char **op return NULL; } +/* }}} */ + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim: sw=4 ts=4 tw=78 fdm=marker + */ |