anchor.diff:          print >>f, "static int get_count(void);"
   
       if options.get("rtapi_app", 1):
  -        if options.get("constructable", 0) and not options.get("singleton"):
  +        if options.get("constructable") and not options.get("singleton"):
               print >>f, "static int export_1(char *prefix, char *argstr) {"
               print >>f, "    int arg = simple_strtol(argstr, NULL, 0);"
               print >>f, "    return export(prefix, arg);"
  
positive.code: 
      if options.get("userspace"):
          print >>f, "static void user_mainloop(void);"
          if options.get("userinit", 0):
              print >>f, "static void user_init(void);"
          print >>f, "int argc=0; char **argv=0;"
          print >>f, "int main(int argc_, char **argv_) {"    
          print >>f, "    argc = argc_; argv = argv;"
          print >>f 
          if options.get("userinit", 0):
              print >>f, "    userinit()";
          print >>f 
          print >>f, "    if(rtapi_app_main() < 0) return 1;"
          print >>f, "    user_mainloop();"
  
negative.code:             print >>f, "        r = export(buf, i);"
              print >>f, "        if(r != 0) break;"
              print >>f, "    }"
          if options.get("constructable") and not options.get("singleton"):
              print >>f, "    hal_set_constructor(comp_id, export_1);"
          print >>f, "    if(r) {"
  	if options.get("extra_cleanup"):
  