Changeset 132ab5d1 in mainline for uspace/app/gunzip/gunzip.c
- Timestamp:
- 2018-01-30T03:20:45Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a6cc679
- Parents:
- 8bfb163 (diff), 6a5d05b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/app/gunzip/gunzip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/gunzip/gunzip.c
r8bfb163 r132ab5d1 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.
