Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22913 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37848 invoked by uid 1010); 21 Apr 2006 20:41:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37832 invoked from network); 21 Apr 2006 20:41:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Apr 2006 20:41:00 -0000 X-Host-Fingerprint: 64.186.239.125 c-064-186-239-125.oc1.redwire.net Linux 2.5 (sometimes 2.4) (4) Received: from ([64.186.239.125:46828] helo=mail.kromann.info) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id AA/32-19715-B5349444 for ; Fri, 21 Apr 2006 16:40:59 -0400 Received: from warp (www.kromann.info [64.186.239.115]) by mail.kromann.info (Postfix) with SMTP id CEA434040A3 for ; Fri, 21 Apr 2006 13:40:55 -0700 (PDT) To: PHP Internals X-Mailer: Swwwing 2000 Message-ID: <11456520314200000@9866357972520000.9866341568840000> MIME-Version: 1.0 Reply-To: "Frank M. Kromann" Date: Fri, 21 Apr 2006 13:40:31 -0700 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [PATCH] Compile head on Win32 From: frank@kromann.info ("Frank M. Kromann") Hello Everyone, Here is a patch that makes it possible to compile HEAD on win32. http://kromann.info/diff-file.c php_stream_get_line_ex() and php_stream_get_line() are both defined as macros where the buf parameter is replaced with ZSTR(buf). Setting buf to NULL_ZSTR causes the function to be called with ZSTR(NULL_ZSTR) and that does not make any sence. Please let me know if it's ok to commit this. - Frank