[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gkrellm & /dev/isdninfo

got strange problem. Gkrellm can't read /dev/isdninfo when I'm connected
through my ISDN line.

I've found that:
- head -n 6 /dev/isdninfo works connected or not.
- cat /dev/isdninfo works only when not connected.
- gkrellm's net builtin reads /dev/isdninfo only when not connected.

code from gkrellm's net.c that fails when connected:

for (i = 0; i < 5; i++)
	if (fgets (buffer, BUFSIZ, f) == NULL)
		fclose (f);
		return FALSE;

It fails reading the first line.

I remember, that not long time ago gkrellm worked well...


Attachment: pgpS83mO0aQqz.pgp
Description: PGP signature

Reply to: