Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/locale



Module Name:    src
Committed By:   riastradh
Date:           Sun Jan 26 06:17:02 UTC 2025

Modified Files:
        src/lib/libc/locale: wctomb.3

Log Message:
wctomb(3): Nix spurious reference to nonexistent parameter n.

The return value is bounded by MB_CUR_MAX, that's all.  From C99,
Sec. 7.20.7.3 `The wctomb function', paragraph 5, p. 323:

> In no case will the return value be greater than the value of the
> MB_CUR_MAX macro.

PR lib/59031: wctomb(3) references undefined variable n


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/locale/wctomb.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index