Isn't this whole function the same as calling php_uname('n') ?
According to gethostname()'s manpage on Linux:
The GNU C library implements gethostname() as a library function that
calls uname(2) and copies up to len bytes from the returned nodename
field into name.
php_uname('n') is already imp
My system is CentOS 5.2. I use the following configure command:
./configure --prefix=/usr/local/php6.0-dev
--with-config-file-path=/usr/local/php6.0-dev/etc
--with-config-file-scan-dir=/usr/local/php6.0-dev/etc/php.d
--with-openssl --with-kerberos --with-zlib --with-mysql
--with-mysqli=my
Ilia Alshanetsky escribió:
> + char buf[4096];
Shouldnt that be
char buf[HOST_NAME_MAX + 1] ?
--
"We have art in order not to die of the truth" - Friedrich Nietzsche
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opens
There is nothing wrong with using WRONG_PARAM_COUNT, it worked in the
past and still works fine and quite a bit of code still uses it.
The code itself should work on windows, if the define for the function
is specified.
On 29-Dec-08, at 7:00 PM, Kalle wrote:
Hi Ilia
Den 30/12/2008 kl. 0
Hi Ilia
Den 30/12/2008 kl. 00.30 skrev Ilia Alshanetsky :
Here is a pretty simple patch that will provide the indicated
function. If no one objects I'll commit it to 5.3/6 branches in the
next day or two.
You should use zend_parse_parameters_none() here.
I have no test env here, but do
Here is a pretty simple patch that will provide the indicated
function. If no one objects I'll commit it to 5.3/6 branches in the
next day or two.
Index: ext/standard/dns.c
===
RCS file: /repository/php-src/ext/standard/dns.c,v
r
On Mon, Dec 29, 2008 at 16:26, Brian A. Seklecki
wrote:
>
> All:
>
> Is anyone interested in adding POSIX 1003.1-2001 gethostname(2) support? I'm
> interested in sponsoring a small contract development initiative.
>
> I need something more reliable than $_ENV[]. Not all shells export
> $HOSTNAME
PHP 6 Bug Database summary - http://bugs.php.net/
Num Status Summary (71 total -- which includes 32 feature requests)
===[*General Issues]==
26771 Suspended register_tick_funtions crash under threaded webservers
46962 Open php 5.
PHP 5 Bug Database summary - http://bugs.php.net/
Num Status Summary (1236 total -- which includes 771 feature requests)
===[*General Issues]==
46845 Assigned Test expected to fail, but pass, dont cause an error
==
Hi Jack,
Am Montag, den 29.12.2008, 07:09 + schrieb Jack Allnutt:
[...]
> It seems like it'd make more sense to allow *all* functions to be
> called using the 'normal' syntax without having to resort to that
> userland workaround.
Sometimes I really wish people would read the mails sent to th
10 matches
Mail list logo