Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +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
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
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
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
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
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Sascha Schumann
2909e5c9c9
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
...
instances
2002-10-24 13:15:49 +00:00
foobar
4e37016cb6
- Made dbase_get_record() and dbase_get_record_with_names use same backend
...
function as they both do same thing, just the output is different.
Fixes also bug #17762 as side effect.
2002-06-17 02:27:34 +00:00
Frank M. Kromann
5f4fe6255e
Killing compiler warning
2002-03-05 00:28:20 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Vlad Krupin
2f0cd79621
Verified and fixed bug 6852 #2 . Now memo fields are 10 butes long, not 9.
...
That does not seem to affect how the code works except when creating a new
structure, in which case 'M' fields used to get created with size 9.
@Fixed bug 6852 #2 . Mem fields are now 10 bytesin size, not 9. (Vlad)
2001-12-31 10:23:30 +00:00
Vlad Krupin
431c1f1d31
Verified and fixed bug 6852 #1 . No more null byte after terminating 0x0D.
...
Verified that the problem is real when creating new files and writing
a record. Both fixed and old versions seem to be able to somehow read
and write already existing files properly though.
@Fixed bug 6852 #1 . No more null byte after terminating 0x0D. (Vlad)
2001-12-31 09:13:08 +00:00
Vlad Krupin
fb8c063249
Fixed bug #5993 . Now if the result returned from a database is bigger
...
than a long, dbase_get_record() and dbase_get_record_with_names() will
return a string instead.
# Need to update documentation to reflect that change
@ Fixed problem with dbase not returning very large (larger than long)
@ integers properly. (Vlad)
2001-12-14 04:22:01 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
jim winstead
6fab353df1
handle 'I' field type, just another name for the 'N' field type (patch
...
from Landon Bradshaw <landon@bradshaw.org>)
2001-10-08 21:51:12 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Joey Smith
c8b294afa3
@- Fix a crash in dbase_replace_record (Patch by robin.marlow@dps-int.com).
...
This fixes Bug id #11928 .
2001-08-16 23:44:10 +00:00
foobar
80277be8e3
@- Fixed a bug in dbase_get_record() and dbase_get_record_with_names().
...
@ boolean fields are now returned correctly.
@ Patch by Lawrence E. Widman <widman@cardiothink.com> (Jani)
2001-08-14 11:07:18 +00:00
Zeev Suraski
f6f6c4d7e6
Whitespace
2001-08-11 16:39:07 +00:00
foobar
89a8b0144c
Fix TSRM problem.
2001-08-06 12:26:55 +00:00
Zeev Suraski
1159c84ab7
- TSRMLS_FETCH work
...
- whitespace fixes
2001-08-05 01:43:02 +00:00
Zeev Suraski
b1de7fc900
More TSRMLS_FETCH annihilation. Enough for today...
2001-07-31 07:09:49 +00:00
Zeev Suraski
aa1772ca72
More TSRMLS_FETCH annihilation
2001-07-31 05:44:11 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Stig Bakken
1beda9ee1e
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
2001-05-24 10:07:29 +00:00
Andi Gutmans
4c823e8a89
- Change macros from V_ to VCWD_ because of AIX name clash
2001-04-30 12:45:02 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Sascha Schumann
c2fb53bed7
Finish fopen-wrappers rename.
2001-02-23 22:07:16 +00:00
Andi Gutmans
d0ec3df288
- Use CHECKUID_* #define's instead of cryptic numbers in php_checkuid()
...
- I did not test for validity of the actual php_checkuid() calls and there
- might be mistakes in the previous code.
2000-11-02 23:08:07 +00:00
Andrei Zmievski
f1dcb32c9f
Use zend_register_list_destructors_ex() instead.
2000-10-25 17:44:02 +00:00
Andrei Zmievski
7b4983c8f8
Mega-patch to get better resource information for modules.
...
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number
@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Sterling Hughes
93acbedce8
@ Fixed dbase_add_record. (Sterling)
2000-08-13 17:41:20 +00:00
Sterling Hughes
8aadb68db1
@ Fixed dbase_add_record. (Sterling)
...
Fixed dbase_add_record
2000-07-23 03:45:24 +00:00
Sterling Hughes
8a6f3f80f2
Fix dbase_create() for real.
2000-07-20 02:48:44 +00:00
Sterling Hughes
857e80f5c6
Fix bug 4813. Fixed by greg@darkphoton.com
2000-06-30 22:44:20 +00:00
Sterling Hughes
7f7c14d9f5
@- Fixed the dbase_create function. (Sterling)
...
Fixed the dbase_create function.
2000-06-30 21:21:17 +00:00
Zeev Suraski
6614e8edb4
- I wrote a long msg but the commit didn't go through.
...
- So here is the short version:
- a) Start moving to binary opens in Windows
- b) Give checkuid_mode() a small face lift including the fopen-wrappers.c
- The mode to this function should at least be a #define but that is for
- another day. Anyway this whole stuff should be given more face lifts in
- the future.
2000-06-25 17:02:59 +00:00
Sascha Schumann
0c03253635
Stop including dl/phpdl.h.
2000-06-24 15:36:04 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Sascha Schumann
4686a3b50e
Use #ifdef COMPILE_DL_EXTNAME solely.
2000-05-23 09:33:51 +00:00