mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 07:36:17 +01:00
Revert accidental commit
This commit is contained in:
parent
2dfedc6a1c
commit
643906d485
@ -1,4 +1,6 @@
|
||||
2006-06-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c: Revert accidental commit.
|
||||
|
||||
* glib/gmain.c (get_dispatch): Don't leak the
|
||||
dispatch struct. (#321886)
|
||||
|
@ -1,4 +1,6 @@
|
||||
2006-06-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c: Revert accidental commit.
|
||||
|
||||
* glib/gmain.c (get_dispatch): Don't leak the
|
||||
dispatch struct. (#321886)
|
||||
|
@ -30,7 +30,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define __G_STRFUNCS_C__
|
||||
#define _GNU_SOURCE /* For stpcpy */
|
||||
|
||||
#include <stdarg.h>
|
||||
@ -95,7 +94,6 @@ g_strdup (const gchar *str)
|
||||
else
|
||||
new_str = NULL;
|
||||
|
||||
g_mem_mark_type (new_str, G_MEM_TYPE_STRING, 0);
|
||||
return new_str;
|
||||
}
|
||||
|
||||
@ -131,7 +129,6 @@ g_strndup (const gchar *str,
|
||||
else
|
||||
new_str = NULL;
|
||||
|
||||
g_mem_mark_type (new_str, G_MEM_TYPE_STRING, 0);
|
||||
return new_str;
|
||||
}
|
||||
|
||||
@ -190,7 +187,6 @@ g_strdup_vprintf (const gchar *format,
|
||||
|
||||
g_vasprintf (&string, format, args);
|
||||
|
||||
g_mem_mark_type (string, G_MEM_TYPE_STRING, 0);
|
||||
return string;
|
||||
}
|
||||
|
||||
@ -359,7 +355,6 @@ g_ascii_strtod (const gchar *nptr,
|
||||
decimal_point[1] != 0)
|
||||
{
|
||||
p = nptr;
|
||||
|
||||
/* Skip leading space */
|
||||
while (g_ascii_isspace (*p))
|
||||
p++;
|
||||
@ -1590,8 +1585,7 @@ g_ascii_strdown (const gchar *str,
|
||||
result = g_strndup (str, len);
|
||||
for (s = result; *s; s++)
|
||||
*s = g_ascii_tolower (*s);
|
||||
|
||||
g_mem_mark_type (result, G_MEM_TYPE_STRING, 0);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -1623,7 +1617,6 @@ g_ascii_strup (const gchar *str,
|
||||
for (s = result; *s; s++)
|
||||
*s = g_ascii_toupper (*s);
|
||||
|
||||
g_mem_mark_type (result, G_MEM_TYPE_STRING, 0);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user