Changeset 94d484a in mainline for uspace/app/sbi/src/strtab.c


Ignore:
Timestamp:
2010-03-07T17:45:33Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d0febca
Parents:
fa36f29
Message:

Update SBI to rev. 90.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/strtab.c

    rfa36f29 r94d484a  
    3737#include <string.h>
    3838#include "mytypes.h"
    39 #include "compat.h"
     39#include "os/os.h"
    4040#include "list.h"
    4141
     
    5959        while (node != NULL) {
    6060                ++sid;
    61                 if (strcmp(str, list_node_data(node, char *)) == 0)
     61                if (os_str_cmp(str, list_node_data(node, char *)) == 0)
    6262                        return sid;
    6363
     
    6666
    6767        ++sid;
    68         list_append(&str_list, strdup(str));
     68        list_append(&str_list, os_str_dup(str));
    6969
    7070        return sid;
     
    8585        if (node == NULL) {
    8686                printf("Internal error: Invalid SID %d", sid);
    87                 exit(1);
     87                abort();
    8888        }
    8989
Note: See TracChangeset for help on using the changeset viewer.