Browse Source

Removed unnecessary FAR's (I am assuming we don't need to work under


			
			
				PHP-4.0.5
			
			
		
Nick Gorham 27 years ago
parent
commit
1b7bfe5bbf
  1. 1
      NEWS
  2. 4
      ext/odbc/php_odbc.c

1
NEWS

@ -2,6 +2,7 @@ PHP 4.0 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2000, Version 4.0.0 Release
- Removed Windows FAR* in php_odbc.c (lurcher)
- Fix bug in number_format (Jon Forsberg)
- Make error_prepend_string and error_append_string work
- array_walk() now automatically resets the array. (Andrei)

4
ext/odbc/php_odbc.c

@ -847,10 +847,10 @@ PHP_FUNCTION(odbc_execute)
char buf[4096];
int fp, nbytes;
while(rc == SQL_NEED_DATA) {
rc = SQLParamData(result->stmt, (PTR FAR *)&fp);
rc = SQLParamData(result->stmt, (void*)&fp);
if (rc == SQL_NEED_DATA) {
while((nbytes = read(fp, &buf, 4096)) > 0)
SQLPutData(result->stmt,(UCHAR FAR*) &buf, nbytes);
SQLPutData(result->stmt, (void*)&buf, nbytes);
}
}
} else {

Loading…
Cancel
Save