FILE_FLAG_POSIX_SEMANTICS 的作用是什么?
我知道 FILE_FLAG_POSIX_SEMANTICS
允许文件名区分大小写,但事实上它没有被命名为 FILE_FLAG_CASE_SENSITIVE ,这让我认为它的作用可能不止于此。
它还有其他作用吗,还是我分析得太深入了?
I'm aware that FILE_FLAG_POSIX_SEMANTICS
allows for case sensitivity in file names, but the fact that it wasn't named FILE_FLAG_CASE_SENSITIVE
makes me think it might be doing more than that.
Does it do anything else, or am I analyzing this too deeply?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,它只区分大小写。我怀疑他们最初这样命名是因为他们和我们其他人一样不确定支持 POSIX 语义是否可能涉及除区分大小写之外的一些东西。这样,如果结果证明他们需要做更多的事情,他们只需修复 POSIX 语义实现中的错误,而不需要对规范进行根本性的更改。
As far as I know, it only gives case sensitivity. I suspect they originally named it that way because they were as uncertain as the rest of us whether supporting POSIX semantics might involve something more than case sensitivity. This way if it turned out they needed to do more, they could just fix the bug in their implementation of POSIX semantics rather than requiring a fundamental change in the specification.