| ... | @@ -91,7 +91,7 @@ fn checkStrlcpy() !void { | ... | @@ -91,7 +91,7 @@ fn checkStrlcpy() !void { |
| 91 | fn checkStrlcpy_v2_38() !void { | 91 | fn checkStrlcpy_v2_38() !void { |
| 92 | var buf: [99]u8 = undefined; | 92 | var buf: [99]u8 = undefined; |
| 93 | const used = c_string.strlcpy(&buf, "strlcpy works!", buf.len); | 93 | const used = c_string.strlcpy(&buf, "strlcpy works!", buf.len); |
| 94 | assert(used == 15); | 94 | assert(used == 14); |
| 95 | } | 95 | } |
| 96 | | 96 | |
| 97 | // atexit is part of libc_nonshared, so ensure its linked in correctly | 97 | // atexit is part of libc_nonshared, so ensure its linked in correctly |