This repository was archived by the owner on Sep 28, 2023. It is now read-only.
Repository navigation
Commit 1bcd0fc
committed
Use snprintf instead of fcvt()
fcvt is deprecated (from gcvt(3)):
Marked as LEGACY in POSIX.1-2001. POSIX.1-2008 removes the
specification of gcvt(), recommending the use of sprintf(3)
instead (though snprintf(3) may be preferable)
and does not exist on e.g. FreeBSD.1 parent 75e9dc0 commit 1bcd0fc
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
755 | 756 | | |
756 | 757 | | |
757 | 758 | | |
| 759 | + | |
758 | 760 | | |
759 | 761 | | |
760 | 762 | | |
761 | | - | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
762 | 766 | | |
763 | 767 | | |
764 | 768 | | |
| |||
0 commit comments