summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2012-08-25 15:01:39 -0700
committerBrian Behlendorf <[email protected]>2012-08-26 13:55:45 -0700
commitcd38ac58a36e51cb3d627da57bfb5246e70f276d (patch)
tree72708ba0789558062a46eaf6b2b86dc196ad4e15 /include
parentc90ea65511b93027dcf7b370457fcbda14103e19 (diff)
rmdir(2) should return ENOTEMPTY
Under Solaris the behavior for rmdir(2) is to return EEXIST when a directory still contains entries. However, on Linux ENOTEMPTY is the expected return value with EEXIST being technically allowed. According to rmdir(2): ENOTEMPTY pathname contains entries other than . and .. ; or, pathname has .. as its final component. POSIX.1-2001 also allows EEXIST for this condition. Signed-off-by: Brian Behlendorf <[email protected]> Closes #895
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions