freebsd-ports/lang/scriba/files/patch-ae
Vanilla I. Shu 17ef395584 ScriptBasic is a scripting implementation of the BASIC language. The
aim of this implementation is to provide a general and widely used
tool for the simple programmer. One of the reason behind the success
of the Microsoft operating systems is VisualBasic, which is built into
many of the applications Microsoft delivers. Why are UNIX and other
non-Microsoft operating system users prohibited to use the simplest
programming language?
ScriptBasic is a BASIC implementation, which aims not less than
becoming the most widely used scripting tool on UNIX systems. It is
portable, it is BASIC, it is a scripting tool and it is GNU LGPL.

PR:		ports/24133
Submitted by:	George Reid <greid@ukug.uk.freebsd.org>
2001-01-14 19:45:31 +00:00

29 lines
663 B
Plaintext

--- scriba.c.orig Wed Dec 27 11:52:17 2000
+++ scriba.c Sun Jan 7 20:30:15 2001
@@ -518,16 +518,12 @@
"SCRIBA.INI",
#else
"SCRIBACONF",
- "/etc/scriba/basic.conf",
+ "/usr/local/etc/scriba/basic.conf",
#endif
pszForcedConfigurationFileName);
/*DEBUG*/
- fp = fopen("e:\\MyProjects\\sb\\isapi.log","a");
- if( fp ){
- fprintf(fp,"LoadConfiguration returned %d.\n",iError);
- fclose(fp);
- fp = NULL;
- }
+ if(iError)
+ fprintf(stderr,"LoadConfiguration returned %d.\n",iError);
return iError;
}
@@ -1900,4 +1896,4 @@
default: return SCRIBA_ERROR_FAIL;
}
- }
+ }