summaryrefslogtreecommitdiffstats
path: root/debian/patches/102999.patch
blob: 2c0e3ef321a447e5e7f130f8e422b8ce12f487e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: include/iprt/string.h
===================================================================
--- a/include/iprt/string.h	(revision 102998)
+++ b/include/iprt/string.h	(revision 102999)
@@ -249,7 +249,7 @@
  * Copy string and NULL-terminate output buffer.
  *
  * This macro should mostly be used in Linux kernel code. This is
- * the replacement for deprecated strlcpy. It was deprecated since 3.16.60
+ * the replacement for deprecated strlcpy. It was deprecated since 4.3.0
  * when strscpy was introduced as an alternative. Finally, strlcpy was
  * completely removed from kernel code in 6.8.0.
  *
@@ -264,7 +264,7 @@
       ssize_t _ret; \
       _ret = strscpy((a_pDst), (a_pSrc), (a_cbDst)); \
     }
-# else /* < 3.16.60 */
+# else /* < 4.3.0 */
 #  define RT_STRSCPY(a_pDst, a_pSrc, a_cbDst)   strlcpy((a_pDst), (a_pSrc), (a_cbDst))
 # endif
 #else  /* !RT_OS_LINUX && !__KERNEL__ */