Commit Graph

26215 Commits

Author SHA1 Message Date
Ilia Alshanetsky
a073ba979f Fix function declaration. 2004-03-09 01:28:29 +00:00
Ilia Alshanetsky
7bc8bdec79 Change float operations to safe_emalloc().
Original idea by Sascha (see sess_sqlite.c)
2004-03-09 01:09:35 +00:00
Ilia Alshanetsky
e375ffddb4 Added enchant_dict_quick_check() function.
Made enchant_dict_check() return a boolean.
2004-03-09 00:31:17 +00:00
Ard Biesheuvel
b303ba089c More wordsize fixes 2004-03-08 23:11:45 +00:00
Pierre Joye
f1ff65c155 - Fixes protos 2004-03-08 23:08:17 +00:00
Ard Biesheuvel
b703fe79f6 Fix warning 2004-03-08 23:04:33 +00:00
Ilia Alshanetsky
d2d091b2af Cleanup 2004-03-08 22:21:36 +00:00
Derick Rethans
b3b2192a1e - Added mb_list_encoding() to return an array with all mbstring supported
encodings.
2004-03-08 22:18:05 +00:00
Pierre Joye
14bdcf810a - sources cleanup:
- merge the tests of broker/dict pointers, I can always set them back if
   we like to raise warnings here
 - proto fixes
 - remove printf() debug
2004-03-08 21:34:12 +00:00
Marcus Boerger
7dd5b1f126 Rename hasMore() to valid() as discussed. (Part V) 2004-03-08 21:17:39 +00:00
Marcus Boerger
979ef59b7c Rename hasMore() to valid() as discussed. (Part IV) 2004-03-08 21:15:39 +00:00
Pierre Joye
c2689fe35b - Initial commit 2004-03-08 20:12:13 +00:00
Ard Biesheuvel
1950bdd42c MFB fix #27408 2004-03-08 19:08:25 +00:00
Marcus Boerger
8685972af2 Rename hasMore() to valid() as discussed. (Part III) 2004-03-08 19:00:21 +00:00
Marcus Boerger
6b0f57ee50 Rename hasMore() to valid() as discussed. (Part II) 2004-03-08 18:05:41 +00:00
Marcus Boerger
b6b7c9eb65 Rename hasMore() to valid() as discussed. (Part I) 2004-03-08 17:33:31 +00:00
Marcus Boerger
c3b06ea21e Check count. 2004-03-08 16:52:59 +00:00
Ard Biesheuvel
6bfc0d06cf Merged some more odd fixes from my own branch 2004-03-08 10:49:17 +00:00
Ard Biesheuvel
48d16437d6 Cleaned up array handling and optimize for the case where no array fields are used
Fix timestamp binding for Win32 (which doesn't have gmtime_r())
CS
2004-03-08 10:32:26 +00:00
Derick Rethans
0d4352ced8 - Fixed bug #24550 (tokenizing with __METHOD__ crash) (Patch by Greg Beaver) 2004-03-08 08:02:02 +00:00
Ilia Alshanetsky
c828007fdf Fixed bug #27424 (headers missing on flush() in apache 2 SAPIs). 2004-03-08 03:15:45 +00:00
Ilia Alshanetsky
6112260738 Fixed compiler warnings. 2004-03-08 03:06:56 +00:00
07b90fa1ba ChangeLog update 2004-03-08 01:32:05 +00:00
Marcus Boerger
5208baee49 Add another missing conversion 2004-03-08 00:19:43 +00:00
Marcus Boerger
4ee3282ec6 Search for db-4.2.x 2004-03-07 23:45:31 +00:00
Sascha Schumann
048e66b2a9 Avoid using floating point arithmetic and rely on safe_emalloc
for the multiplication.

The actual size requirement is spelled out as:

** The result is written into a preallocated output buffer "out".
** "out" must be able to hold at least 2 +(257*n)/254 bytes.
** In other words, the output will be expanded by as much as 3
** bytes for every 254 bytes of input plus 2 bytes of fixed overhead.
** (This is approximately 2 + 1.0118*n or about a 1.2% size increase.)
2004-03-07 22:35:26 +00:00
Wez Furlong
70757063a7 add cast for qsort compare function.
Kinda ugly, but helps assert that we are doing the right thing as well as
kill the warning there.
2004-03-07 22:06:36 +00:00
Wez Furlong
1e35cf4f32 Connect feof() call to user-space stream feof() method.
Fixes Bug #27417 and #27508
2004-03-07 22:05:21 +00:00
Ilia Alshanetsky
0eb7000b0a Corrected string escape calculation. 2004-03-07 21:57:50 +00:00
Wez Furlong
0dd2280102 Less magic please 2004-03-07 21:36:55 +00:00
Ard Biesheuvel
4fffb84005 Simplify / fix 2004-03-07 18:01:12 +00:00
Ard Biesheuvel
67cdc2c12f Added missing support for binding timestamps
# Returning timestamps was already supported
2004-03-07 14:25:08 +00:00
5d93908766 ChangeLog update 2004-03-07 01:32:00 +00:00
Moriyoshi Koizumi
9a0e4fae4c - Forgot to commit this one. 2004-03-07 00:03:50 +00:00
Moriyoshi Koizumi
91b39a6538 - Fix test, take 2 2004-03-06 23:11:25 +00:00
Ilia Alshanetsky
02cdf5a87a Fixed bug #27421 (mbstring.func_overload should be system ini setting). 2004-03-06 19:29:52 +00:00
Ilia Alshanetsky
72a3bb18d1 Fixed bug #27460 (base64_decode() does not handle extra padding). 2004-03-06 19:06:04 +00:00
Ilia Alshanetsky
bf6b0dc5e6 Fixed bug #27505 (htmlentities() does not handle BIG5 correctly). 2004-03-06 18:35:41 +00:00
Ilia Alshanetsky
e57c749ecc Use correct variable name. 2004-03-06 18:29:54 +00:00
Ilia Alshanetsky
53e56151fe Fixed bug #27437 (wrong freetype include inside GD library). 2004-03-06 18:24:41 +00:00
Ilia Alshanetsky
215f0763d0 Fixed a possible memory leaks inside sqlite_popen() &
sqlite_fetch_column_types().
Resolve the file path inside sqlite_factory().
2004-03-06 18:14:54 +00:00
Ilia Alshanetsky
2d630bb6ae Fixed possible crash due to an integer overflow. 2004-03-06 18:11:59 +00:00
Ilia Alshanetsky
f60d104c09 Better extension availability check. 2004-03-06 18:10:32 +00:00
Pierre Joye
a8b6b2102b - fix #27238 2004-03-06 17:31:51 +00:00
e37f4db03d ChangeLog update 2004-03-06 01:32:09 +00:00
Andi Gutmans
2af86692ea - Fix some small problems I introduce in last patch. 2004-03-05 17:18:34 +00:00
Andi Gutmans
74775aa41a - Finally fix the following:
$xml_mem = simplexml_load_string('<bookbody><part><chapter><page>1</page></chapter></part></bookbody>');
/* The following works fine */
foreach ($xml_mem->part as $part) {
  foreach($part->chapter->page as $page) {
 print $page;
  }
}
/* The following segfaults */
foreach ($xml_mem->part as $part) {
  foreach($part->chapter as $chapter) { // Difference here from previous example
 print $chapter;
  }
}
2004-03-05 13:04:21 +00:00
Dmitry Stogov
09a7d5bb2f Test files were fixed acording to new constructor redeclaration semantic 2004-03-05 12:18:16 +00:00
Dmitry Stogov
215c71ee7c Test file was fixed (stack trace is removed) 2004-03-05 12:16:28 +00:00
c851067bf9 ChangeLog update 2004-03-05 01:31:59 +00:00