VirtualBox

Changeset 2352 in kBuild


Ignore:
Timestamp:
Jul 14, 2009 3:27:13 PM (16 years ago)
Author:
bird
Message:

mkdir.c: More workarounds for solaris mkdir/mount-point crap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/mkdir.c

    r2121 r2352  
    242242                        (void)umask(oumask);
    243243                if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
    244                         if (errno == EEXIST || errno == EISDIR || errno == ENOSYS /* (solaris crap) */) {
     244                        if (errno == EEXIST || errno == EISDIR || errno == ENOSYS  /* (solaris crap) */ || errno == EACCES /* (ditto) */) {
    245245                                if (stat(path, &sb) < 0) {
    246246                                        warn("%s", path);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette