summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qbytearray.cpp
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@nokia.com>2010-03-02 12:49:52 (GMT)
committerZeno Albisser <zeno.albisser@nokia.com>2010-03-02 13:29:46 (GMT)
commit298aee0577a45dadf8e30b5bea05224f9e3aa52d (patch)
tree60e5c086dc1a23cf7ef95a71a7f165e6c78fd688 /src/corelib/tools/qbytearray.cpp
parent8b19712189aa2c7e83030b59cd4b4729e5e113cd (diff)
downloadQt-298aee0577a45dadf8e30b5bea05224f9e3aa52d.zip
Qt-298aee0577a45dadf8e30b5bea05224f9e3aa52d.tar.gz
Qt-298aee0577a45dadf8e30b5bea05224f9e3aa52d.tar.bz2
Added comment about usage of strncpy_s function in VC++ > 14.00
Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/corelib/tools/qbytearray.cpp')
-rw-r--r--src/corelib/tools/qbytearray.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/tools/qbytearray.cpp b/src/corelib/tools/qbytearray.cpp
index 3324796..c5f70b0 100644
--- a/src/corelib/tools/qbytearray.cpp
+++ b/src/corelib/tools/qbytearray.cpp
@@ -154,6 +154,10 @@ char *qstrcpy(char *dst, const char *src)
This function assumes that \a dst is at least \a len characters
long.
+ \note When compiling with Visual C++ compiler version 14.00
+ (Visual C++ 2005) or later, internally the function strncpy_s
+ will be used.
+
\sa qstrcpy()
*/