Commits

Christian Heimes committed eb1f406

Windows doesn't have ENOTSUP

Comments (0)

Files changed (2)

    Otherwise, 0 shall be returned and errno set to indicate an error. The
    value shall not be modified if a function signals an error.
 
-   ENOTSUP feature is not supported
+   ENOENT feature is not supported
    EINVAL  value is invalid and outside the allowed range
 
    As of now three features are supported:
         *value = (long)resetDTDFlag;
         return 1;
     default:
-        errno = ENOTSUP;
+        errno = ENOENT;
         return 0;
     }
 }
             return 0;
         }
     default:
-        errno = ENOTSUP;
+        errno = ENOENT;
         return 0;
     }
 }
         *value = (long)defaultResetDTDFlag;
         return 1;
     default:
-        errno = ENOTSUP;
+        errno = ENOENT;
         return 0;
     }
 }
             return 0;
         }
     default:
-        errno = ENOTSUP;
+        errno = ENOENT;
         return 0;
     }
 }