| 268 | */ |
| 269 | |
| 270 | OBJECT * path_tmpfile( void ) |
| 271 | { |
| 272 | OBJECT * result; |
| 273 | OBJECT * tmpnam; |
| 274 | |
| 275 | string file_path[ 1 ]; |
| 276 | string_copy( file_path, path_tmpdir()->value ); |
| 277 | string_push_back( file_path, PATH_DELIM ); |
| 278 | tmpnam = path_tmpnam(); |
| 279 | string_append( file_path, object_str( tmpnam ) ); |
| 280 | object_free( tmpnam ); |
| 281 | result = object_new( file_path->value ); |
| 282 | string_free( file_path ); |
| 283 | |
| 284 | return result; |
| 285 | } |
no test coverage detected