Changeset 29b4888 in mainline for uspace/app/untar/main.c


Ignore:
Timestamp:
2013-12-03T07:50:53Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
53238ba
Parents:
ff042c0
Message:

Ok, mkdir returns EEXIST, not EEXISTS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/untar/main.c

    rff042c0 r29b4888  
    104104{
    105105        int rc = mkdir(header->filename, 0755);
    106         if (rc == EEXISTS) {
    107                 printf("Note: directory %s already exists.\n", header->filename);
     106        if ((rc == EEXIST) || (rc == EEXISTS)) {
     107                // printf("Note: directory %s already exists.\n", header->filename);
    108108                rc = EOK;
    109109        }
Note: See TracChangeset for help on using the changeset viewer.