[uClibc]segfault with kernel 2.0 and cardmgr

Giulio Orsero giulioo at pobox.com
Mon Feb 11 11:22:49 UTC 2002


This is a follow-up on
http://www.uclibc.org/lists/uclibc/2002-January/004767.html

I found out that if I comment out the following in 
cardmgr.c/static int execute()
==
...
    f = popen(cmd, "r");
    while (fgets(line, 255, f)) {
	  line[strlen(line)-1] = '\0';
	  syslog(LOG_INFO, "+ %s", line);
    }
    ret = pclose(f);
...

==

Then the segfault is gone (cardmgr still does not detect card, but it does
so the proper way with 2 beeps).

Do you have any idea on why this may be an issue with uclibc compiled
against 2.0.39?

Thanks

-- 
giulioo at pobox.com



More information about the uClibc mailing list