VirtualBox

Changeset 1516 in kBuild


Ignore:
Timestamp:
Apr 9, 2008 12:34:55 PM (17 years ago)
Author:
bird
Message:

Solaris mount points *may* return ENOSYS if prodded with mkdir() (nfs and zfs, but not ufs for whatever reason).

File:
1 edited

Legend:

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

    r1327 r1516  
    234234                        (void)umask(oumask);
    235235                if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
    236                         if (errno == EEXIST || errno == EISDIR) {
     236                        if (errno == EEXIST || errno == EISDIR || errno == ENOSYS /* (solaris crap) */) {
    237237                                if (stat(path, &sb) < 0) {
    238238                                        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