Changeset d5c1051 in mainline for uspace/app/gunzip/gunzip.c
- Timestamp:
- 2017-12-20T22:25:34Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39b54fe
- Parents:
- 8610c2c
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:22:29)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:25:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/gunzip/gunzip.c
r8610c2c rd5c1051 58 58 } 59 59 60 rc = fseek(f, 0, SEEK_END); 61 if (rc != 0) { 60 if (fseek(f, 0, SEEK_END) < 0) { 62 61 printf("Error determining size of '%s'\n", argv[1]); 63 62 fclose(f); … … 72 71 } 73 72 74 rc = fseek(f, 0, SEEK_SET); 75 if (rc != 0) { 73 if (fseek(f, 0, SEEK_SET) < 0) { 76 74 printf ("Error rewinding '%s'\n", argv[1]); 77 75 fclose(f);
Note:
See TracChangeset
for help on using the changeset viewer.