Return to read.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.148, 2016/01/08 02:53:13 | version 1.149, 2016/07/10 13:34:30 | ||
---|---|---|---|
|
|
||
if ( ! curp->gzip) { | if ( ! curp->gzip) { | ||
mandoc_asprintf(&cp, "%s.gz", file); | mandoc_asprintf(&cp, "%s.gz", file); | ||
fd = open(file, O_RDONLY); | fd = open(cp, O_RDONLY); | ||
free(cp); | free(cp); | ||
if (fd != -1) { | if (fd != -1) { | ||
curp->gzip = 1; | curp->gzip = 1; |