Whoa, whoa, whoa. Three "bugs"

1) Fixed tag mismatches with fprintf when not using Float, Sql, or Result (comma was missing :o)
2) Fixed unlink from taking more than one argument o_O
3) Fixed filesize from taking more than one argument o_O
This commit is contained in:
Scott Ehlert 2006-04-10 14:02:37 +00:00
parent e49365755d
commit 4fb001ce50

View File

@ -73,7 +73,7 @@ native feof(file);
native fgets(file, buffer[], maxlength); native fgets(file, buffer[], maxlength);
//Writes a line to the file //Writes a line to the file
native fprintf(file, const fmt[], {Float,Sql,Result_}:...); native fprintf(file, const fmt[], {Float,Sql,Result,_}:...);
//Sets the current position in a file (see SEEK_ values above) //Sets the current position in a file (see SEEK_ values above)
native fseek(file, position, start); native fseek(file, position, start);
@ -87,7 +87,7 @@ native fputc(file, data);
native fungetc(file, data); native fungetc(file, data);
//Return the size of a file //Return the size of a file
native filesize(const filename[],{Float,Sql,Result,_}:...); native filesize(const filename[]);
//Attempts to remove a directory. //Attempts to remove a directory.
//Note that you cannot remove a directory that has files on most //Note that you cannot remove a directory that has files on most
@ -95,7 +95,7 @@ native filesize(const filename[],{Float,Sql,Result,_}:...);
native rmdir(const path[]); native rmdir(const path[]);
//Delete a file (delete_file macro) //Delete a file (delete_file macro)
native unlink(const filename[],{Float,Sql,Result,_}:...); native unlink(const filename[]);
//Returns a handle to a directory //Returns a handle to a directory
native open_dir(dir[], firstfile[], length); native open_dir(dir[], firstfile[], length);