Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/coreutils/libcoreutils/getopt_mk_fifo_nod.c

    r2725 r3621  
    3434    opt = getopt32(argv, "m:" IF_SELINUX("Z:"), &smode IF_SELINUX(,&scontext));
    3535    if (opt & 1) {
    36         if (bb_parse_mode(smode, &mode))
     36        mode = bb_parse_mode(smode, mode);
     37        if (mode != (mode_t)-1) /* if mode is valid */
     38            /* make future mknod/mkfifo set mode bits exactly */
    3739            umask(0);
    3840    }
Note: See TracChangeset for help on using the changeset viewer.