Commit graph

7 commits

Author SHA1 Message Date
Enno Rehling
06e15c24d5 - fixing snprintf calls gone wild 2007-12-17 23:56:53 +00:00
Enno Rehling
a1865ee2fa - Undo modifications to strlcpy from rev 3631
- Many more warnings when buffers too small.
2007-09-01 23:40:58 +00:00
Enno Rehling
a33d59b21a Unicode WIP:
This code did a full run of turn 531, with all reports.

- replace all calls to strlcat with strlcpy
- change strlcpy to return number of bytes written, not input bytes
- fix some buffer sizes
- write UTF8 BOM into all output files that could use them.
2007-08-21 07:04:44 +00:00
Enno Rehling
e119a29142 inline optimizations for string functions
a little more speed for locale_string (less strcmp)
2006-02-04 23:41:23 +00:00
Enno Rehling
6b1d86e5ae Im Falle von !NDEBUG (Debug builds) wird strlcpy nicht inline gemacht (gdb
stellt sich wieder mal Kacke an)
2005-07-04 21:38:28 +00:00
Enno Rehling
8656d93555 bugfixes to make things compile on linux 2005-05-06 23:25:08 +00:00
Enno Rehling
2e9e7f1e23 Implemented BSD string.h extensions (strlcat, strlcpy).
Big items in astral space crumble (disabled by define).
Chaossog verursacht 3/4 Schaden beim durchgehen (ungetestet).
Überladeschutz bei Schiffen abgeschaltet.
2005-05-06 22:30:19 +00:00