Subversion Repositories HelenOS

Rev

Rev 3815 | Rev 4496 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3815 Rev 4264
Line 214... Line 214...
214
        return CMD_FAILURE;
214
        return CMD_FAILURE;
215
    }
215
    }
216
 
216
 
217
    i = optind;
217
    i = optind;
218
    while (NULL != argv[i]) {
218
    while (NULL != argv[i]) {
219
        len = strlen(argv[i]) + 2;
219
        len = str_size(argv[i]) + 2;
220
        buff = (char *) realloc(buff, len);
220
        buff = (char *) realloc(buff, len);
221
        if (buff == NULL) {
221
        if (buff == NULL) {
222
            printf("rm: out of memory\n");
222
            printf("rm: out of memory\n");
223
            ret = 1;
223
            ret = 1;
224
            break;
224
            break;