[BACK]Return to read.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/read.c between version 1.148 and 1.149

version 1.148, 2016/01/08 02:53:13 version 1.149, 2016/07/10 13:34:30
Line 798  mparse_open(struct mparse *curp, const char *file)
Line 798  mparse_open(struct mparse *curp, const char *file)
   
         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;

Legend:
Removed from v.1.148  
changed lines
  Added in v.1.149

CVSweb