History log of /PHP-8.3/main/main.c (Results 1051 – 1075 of 1376)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 7b4983c8 20-Oct-2000 Andrei Zmievski

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_destruc

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)

show more ...

# 98bbb117 17-Oct-2000 Zeev Suraski

Fix a crash in CGI mode, in case no file is provided

# 6d5f1d97 13-Oct-2000 Hartmut Holzgraefe

now it works for me as CGI and APXS, with or without --enable-debug ...

# cae27179 13-Oct-2000 Hartmut Holzgraefe

fopen wrappers cleanup
- comfiguration is now done by an ini parameter
instead of a compile time option
- the implementations of the three standard wrappers
now live in se

fopen wrappers cleanup
- comfiguration is now done by an ini parameter
instead of a compile time option
- the implementations of the three standard wrappers
now live in seperate files in ext/standard
- the compiler is happy again, no more warnings

show more ...

Revision tags: php-4.0.3, php-4.0.3RC2
# d37b1406 03-Oct-2000 Andi Gutmans

- Fix VC++ warning

Revision tags: php-4.0.3RC1
# 2622eba3 30-Sep-2000 Andi Gutmans

- Cleanup some output functions

# ec4a36ec 27-Sep-2000 Zeev Suraski

complementary PHP patch

# 1ccac6ed 11-Sep-2000 Stanislav Malyshev

Add additional parameter to parse_str for saving result (thanks to
John Bafford <dshadow@zort.net>)
@ Added second parameter for parse_str to save result (John Bafford)

# eba1b622 09-Sep-2000 Derick Rethans

- Fixed missing parameter in php_atoi

# b7ecaacd 09-Sep-2000 Zeev Suraski

More security-related (control) patches:
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit. Defaults to 8MB.
- Impleme

More security-related (control) patches:
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit. Defaults to 8MB.
- Implemented file_uploads on/off directive (defaults to on).

show more ...

# 522aec44 08-Sep-2000 Stanislav Malyshev

Never trust snprintf return value

# 6426d1c9 08-Sep-2000 Stanislav Malyshev

Fix crash on very long error messages
Manual for snprintf says:
If the output was truncated, the return value is -1, oth-
erwise it is the number of characters stored, not

Fix crash on very long error messages
Manual for snprintf says:
If the output was truncated, the return value is -1, oth-
erwise it is the number of characters stored, not includ-
ing the terminating null.
And that's a blatant lie - in reality, libc 2.1 always returns number of
characters that _would be_ stored. I hate those libc bugs. Now we should go
and check every place we trusted snprintf return value.

show more ...

# df5e0cb0 08-Sep-2000 Stanislav Malyshev

Fix syslog call

# 4647bbb7 05-Sep-2000 Zeev Suraski

broken logic fixed. I'm getting old

# eb321449 05-Sep-2000 Zeev Suraski

- Remove track_vars - it is now always on
- Make the various $HTTP_*_VARS[] arrays be defined always,
even if they're empty
- Fix Win32 build and warnings

# cf8e3897 02-Sep-2000 Zeev Suraski

@- Added support for an optional output handler function for output
@ buffering. This enables transparent rendering of XML through XSL,
@ transparent compression, etc. (Zeev)

# e065c308 01-Sep-2000 Zeev Suraski

- Fix dir.c
- Begin cleanup of php_error_cb()

# df273c9d 01-Sep-2000 Sascha Schumann

Hopefully last round of fixing varargs use.

We don't need to create the log message twice, and by doing it only
once we also avoid the orig_args trap.

# ed3c8526 31-Aug-2000 Stanislav Malyshev

Make main.c compile again

# 0bc2bb05 31-Aug-2000 Zeev Suraski

Safer shutdown process. Continue to shut down even if we bail out in the middle of a certain part.

# 47f8af85 30-Aug-2000 Zeev Suraski

This is no longer relevant...

# 0e482b1b 30-Aug-2000 Zeev Suraski

- Truly fix varargs handling - the current situation was a sure-fire crash in most platforms
(the older code worked, even though it didn't compile well for some very odd reason, probably

- Truly fix varargs handling - the current situation was a sure-fire crash in most platforms
(the older code worked, even though it didn't compile well for some very odd reason, probably
a compiler bug; The new code would cause PHP to crash if both display_errors/log_errors and
track_errors were enabled)

show more ...

Revision tags: php-4.0.2
# 1b4d8c0f 29-Aug-2000 Stig Bakken

@Added PHP API for Zend's ticks
Added PHP API for registering tick functions. Ticks is a per-instruction
callback in Zend that allows us to implement cooperative multitasking
within PHP.

@Added PHP API for Zend's ticks
Added PHP API for registering tick functions. Ticks is a per-instruction
callback in Zend that allows us to implement cooperative multitasking
within PHP. Example:

In extension code:

php_add_tick_function(my_tick_func);

void my_tick_func(int count) {
php_printf("[tick %d]", count);
}

In PHP code:
<?php

declare(ticks = 1) {
print "there should be two ticks here.\n";
}

?>

show more ...

# e783d75e 27-Aug-2000 Sascha Schumann

sizeof(old_cwd) evaluated to sizeof(char *) after last commit, so old_cwd
was not set correctly.

# ecbc0255 27-Aug-2000 Andi Gutmans

- Use do_alloca()/free_alloca() for old_cwd. This will ensure speed in
- non-ISAPI environments but in ISAPI will use emalloc()/efree() to save
- stack space. MS only gives us 10KB those bast

- Use do_alloca()/free_alloca() for old_cwd. This will ensure speed in
- non-ISAPI environments but in ISAPI will use emalloc()/efree() to save
- stack space. MS only gives us 10KB those bastards.

show more ...

1...<<41424344454647484950>>...56