sfdisc.c revision 7c2fbfb345896881c631598ee3852ce9ce33fb07