| 276 | */ |
| 277 | |
| 278 | OBJECT * path_tmpfile( void ) |
| 279 | { |
| 280 | OBJECT * result; |
| 281 | OBJECT * tmpnam; |
| 282 | |
| 283 | string file_path[ 1 ]; |
| 284 | string_copy( file_path, path_tmpdir()->value ); |
| 285 | string_push_back( file_path, PATH_DELIM ); |
| 286 | tmpnam = path_tmpnam(); |
| 287 | string_append( file_path, object_str( tmpnam ) ); |
| 288 | object_free( tmpnam ); |
| 289 | result = object_new( file_path->value ); |
| 290 | string_free( file_path ); |
| 291 | |
| 292 | return result; |
| 293 | } |
| 294 | |
| 295 | |
| 296 | /* |
no test coverage detected