+2000-03-21 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_current_dir): Allocate only up to 128KB for a
+ pathname. While this is an arbitrary value just like 2048, it
+ seems to be enough (after all, even 4GB is an arbitrary value).
+
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c (g_main_poll): Warn in case of an error during the call
+2000-03-21 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_current_dir): Allocate only up to 128KB for a
+ pathname. While this is an arbitrary value just like 2048, it
+ seems to be enough (after all, even 4GB is an arbitrary value).
+
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c (g_main_poll): Warn in case of an error during the call
+2000-03-21 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_current_dir): Allocate only up to 128KB for a
+ pathname. While this is an arbitrary value just like 2048, it
+ seems to be enough (after all, even 4GB is an arbitrary value).
+
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c (g_main_poll): Warn in case of an error during the call
+2000-03-21 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_current_dir): Allocate only up to 128KB for a
+ pathname. While this is an arbitrary value just like 2048, it
+ seems to be enough (after all, even 4GB is an arbitrary value).
+
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c (g_main_poll): Warn in case of an error during the call
+2000-03-21 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_current_dir): Allocate only up to 128KB for a
+ pathname. While this is an arbitrary value just like 2048, it
+ seems to be enough (after all, even 4GB is an arbitrary value).
+
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c (g_main_poll): Warn in case of an error during the call
+2000-03-21 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_current_dir): Allocate only up to 128KB for a
+ pathname. While this is an arbitrary value just like 2048, it
+ seems to be enough (after all, even 4GB is an arbitrary value).
+
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c (g_main_poll): Warn in case of an error during the call
+2000-03-21 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_current_dir): Allocate only up to 128KB for a
+ pathname. While this is an arbitrary value just like 2048, it
+ seems to be enough (after all, even 4GB is an arbitrary value).
+
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c (g_main_poll): Warn in case of an error during the call
+2000-03-21 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_current_dir): Allocate only up to 128KB for a
+ pathname. While this is an arbitrary value just like 2048, it
+ seems to be enough (after all, even 4GB is an arbitrary value).
+
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c (g_main_poll): Warn in case of an error during the call
*buffer = 0;
dir = getwd (buffer);
#else /* !sun */
- while (1)
+ while (max_len < 128 * 1024)
{
buffer = g_new (gchar, max_len + 1);
*buffer = 0;
*buffer = 0;
dir = getwd (buffer);
#else /* !sun */
- while (1)
+ while (max_len < 128 * 1024)
{
buffer = g_new (gchar, max_len + 1);
*buffer = 0;