diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2022-10-31 22:57:24 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2022-11-09 14:22:29 +0200 |
commit | cb9d76169aefc95f4e8962dcbff98bedd63a3e50 (patch) | |
tree | b1494346351d9ec5a1a8c1724e83d221e9121ba2 /src/corelib/global/qconfig-bootstrapped.h | |
parent | ef935f6e37a24f52255e6696b85a0fa9aaa7361a (diff) |
QFileSystemEngine/Unix: remove futimes related code
- futimes isn't a standard system call[1]:
«
This system call is nonstandard. It was implemented from a specification
that was proposed for POSIX.1, but that specification was replaced by the
one for utimensat(2).
A similar system call exists on Solaris.
»
[1] https://man7.org/linux/man-pages/man2/futimesat.2.html
[2] https://pubs.opengroup.org/onlinepubs/9699919799/functions/futimens.html
- futimens is a standard system call[2], it's available on:
- Linux: https://man7.org/linux/man-pages/man2/futimesat.2.html
- FreeBSD: https://www.freebsd.org/cgi/man.cgi?query=futimens&sektion=2&n=1
- OpenBSD: https://man.openbsd.org/futimens.2
- QNX: https://www.qnx.com/developers/docs/7.1/#com.qnx.doc.neutrino.lib_ref/topic/f/futimens.html
So, remove futimes related code.
Change-Id: I58ac466f08161a88219e3a32eab98d168f065140
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qconfig-bootstrapped.h')
-rw-r--r-- | src/corelib/global/qconfig-bootstrapped.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/global/qconfig-bootstrapped.h b/src/corelib/global/qconfig-bootstrapped.h index ff5709f7af..78d622f5e9 100644 --- a/src/corelib/global/qconfig-bootstrapped.h +++ b/src/corelib/global/qconfig-bootstrapped.h @@ -63,7 +63,6 @@ #define QT_FEATURE_jalalicalendar -1 #define QT_FEATURE_journald -1 #define QT_FEATURE_futimens -1 -#define QT_FEATURE_futimes -1 #define QT_FEATURE_future -1 #define QT_FEATURE_itemmodel -1 #define QT_FEATURE_library -1 |