You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and the attachment, where I replaced g_strlen with strlen. Which compiles, but I do not understand the details of gnome to know if this really fixes the issue. Is the patch correct or what would be the correct patch ?
Thanks for you report, which revealed a more serious bug.
First, g_strlen is a typo and should be replaced by strlen.
The more serious problem is that the variable columns is never initialized. I guess the reason why this compiles on my platform (gcc 5.3/x86_64 Linux) is that the compiler eliminates the entire block.
This fixes a bug in reading the environment variable COLUMNS when
determining the width of the progress bar. The variable columns was
never correctly initialized (and the subsequent if-block would be
eliminated by recent versions of gcc hiding the strlen typo).
Fixes#7.
See
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206565
and the attachment, where I replaced g_strlen with strlen. Which compiles, but I do not understand the details of gnome to know if this really fixes the issue. Is the patch correct or what would be the correct patch ?
Without it, it fails to build, see
http://people.freebsd.org/~pi/logs/www__castget-93a-1453624637.txt
The text was updated successfully, but these errors were encountered: