mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-23 22:16:16 +01:00
From Edward M. Lee <tailbert@yahoo.com>:
2001-03-13 Tor Lillqvist <tml@iki.fi> From Edward M. Lee <tailbert@yahoo.com>: * gdate.c (g_date_set_parse): add support for dates that in the form "Wed Mar 14 2001". Running testgdate on cygwin requires this. 2001-03-13 Tor Lillqvist <tml@iki.fi> From Edward M. Lee <tailbert@yahoo.com>: * gmodule-win32.c (_g_module_build_path): use (cygwin friendly) dir separator.
This commit is contained in:
parent
009942e1ac
commit
f6e325b217
@ -1,3 +1,10 @@
|
||||
2001-03-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
From Edward M. Lee <tailbert@yahoo.com>:
|
||||
|
||||
* gdate.c (g_date_set_parse): add support for dates that in the
|
||||
form "Wed Mar 14 2001". Running testgdate on cygwin requires this.
|
||||
|
||||
Fri Mar 9 18:01:43 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.[hc]: made config arg to g_scanner_new() const.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-03-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
From Edward M. Lee <tailbert@yahoo.com>:
|
||||
|
||||
* gdate.c (g_date_set_parse): add support for dates that in the
|
||||
form "Wed Mar 14 2001". Running testgdate on cygwin requires this.
|
||||
|
||||
Fri Mar 9 18:01:43 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.[hc]: made config arg to g_scanner_new() const.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-03-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
From Edward M. Lee <tailbert@yahoo.com>:
|
||||
|
||||
* gdate.c (g_date_set_parse): add support for dates that in the
|
||||
form "Wed Mar 14 2001". Running testgdate on cygwin requires this.
|
||||
|
||||
Fri Mar 9 18:01:43 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.[hc]: made config arg to g_scanner_new() const.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-03-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
From Edward M. Lee <tailbert@yahoo.com>:
|
||||
|
||||
* gdate.c (g_date_set_parse): add support for dates that in the
|
||||
form "Wed Mar 14 2001". Running testgdate on cygwin requires this.
|
||||
|
||||
Fri Mar 9 18:01:43 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.[hc]: made config arg to g_scanner_new() const.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-03-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
From Edward M. Lee <tailbert@yahoo.com>:
|
||||
|
||||
* gdate.c (g_date_set_parse): add support for dates that in the
|
||||
form "Wed Mar 14 2001". Running testgdate on cygwin requires this.
|
||||
|
||||
Fri Mar 9 18:01:43 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.[hc]: made config arg to g_scanner_new() const.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-03-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
From Edward M. Lee <tailbert@yahoo.com>:
|
||||
|
||||
* gdate.c (g_date_set_parse): add support for dates that in the
|
||||
form "Wed Mar 14 2001". Running testgdate on cygwin requires this.
|
||||
|
||||
Fri Mar 9 18:01:43 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.[hc]: made config arg to g_scanner_new() const.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-03-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
From Edward M. Lee <tailbert@yahoo.com>:
|
||||
|
||||
* gdate.c (g_date_set_parse): add support for dates that in the
|
||||
form "Wed Mar 14 2001". Running testgdate on cygwin requires this.
|
||||
|
||||
Fri Mar 9 18:01:43 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.[hc]: made config arg to g_scanner_new() const.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-03-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
From Edward M. Lee <tailbert@yahoo.com>:
|
||||
|
||||
* gdate.c (g_date_set_parse): add support for dates that in the
|
||||
form "Wed Mar 14 2001". Running testgdate on cygwin requires this.
|
||||
|
||||
Fri Mar 9 18:01:43 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.[hc]: made config arg to g_scanner_new() const.
|
||||
|
7
gdate.c
7
gdate.c
@ -749,6 +749,13 @@ g_date_set_parse (GDate *d,
|
||||
if (using_twodigit_years && y < 100)
|
||||
y = G_DATE_BAD_YEAR; /* avoids ambiguity */
|
||||
}
|
||||
else if (pt.num_ints == 2)
|
||||
{
|
||||
if (m == G_DATE_BAD_MONTH && pt.month != G_DATE_BAD_MONTH)
|
||||
{
|
||||
m = pt.month;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (pt.num_ints == 1)
|
||||
{
|
||||
|
@ -749,6 +749,13 @@ g_date_set_parse (GDate *d,
|
||||
if (using_twodigit_years && y < 100)
|
||||
y = G_DATE_BAD_YEAR; /* avoids ambiguity */
|
||||
}
|
||||
else if (pt.num_ints == 2)
|
||||
{
|
||||
if (m == G_DATE_BAD_MONTH && pt.month != G_DATE_BAD_MONTH)
|
||||
{
|
||||
m = pt.month;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (pt.num_ints == 1)
|
||||
{
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-03-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
From Edward M. Lee <tailbert@yahoo.com>:
|
||||
|
||||
* gmodule-win32.c (_g_module_build_path): use (cygwin friendly) dir
|
||||
separator.
|
||||
|
||||
2001-03-12 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* Makefile.am (libgplugin_a_la_LIBADD, libgplugin_b_la_LIBADD):
|
||||
|
@ -253,9 +253,9 @@ _g_module_build_path (const gchar *directory,
|
||||
k = strlen (module_name);
|
||||
if (directory && *directory)
|
||||
if (k > 4 && g_strcasecmp (module_name + k - 4, ".dll") == 0)
|
||||
return g_strconcat (directory, "\\", module_name, NULL);
|
||||
return g_strconcat (directory, G_DIR_SEPARATOR_S, module_name, NULL);
|
||||
else
|
||||
return g_strconcat (directory, "\\", module_name, ".dll", NULL);
|
||||
return g_strconcat (directory, G_DIR_SEPARATOR_S, module_name, ".dll", NULL);
|
||||
else if (k > 4 && g_strcasecmp (module_name + k - 4, ".dll") == 0)
|
||||
return g_strdup (module_name);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user