Subversion Repositories HelenOS

Rev

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

Rev 4341 Rev 4348
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;