Changeset 27bdfa5 in mainline for uspace/app


Ignore:
Timestamp:
2011-03-30T17:34:59Z (15 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
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.
Message:

Merge mainline changes

Location:
uspace/app
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/cat/cat.c

    r51e5608 r27bdfa5  
    164164{
    165165        int fd, bytes = 0, count = 0, reads = 0;
    166         off64_t total = 0;
    167166        char *buff = NULL;
    168167        int i;
     
    174173                return 1;
    175174        }
    176 
    177         total = lseek(fd, 0, SEEK_END);
    178         lseek(fd, 0, SEEK_SET);
    179175
    180176        if (NULL == (buff = (char *) malloc(blen + 1))) {
  • uspace/app/sbi/src/run_expr.c

    r51e5608 r27bdfa5  
    25292529        if (rc1 == EOK)
    25302530                rc2 = os_str_get_char(string->value, elem_index, &cval);
     2531        else
     2532                rc2 = EOK;
    25312533
    25322534        if (rc1 != EOK || rc2 != EOK) {
  • uspace/app/tester/fault/fault2.c

    r51e5608 r27bdfa5  
    2929
    3030#include "../tester.h"
     31#include <stdio.h>
    3132
    3233typedef int __attribute__((may_alias)) aliasing_int;
     
    3839       
    3940        var1 = *((aliasing_int *) (((char *) (&var)) + 1));
     41        printf("Read %d\n", var1);
    4042       
    4143        return "Survived unaligned read";
  • uspace/app/trace/trace.c

    r51e5608 r27bdfa5  
    872872static display_mask_t parse_display_mask(const char *text)
    873873{
    874         display_mask_t dm;
     874        display_mask_t dm = 0;
    875875        const char *c = text;
    876876       
Note: See TracChangeset for help on using the changeset viewer.