Changeset ee02922 in mainline


Ignore:
Timestamp:
2008-11-28T09:53:26Z (15 years ago)
Author:
Tim Post <echo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3b10e07b
Parents:
2640b6c
Message:

cp: don't return CMD_FAILURE for zero length files

File:
1 edited

Legend:

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

    r2640b6c ree02922  
    193193                printf("%d bytes copied (buffer = %d)\n", ret, buffer);
    194194
    195         if (ret)
     195        if (ret <= 0)
    196196                return CMD_SUCCESS;
    197197        else
Note: See TracChangeset for help on using the changeset viewer.