git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3775
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2005-05-27 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * device/lib/_strncpy.c: fixed the fix
+
2005-05-26 Raphael Neider <rneider AT web.de>
* src/pic16/glue.c (pic16_printIvalChar): fixed _constant_ string
2005-05-26 Raphael Neider <rneider AT web.de>
* src/pic16/glue.c (pic16_printIvalChar): fixed _constant_ string
* src/pic16/main.c (_process_pragma): added sanity checks
for stack position and size, emit warnings when appropriate
* src/pic16/main.c (_process_pragma): added sanity checks
for stack position and size, emit warnings when appropriate
-2005-05-21 Maarten Brock <sourceforge.brock AT dse.nl>
+2005-05-26 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_strncpy.c: fixed not filling with \0
* device/lib/_strncpy.c: fixed not filling with \0
{
register char * d1 = d;
{
register char * d1 = d;
+ while ( n && *s )
+ {
+ n-- ;