mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-06 01:16:17 +01:00
Use g_memmove() not memmove(). (Reported by Charles Levert
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com> * gstrfuncs.c (g_strchug): Use g_memmove() not memmove(). (Reported by Charles Levert <charles@comm.polymtl.ca>)
This commit is contained in:
parent
9b679abd55
commit
78fd20c910
@ -1,3 +1,8 @@
|
||||
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||
(Reported by Charles Levert <charles@comm.polymtl.ca>)
|
||||
|
||||
Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* Released GLib 1.2.3
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||
(Reported by Charles Levert <charles@comm.polymtl.ca>)
|
||||
|
||||
Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* Released GLib 1.2.3
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||
(Reported by Charles Levert <charles@comm.polymtl.ca>)
|
||||
|
||||
Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* Released GLib 1.2.3
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||
(Reported by Charles Levert <charles@comm.polymtl.ca>)
|
||||
|
||||
Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* Released GLib 1.2.3
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||
(Reported by Charles Levert <charles@comm.polymtl.ca>)
|
||||
|
||||
Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* Released GLib 1.2.3
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||
(Reported by Charles Levert <charles@comm.polymtl.ca>)
|
||||
|
||||
Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* Released GLib 1.2.3
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||
(Reported by Charles Levert <charles@comm.polymtl.ca>)
|
||||
|
||||
Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* Released GLib 1.2.3
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||
(Reported by Charles Levert <charles@comm.polymtl.ca>)
|
||||
|
||||
Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* Released GLib 1.2.3
|
||||
|
@ -1110,7 +1110,7 @@ g_strchug (gchar *string)
|
||||
for (start = string; *start && isspace (*start); start++)
|
||||
;
|
||||
|
||||
memmove(string, start, strlen(start) + 1);
|
||||
g_memmove(string, start, strlen(start) + 1);
|
||||
|
||||
return string;
|
||||
}
|
||||
|
@ -1110,7 +1110,7 @@ g_strchug (gchar *string)
|
||||
for (start = string; *start && isspace (*start); start++)
|
||||
;
|
||||
|
||||
memmove(string, start, strlen(start) + 1);
|
||||
g_memmove(string, start, strlen(start) + 1);
|
||||
|
||||
return string;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user