diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-10-15 20:34:35 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-10-15 20:34:35 +0000 |
commit | a60d43d0d56ce9af76e00f9ff09e26b4b5b9a454 (patch) | |
tree | 2bd6df2ef297349cd4f2e59c55195dd047c345a4 | |
parent | 4e479867d8a18417048044a51ac9c45ebb0f57d1 (diff) | |
download | perl-URPM-a60d43d0d56ce9af76e00f9ff09e26b4b5b9a454.tar perl-URPM-a60d43d0d56ce9af76e00f9ff09e26b4b5b9a454.tar.gz perl-URPM-a60d43d0d56ce9af76e00f9ff09e26b4b5b9a454.tar.bz2 perl-URPM-a60d43d0d56ce9af76e00f9ff09e26b4b5b9a454.tar.xz perl-URPM-a60d43d0d56ce9af76e00f9ff09e26b4b5b9a454.zip |
rename 'f' to 'gzF' for less anonymous variable name..
-rw-r--r-- | URPM.xs | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -3443,7 +3443,7 @@ Urpm_parse_synthesis__XS(urpm, filename, ...) char *p, *eol; int buff_len; struct s_Package pkg; - gzFile f; + gzFile gzF; int start_id = 1 + av_len(depslist); SV *callback = NULL; @@ -3460,12 +3460,12 @@ Urpm_parse_synthesis__XS(urpm, filename, ...) } PUTBACK; - if ((f = gzopen(filename, "rb")) != NULL) { + if ((gzF = gzopen(filename, "rb")) != NULL) { memset(&pkg, 0, sizeof(struct s_Package)); buff[sizeof(buff)-1] = 0; p = buff; int ok = 1; - while ((buff_len = gzread(f, p, sizeof(buff)-1-(p-buff))) >= 0 && + while ((buff_len = gzread(gzF, p, sizeof(buff)-1-(p-buff))) >= 0 && (buff_len += p-buff)) { buff[buff_len] = 0; p = buff; @@ -3481,7 +3481,7 @@ Urpm_parse_synthesis__XS(urpm, filename, ...) ok = 0; break; } - if (gzeof(f)) { + if (gzeof(gzF)) { if (!parse_line(depslist, provides, obsoletes, &pkg, p, urpm, callback)) ok = 0; break; } else { @@ -3491,7 +3491,7 @@ Urpm_parse_synthesis__XS(urpm, filename, ...) p = &buff[buff_len-(p-buff)]; } } - if (gzclose(f) != 0) ok = 0; + if (gzclose(gzF) != 0) ok = 0; SPAGAIN; if (ok) { XPUSHs(sv_2mortal(newSViv(start_id))); |