Changeset 27bdfa5 in mainline for uspace/app/bdsh/cmds/modules/cat/cat.c
- Timestamp:
- 2011-03-30T17:34:59Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- 48d4231, 87b52c9, 98169ab, e353e85
- Parents:
- 51e5608 (diff), 917a8c8 (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
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cat/cat.c
r51e5608 r27bdfa5 164 164 { 165 165 int fd, bytes = 0, count = 0, reads = 0; 166 off64_t total = 0;167 166 char *buff = NULL; 168 167 int i; … … 174 173 return 1; 175 174 } 176 177 total = lseek(fd, 0, SEEK_END);178 lseek(fd, 0, SEEK_SET);179 175 180 176 if (NULL == (buff = (char *) malloc(blen + 1))) {
Note:
See TracChangeset
for help on using the changeset viewer.