mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
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:
parent
81d04565b4
commit
efc2ec72b5
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user