public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: Cygwin 3.3.6: PHP's SplFileObject::fwrite seems broken
Date: Sat, 8 Oct 2022 13:21:25 -0400	[thread overview]
Message-ID: <387c5034-d8c7-a3f2-4271-39b1b95db697@cornell.edu> (raw)
In-Reply-To: <CAJmy8YFQuc0Pxx_3wEZ_dzNzy9S35E-RC2uhMzhBryNFiwoNcg@mail.gmail.com>

On 10/3/2022 12:59 PM, Hans Henrik Bergan wrote:
> @Ken Brown
>> I don't think you wrote what you meant. You're not saying that explicitly specifying the default value changes the behavior, are you? Maybe you meant to say that the default mode is "r"?
> 
> sorry about that, i meant "ab" makes the code work.
> 
> @Andrey Repin
>> php -d 'display_errors=stderr'
>> ?
> 
> adding -d 'display_errors=stderr'  does not make any difference. still
> int(0) NULL

Someone needs to debug this.  Unfortunately, php currently has no Cygwin 
maintainer.  Are you able to run php under gdb to see what's going on?  Even 
better, are you interested in taking over as the php maintainer?

If not, I might try debugging this at some point.  But I have quite a bit of 
Real Life going on at the moment, so I don't know when I'll get to it.

Ken

      reply	other threads:[~2022-10-08 17:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-02  1:47 Hans Henrik Bergan
2022-10-02  5:16 ` Hans Henrik Bergan
2022-10-02  0:39   ` Ken Brown
2022-10-02 13:58     ` Andrey Repin
2022-10-02 13:49   ` Andrey Repin
2022-10-03 16:59     ` Hans Henrik Bergan
2022-10-08 17:21       ` Ken Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=387c5034-d8c7-a3f2-4271-39b1b95db697@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).