summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-06-15 18:28:06 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-06-15 18:28:06 +0000
commitefc2ec72b5061346ed325f5fa008f4e92759c750 (patch)
tree8d1a12945a1e5b565d4633c1b7a38cff87108500
parent81d04565b4f5410b34cb7a526c53caca05fb62fd (diff)
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.
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-06
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-126
-rw-r--r--ChangeLog.pre-2-26
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--glib/gstrfuncs.c2
-rw-r--r--gstrfuncs.c2
10 files changed, 50 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3444e6118..ed2ae30e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 3444e6118..ed2ae30e2 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -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
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 3444e6118..ed2ae30e2 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index 3444e6118..ed2ae30e2 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -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
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 3444e6118..ed2ae30e2 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -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
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 3444e6118..ed2ae30e2 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -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
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 3444e6118..ed2ae30e2 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -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
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 3444e6118..ed2ae30e2 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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
diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c
index dd7dc4520..066cdb3d7 100644
--- a/glib/gstrfuncs.c
+++ b/glib/gstrfuncs.c
@@ -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);
diff --git a/gstrfuncs.c b/gstrfuncs.c
index dd7dc4520..066cdb3d7 100644
--- a/gstrfuncs.c
+++ b/gstrfuncs.c
@@ -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);