shithub: rgbds

Download patch

ref: eadaa4777082787e0718c54048bac6fc94301303
parent: b5e7855afd843ff319c30f08245b59fc57039ec4
author: Anthony J. Bentley <[email protected]>
date: Tue Mar 3 18:15:05 EST 2015

Sync with upstream.

--- a/src/extern/strlcat.c
+++ b/src/extern/strlcat.c
@@ -24,7 +24,7 @@
  * full size of dst, not space left).  At most dsize-1 characters
  * will be copied.  Always NUL terminates (unless dsize <= strlen(dst)).
  * Returns strlen(src) + MIN(dsize, strlen(initial dst)).
- * If retval >= siz, truncation occurred.
+ * If retval >= dsize, truncation occurred.
  */
 size_t
 rgbds_strlcat(char *dst, const char *src, size_t dsize)