Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (6 years ago)
Author:
bruno
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/libbb/make_directory.c

    r2725 r3232  
    108108            if ((mode != -1) && (chmod(path, mode) < 0)) {
    109109                fail_msg = "set permissions of";
     110                if (flags & FILEUTILS_IGNORE_CHMOD_ERR) {
     111                    flags = 0;
     112                    goto print_err;
     113                }
    110114                break;
    111115            }
     
    117121    } /* while (1) */
    118122
     123    flags = -1;
     124 print_err:
    119125    bb_perror_msg("can't %s directory '%s'", fail_msg, path);
    120     flags = -1;
    121126    goto ret;
    122127 ret0:
Note: See TracChangeset for help on using the changeset viewer.