Changeset 7afb4a5 in mainline for uspace/srv


Ignore:
Timestamp:
2009-04-09T21:28:50Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
095003a8
Parents:
92fd52d7
Message:

Nuke strchr() and strrchr().

Location:
uspace/srv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_dentry.c

    r92fd52d7 r7afb4a5  
    6767        if (!(rc = stricmp(name, component)))
    6868                return rc;
    69         if (!strchr(name, '.')) {
     69        if (!str_chr(name, '.')) {
    7070                /*
    7171                 * There is no '.' in the name, so we know that there is enough
  • uspace/srv/loader/main.c

    r92fd52d7 r7afb4a5  
    276276       
    277277        /* Set the task name. */
    278         cp = strrchr(pathname, '/');
     278        cp = str_rchr(pathname, '/');
    279279        cp = (cp == NULL) ? pathname : (cp + 1);
    280280        task_set_name(cp);
Note: See TracChangeset for help on using the changeset viewer.