public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk@cygwin.com>
Subject: Re: Fw: [1.7] "broken" pipe implementation?
Date: Fri, 27 Feb 2009 22:07:00 -0000	[thread overview]
Message-ID: <20090227220720.GB21254@ednor.casa.cgf.cx> (raw)
In-Reply-To: <49A81791.8010002@gmail.com>

On Fri, Feb 27, 2009 at 04:40:49PM +0000, Dave Korn wrote:
>Andrew Schulman wrote:
>>>It qualifies as a "What in the world was I thinking?" problem.
>>
>>No idea what that is.
>
>The kind of bug you write when you've been up all night writing code,
>and you finally crash out, and when you wake up refreshed a few hours
>later you look at it and go "My god, this is all gibberish! I must have
>gone temporarily mad!".
>
>Happened to me just the other night.  :-P

Ah, so it isn't just me.

In this case, I cleverly rewrote the named pipe handling to use
overlapped I/O and real named pipes but only did 95% of the
implementation.  I missed the select() part although I have a clear
remembrance of implementing it.  Must have been a late-night
hallucination.

That's why I spent the first hour of debugging setting breakpoints
and saying "Huh?  Why didn't it get there???"

cgf

  reply	other threads:[~2009-02-27 22:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tcqqp4pir13cnq0oa8psu1uq4lso1q2550@4ax.com>
     [not found] ` <20090219142734.GA22666@ednor.casa.cgf.cx>
     [not found]   ` <20090227005010.GA11675@ednor.casa.cgf.cx>
     [not found]     ` <re3gq45oj4clmern31thehbrupl4ed6fvr@4ax.com>
2009-02-27 16:31       ` Dave Korn
2009-02-27 22:07         ` Christopher Faylor [this message]
2009-02-27 22:29           ` Warren Young
2009-02-28 11:57             ` Corinna Vinschen
2009-02-28 13:15               ` Dave Korn

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=20090227220720.GB21254@ednor.casa.cgf.cx \
    --to=cgf-use-the-mailinglist-please@cygwin.com \
    --cc=cygwin-talk@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).