mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
fec9828ac6
2000-07-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gutils.c, glib.h: Mark the functions g_basename and g_dirname deprecated. They will issue an warning once, when compiled with G_ENABLE_DEBUG, but continue to work as before. Instead the functions g_path_get_basename and g_path_get_dirname should be used, which BOTH return newly allocated memory, that has to freed by g_free. The new g_path_get_basename now strips trailing slashes from the path. This fixes #5097. For discussion see http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html * gwin32.c, testglib.c, tests/dirname-test.c: Use the new functions instead of the old ones. * gmodule/libgplugin_a.c, gmodule/testgmodule.c: Use g_path_get_basename instead of the deprecated g_basename. |
||
---|---|---|
.. | ||
.cvsignore | ||
array-test.c | ||
date-test.c | ||
dirname-test.c | ||
hash-test.c | ||
list-test.c | ||
Makefile.am | ||
makefile.mingw.in | ||
makefile.msc.in | ||
node-test.c | ||
queue-test.c | ||
rand-test.c | ||
relation-test.c | ||
slist-test.c | ||
strfunc-test.c | ||
string-test.c | ||
testgdate.c | ||
testgdateparser.c | ||
testglib.c | ||
thread-test.c | ||
threadpool-test.c | ||
tree-test.c | ||
type-test.c |