| 3360 | } |
| 3361 | |
| 3362 | void acl_vstream_set_path(ACL_VSTREAM *fp, const char *path) |
| 3363 | { |
| 3364 | if (fp == NULL || path == NULL) { |
| 3365 | acl_msg_error("%s(%d), %s: fp %s, path %s", __FILE__, __LINE__, |
| 3366 | __FUNCTION__, fp ? "not null" : "null", |
| 3367 | path ? "not null" : "null"); |
| 3368 | return; |
| 3369 | } |
| 3370 | |
| 3371 | if (fp->path == NULL) { |
| 3372 | fp->path = acl_mystrdup(path); |
| 3373 | } else { |
| 3374 | acl_myfree(fp->path); |
| 3375 | fp->path = acl_mystrdup(path); |
| 3376 | } |
| 3377 | } |
| 3378 | |
| 3379 | void acl_vstream_call_close_handles(ACL_VSTREAM *fp) |
| 3380 | { |
no test coverage detected
searching dependent graphs…