Changeset 6eb2e96 in mainline for uspace/srv/fs/tmpfs/tmpfs_ops.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, topic/simplify-dev-export
Children:
3cc6a52
Parents:
f4b1535
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    rf4b1535 r6eb2e96  
    326326                return ENOMEM;
    327327        }
    328         strcpy(namep->name, nm);
     328        str_cpy(namep->name, size + 1, nm);
    329329        namep->parent = parentp;
    330330       
Note: See TracChangeset for help on using the changeset viewer.