[GitHub] trafficserver pull request #921: TS-4776: Emulate the effect of O_DIRECTORY ...

2016-09-02 Thread maskit
Github user maskit closed the pull request at:

https://github.com/apache/trafficserver/pull/921


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] trafficserver pull request #921: TS-4776: Emulate the effect of O_DIRECTORY ...

2016-08-25 Thread maskit
GitHub user maskit opened a pull request:

https://github.com/apache/trafficserver/pull/921

TS-4776: Emulate the effect of O_DIRECTORY if it is not defined

Emulate the effect of `O_DIRECTORY` with `stat()` if it is not defined. 
According to man page of `open()`, it returns `ENOTDIR` if the specified pass 
was not a directory.

> ENOTDIR
> A component used as a directory in pathname is not, in fact, a directory, 
or O_DIRECTORY was specified and pathname was not a directory.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/maskit/trafficserver ts4776

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/trafficserver/pull/921.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #921


commit e3c127f608675ab07cdda414cac8a5c5367e5608
Author: Masakazu Kitajo 
Date:   2016-08-25T09:34:59Z

TS-4776: Emulate the effect of O_DIRECTORY if it is not defined




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---