diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-07-02 10:36:46 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-08-05 16:41:42 +0000 |
commit | a3c71b71e2033b92c74e54fc316ea42df2344ed2 (patch) | |
tree | 70cebe91a82f7652b96b18ce61a47f7480cb29f8 /src/corelib/configure.json | |
parent | 6c3a3d498a8797c481a394418fff8f7bf1886c61 (diff) |
QFileSystemEngine::setFileTime/Unix: remove the fallback to futimesat
The use as in the code:
futimesat(fd, NULL, &tv)
is not documented to work. The file descriptor should be a directory's
one, not an open file (though the Linux source code seems to handle that
case). This call was done as a fallback to futimes, so it's very
unlikely a system would have futimesat and not futimes.
Both the Linux and the FreeBSD man pages say it's deprecated anyway.
Change-Id: I8d96dea9955d4c749b99fffd14cd94068dc7668a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/corelib/configure.json')
-rw-r--r-- | src/corelib/configure.json | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json index 61fc2e16c9..c8fede2b8f 100644 --- a/src/corelib/configure.json +++ b/src/corelib/configure.json @@ -279,11 +279,6 @@ "type": "compile", "test": "unix/futimes" }, - "futimesat": { - "label": "futimesat()", - "type": "compile", - "test": "unix/futimesat" - }, "getauxval": { "label": "getauxval()", "type": "compile", @@ -454,11 +449,6 @@ "condition": "!config.win32 && !features.futimens && tests.futimes", "output": [ "privateFeature" ] }, - "futimesat": { - "label": "futimesat()", - "condition": "!config.win32 && !features.futimens && !features.futimes && tests.futimesat", - "output": [ "privateFeature" ] - }, "getauxval": { "label": "getauxval()", "condition": "config.linux && tests.getauxval", |