Commit Graph

149 Commits

Author SHA1 Message Date
Antony Dovgal
a6c19f6ede MFB: Fixed bug #42261 (header wrong for date field) 2007-08-10 08:56:23 +00:00
Ilia Alshanetsky
de573ba7ff MFB 2007-05-28 23:14:57 +00:00
Antony Dovgal
26c0270d57 fix #41394 (dbase_create creates file with corrupted header) 2007-05-16 13:16:56 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Martin Kraemer
e46b1b3747 Typo 2007-03-14 09:49:58 +00:00
Antony Dovgal
fa4ee95e2c do not allow db without fields
fix test
2007-02-25 23:16:32 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
16c58e611a MFB: Fixed a possible memory corruption in dbase_open() with invalid open
mode
2006-12-01 19:10:59 +00:00
Ilia Alshanetsky
dcf2056b91 MFB: fixed test 2006-11-26 16:29:55 +00:00
Ilia Alshanetsky
2dbccb34d4 MFB: Fixed a possible crash in dbase_open() on empty filename. 2006-11-22 17:30:52 +00:00
Antony Dovgal
6636616ae9 fix test 2006-10-11 23:46:35 +00:00
Antony Dovgal
ff62076796 access mode for dbase_open() cannot be < 0 2006-10-10 23:00:48 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Antony Dovgal
38dcee0beb fix leaks & uninitialized vars
add test
2006-09-06 11:34:15 +00:00
Michael Wallner
e9aaf0b16b - implement #38357 (dbase_open can't open DBase 3 dbf file) 2006-08-08 15:53:54 +00:00
Antony Dovgal
550a7186c5 restore missing check and prevent segfaulting
MFB and add test
2006-07-12 13:17:25 +00:00
Hannes Magnusson
284ad23f60 Add array type hinting
Remove unnecessary array checkes
2006-06-15 16:25:12 +00:00
Hannes Magnusson
66ad36259b Revert array type hinting 2006-06-15 15:31:39 +00:00
Hannes Magnusson
e6487d115e Added argument info
Fixed protos
Fixed vim folding
2006-06-10 22:59:40 +00:00
Antony Dovgal
a1cb265e4a remove debug output and fix bug #37589 2006-05-25 11:46:12 +00:00
Ilia Alshanetsky
a605fd39c4 More safe_mode nuking 2006-02-19 18:20:51 +00:00
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +00:00
Antony Dovgal
6dcebfd904 fix #36113 (Reading records of unsupported type causes segfault) 2006-01-23 22:40:39 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Derick Rethans
0242ae498e - Fixed bug #31754 (dbase_open() fails for mode = 1). (Mehdi, Derick) 2005-02-04 14:28:50 +00:00
Hartmut Holzgraefe
eeb172b29f "The Visa to Sibiria" (work in progress)
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
2004-03-23 19:46:10 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Edin Kadribasic
fbe2b4bbc3 Added dbase to the new win32 build. Works both as shared
and built-in extension on windows.
2003-12-07 00:09:48 +00:00
Uwe Steinmann
6b81317509 - set precision to 0 unless the field is of type N or I 2003-11-27 11:32:05 +00:00
Uwe Steinmann
3977fdd7b0 - fixed indenting 2003-11-27 10:15:20 +00:00
Uwe Steinmann
84d156ae15 - limit writing of field data to field len + 1
This fixed many memory overrun errors which appeared
	in several scripts when writing a record.
2003-10-14 07:49:34 +00:00
Vlad Krupin
db0a175bcb rolling back fix for 23463. The "fix" broke more than it fixed (see bug 25558) 2003-10-12 01:07:59 +00:00
Uwe Steinmann
eea84f787b - fixed typo in error message 2003-09-21 13:17:20 +00:00
Andrey Hristov
b2eb454171 format string fixes 2003-08-28 21:00:24 +00:00
Vlad Krupin
5636f96147 Fix for bug 23463. Dbase2 is not supported.
AFAICT, no newer versions of dbase, even those use
version byte as a bitmask will ever have it <3.
2003-08-06 19:06:24 +00:00
foobar
88cbc175ea - Removed the unnecessary check of array_init() return value. 2003-07-31 18:28:47 +00:00
Zak Greant
8178d87d25 Created shorter/sensible key names for dbase_get_header_info
* 'decimal places' becomes 'precision'
 * 'printf format' becomes 'format'
 * 'record offset' becomes 'offset'

 BTW No docs have been committed for this function yet, nor is it part of any
 release. This change should affect no users.
2003-07-16 11:08:03 +00:00
Zak Greant
c0bd985ad9 Added function dbase_get_header_info
* Passed a handle for an open dbase database, it returns an array of
   associative arrays. Each associative array contains information on a
   single column, including name, column type, length, precision, ...
2003-07-15 18:19:51 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Rasmus Lerdorf
20ea550235 MFB 2003-04-01 19:12:32 +00:00
Ilia Alshanetsky
1fe4990bc0 ZTS fixes. 2003-01-19 08:32:26 +00:00
Ilia Alshanetsky
3d8e54f3a2 Changed php_error to php_error_docref. 2003-01-19 00:45:53 +00:00
Ilia Alshanetsky
e0e77d7d02 Typo corrections. 2003-01-15 13:48:07 +00:00
Ilia Alshanetsky
ad42fba9fa Removed pointless checks around array_init() & ZE memory allocation macros.
Changed php_error to php_error_docref.
Dropped getParam* parameter parsing API in favor of zend_get_parameters*.
2003-01-15 02:31:16 +00:00