Skip to content

Commit 9a276a0

Browse files
committed
[ci skip] comment
1 parent 5cc45f1 commit 9a276a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/phar/util.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,8 @@ static inline void phar_set_pharfp(phar_archive_data *phar, php_stream *fp)
709709
PHAR_G(cached_fp)[phar->phar_pos].fp = fp;
710710
}
711711

712-
/* initialize a phar_archive_data's read-only fp for existing phar data */
712+
/* Initialize a phar_archive_data's read-only fp for existing phar data.
713+
* The stream is owned by the `phar` object and must not be closed manually. */
713714
php_stream *phar_open_archive_fp(phar_archive_data *phar) /* {{{ */
714715
{
715716
php_stream *stream = phar_get_pharfp(phar);

0 commit comments

Comments
 (0)