Changeset 6eb2e96 in mainline for uspace/app/bdsh/cmds/modules/ls/ls.c


Ignore:
Timestamp:
2009-04-10T07:53:54Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
Children:
3cc6a52
Parents:
f4b1535
Message:

str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().

File:
1 edited

Legend:

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

    rf4b1535 r6eb2e96  
    183183                getcwd(buff, PATH_MAX);
    184184        else
    185                 str_ncpy(buff, argv[1], PATH_MAX);
     185                str_cpy(buff, PATH_MAX, argv[1]);
    186186
    187187        scope = ls_scope(buff);
Note: See TracChangeset for help on using the changeset viewer.