Fix a use of strcat that wasn't replaced with g_stpcpy in the original

Thu Jun 14 14:09:46 2001  Owen Taylor  <otaylor@redhat.com>

	* gstrfuncs.c (g_strconcat): Fix a use of strcat that
	wasn't replaced with g_stpcpy in the original
	stpcpy-for-efficiency patch.
This commit is contained in:
Owen Taylor 2001-06-15 18:28:06 +00:00 committed by Owen Taylor
parent 81d04565b4
commit efc2ec72b5
10 changed files with 50 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Thu Jun 14 14:09:46 2001 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strconcat): Fix a use of strcat that
wasn't replaced with g_stpcpy in the original
stpcpy-for-efficiency patch.
2001-06-11 Havoc Pennington <hp@redhat.com>
* NEWS: updated

View File

@ -1,3 +1,9 @@
Thu Jun 14 14:09:46 2001 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strconcat): Fix a use of strcat that
wasn't replaced with g_stpcpy in the original
stpcpy-for-efficiency patch.
2001-06-11 Havoc Pennington <hp@redhat.com>
* NEWS: updated

View File

@ -1,3 +1,9 @@
Thu Jun 14 14:09:46 2001 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strconcat): Fix a use of strcat that
wasn't replaced with g_stpcpy in the original
stpcpy-for-efficiency patch.
2001-06-11 Havoc Pennington <hp@redhat.com>
* NEWS: updated

View File

@ -1,3 +1,9 @@
Thu Jun 14 14:09:46 2001 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strconcat): Fix a use of strcat that
wasn't replaced with g_stpcpy in the original
stpcpy-for-efficiency patch.
2001-06-11 Havoc Pennington <hp@redhat.com>
* NEWS: updated

View File

@ -1,3 +1,9 @@
Thu Jun 14 14:09:46 2001 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strconcat): Fix a use of strcat that
wasn't replaced with g_stpcpy in the original
stpcpy-for-efficiency patch.
2001-06-11 Havoc Pennington <hp@redhat.com>
* NEWS: updated

View File

@ -1,3 +1,9 @@
Thu Jun 14 14:09:46 2001 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strconcat): Fix a use of strcat that
wasn't replaced with g_stpcpy in the original
stpcpy-for-efficiency patch.
2001-06-11 Havoc Pennington <hp@redhat.com>
* NEWS: updated

View File

@ -1,3 +1,9 @@
Thu Jun 14 14:09:46 2001 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strconcat): Fix a use of strcat that
wasn't replaced with g_stpcpy in the original
stpcpy-for-efficiency patch.
2001-06-11 Havoc Pennington <hp@redhat.com>
* NEWS: updated

View File

@ -1,3 +1,9 @@
Thu Jun 14 14:09:46 2001 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strconcat): Fix a use of strcat that
wasn't replaced with g_stpcpy in the original
stpcpy-for-efficiency patch.
2001-06-11 Havoc Pennington <hp@redhat.com>
* NEWS: updated

View File

@ -214,7 +214,7 @@ g_strconcat (const gchar *string1, ...)
s = va_arg (args, gchar*);
while (s)
{
strcat (concat, s);
ptr = g_stpcpy (ptr, s);
s = va_arg (args, gchar*);
}
va_end (args);

View File

@ -214,7 +214,7 @@ g_strconcat (const gchar *string1, ...)
s = va_arg (args, gchar*);
while (s)
{
strcat (concat, s);
ptr = g_stpcpy (ptr, s);
s = va_arg (args, gchar*);
}
va_end (args);