Changeset 27bdfa5 in mainline for uspace/app
- Timestamp:
- 2011-03-30T17:34:59Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- 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. - Location:
- uspace/app
- Files:
-
- 4 edited
-
bdsh/cmds/modules/cat/cat.c (modified) (2 diffs)
-
sbi/src/run_expr.c (modified) (1 diff)
-
tester/fault/fault2.c (modified) (2 diffs)
-
trace/trace.c (modified) (1 diff)
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))) { -
uspace/app/sbi/src/run_expr.c
r51e5608 r27bdfa5 2529 2529 if (rc1 == EOK) 2530 2530 rc2 = os_str_get_char(string->value, elem_index, &cval); 2531 else 2532 rc2 = EOK; 2531 2533 2532 2534 if (rc1 != EOK || rc2 != EOK) { -
uspace/app/tester/fault/fault2.c
r51e5608 r27bdfa5 29 29 30 30 #include "../tester.h" 31 #include <stdio.h> 31 32 32 33 typedef int __attribute__((may_alias)) aliasing_int; … … 38 39 39 40 var1 = *((aliasing_int *) (((char *) (&var)) + 1)); 41 printf("Read %d\n", var1); 40 42 41 43 return "Survived unaligned read"; -
uspace/app/trace/trace.c
r51e5608 r27bdfa5 872 872 static display_mask_t parse_display_mask(const char *text) 873 873 { 874 display_mask_t dm ;874 display_mask_t dm = 0; 875 875 const char *c = text; 876 876
Note:
See TracChangeset
for help on using the changeset viewer.
