Commit Graph

11 Commits

Author SHA1 Message Date
Asanka Herath
7479c855a0 Windows: Don't attempt to copy a string to a zero length buffer
It won't cause harm since strcpy_s() deals with zero length buffers,
but it invokes the invalid parameter handler, which can disrupt
execution on debug builds.
2010-09-14 08:03:33 -04:00
Asanka Herath
d00f9984a5 Make roken build on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-24 21:42:02 -08:00
Love Hörnquist Åstrand
0d31d3d686 drop rcsid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:30:37 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
709aa58c74 define ROKEN_LIB_FUNCTION on all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:29:18 +00:00
Johan Danielsson
75c2c8ea52 make the logic simpler, and handle dst_sz == 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 09:42:08 +00:00
Johan Danielsson
3ca5f8150f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Assar Westerlund
8965505116 update name and prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6980 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 19:34:00 +00:00
Assar Westerlund
b38c6117cc (strcpy_truncate): change return value to be the length of `src'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6974 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 19:16:46 +00:00
Johan Danielsson
a5f54865d4 merge strcpy_truncate branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Assar Westerlund
7fe1fc78eb new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4227 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-22 14:11:45 +00:00