mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
2bd41e156f
PR: 23139 Submitted by: Anand Ranganathan <anand@desktop.com>
13 lines
371 B
Plaintext
13 lines
371 B
Plaintext
--- capplets/theme-switcher/lister.c.orig Mon Nov 27 11:39:55 2000
|
|
+++ capplets/theme-switcher/lister.c Mon Nov 27 11:18:25 2000
|
|
@@ -160,6 +160,8 @@
|
|
while (!feof (fin))
|
|
{
|
|
getline (&lineptr, &linecount, fin);
|
|
+ if (feof(fin))
|
|
+ break;
|
|
if (ferror(fin))
|
|
{
|
|
errstring = g_strdup_printf ("Error reading from RC file %s: %s",
|
|
|