You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by rb...@covalent.net on 2000/05/26 21:55:56 UTC
RE: cvs commit: apache-2.0/src/main iol_file.c
This patch is wrong, and it breaks saferead on Win32. A patch that you
aren't sure about should probably not be committed until it has been
posted on new-httpd. IMHO.
Ryan
On Sat, 27 May 2000, William A. Rowe, Jr. wrote:
> > wrowe 00/05/27 00:06:28
> >
> > Modified: src/main iol_file.c
> > Log:
> > A workaround since we haven't implemented the will_block
> > stuff in Win32.
> >
> > Revision Changes Path
> > 1.18 +4 -0 apache-2.0/src/main/iol_file.c
> >
> > Index: iol_file.c
> > ===================================================================
> > RCS file: /home/cvs/apache-2.0/src/main/iol_file.c,v
> > retrieving revision 1.17
> > retrieving revision 1.18
> > diff -u -r1.17 -r1.18
> > --- iol_file.c 2000/05/24 22:27:16 1.17
> > +++ iol_file.c 2000/05/27 07:06:27 1.18
> > @@ -138,7 +138,11 @@
> > file_getopt,
> > NULL,
> > NULL,
> > +#ifdef WIN32
> > + NULL
> > +#else
> > file_check_read
> > +#endif
> > };
> >
> > /*
>
> That's it for tonight... I'm not 100% on this patch, so I thought I would
> point it out if someone else wants to take a look at a better solution.
>
> Win32 is building everything from the libraries through the modules. The
> support/ exe's need more work, and I will attack those tommorow.
>
>
>
_______________________________________________________________________________
Ryan Bloom rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------
RE: cvs commit: apache-2.0/src/main iol_file.c
Posted by dean gaudet <dg...@arctic.org>.
On Fri, 26 May 2000 rbb@covalent.net wrote:
> This patch is wrong, and it breaks saferead on Win32. A patch that you
> aren't sure about should probably not be committed until it has been
> posted on new-httpd. IMHO.
how can a change to iol_file break saferead? saferead is only used on
sockets.
-dean
Re: cvs commit: apache-2.0/src/main iol_file.c
Posted by Greg Stein <gs...@lyra.org>.
On Sat, 27 May 2000, Rodent of Unusual Size wrote:
> Greg Stein wrote:
> >
> > I'm with OtherBill on this one.
> >
> > If the *compilation* is broken, then putting in a patch like this
> > certainly cannot hurt anything. Not like it can break it any more :-)
>
> I disagree. The state of compilability is irrelevant
> to whether a patch should be committed or submitted for review.
> Commit-then-review is NOT licence to just shove stuff
> in. Anything about which you feel unsure, or think might cause
> controversy, needs to be handled in review-first mode. That's
> part of the rules for CTR. When in doubt, play it safe;
> submit to the list with a 'if no-one objects within a couple
> of days, I'll commit it' -- that's also provided for by the
> CTR rules.
Hmm. I understand your position, but we're talking about a several line
patch to get things up and running (maybe you confused the compile-fix
problem with some of the other controversial patches that occurred at
nearly the same time?).
Yes, more work may still be needed, but by committing the compilation-fix
patch, it unblocked people so they could get real work done [until a
proper solution is crafted].
I agree that large patches under the guise of "but it didn't even compile"
would be a Bad Thing. I don't think this was the case here, which is why I
support OtherBill on it.
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
Re: cvs commit: apache-2.0/src/main iol_file.c
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Greg Stein wrote:
>
> I'm with OtherBill on this one.
>
> If the *compilation* is broken, then putting in a patch like this
> certainly cannot hurt anything. Not like it can break it any more :-)
I disagree. The state of compilability is irrelevant
to whether a patch should be committed or submitted for review.
Commit-then-review is NOT licence to just shove stuff
in. Anything about which you feel unsure, or think might cause
controversy, needs to be handled in review-first mode. That's
part of the rules for CTR. When in doubt, play it safe;
submit to the list with a 'if no-one objects within a couple
of days, I'll commit it' -- that's also provided for by the
CTR rules.
--
#ken P-)}
Ken Coar <http://Golux.Com/coar/>
Apache Software Foundation <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed" <http://ApacheUnleashed.Com/>
RE: cvs commit: apache-2.0/src/main iol_file.c
Posted by Greg Stein <gs...@lyra.org>.
On Sat, 27 May 2000, William A. Rowe, Jr. wrote:
> > From: rbb@covalent.net [mailto:rbb@covalent.net]
> > Sent: Friday, May 26, 2000 2:56 PM
>...
> > A patch that you aren't sure about should probably not
> > be committed until it has been posted on new-httpd. IMHO.
>
> Since I needed to know the server will build, and I had
> kicked the tires of the server before I committed a single
> part of the patches (include the new server, which I have
> yet to layer in) - I couldn't have the interruption.
>
> As I did, if I have q's, I ask pre or post, depending on
> the state of the build. iol_file was broke, so I committed
> with the Q. iol_socket compiled, so I queried the list.
I'm with OtherBill on this one.
If the *compilation* is broken, then putting in a patch like this
certainly cannot hurt anything. Not like it can break it any more :-)
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
RE: cvs commit: apache-2.0/src/main iol_file.c
Posted by "William A. Rowe, Jr." <wr...@lnd.com>.
> From: rbb@covalent.net [mailto:rbb@covalent.net]
> Sent: Friday, May 26, 2000 2:56 PM
>
> This patch is wrong, and it breaks saferead on Win32.
correction, it was broke, and is still broken. Thanks
for the insight, I'll walk the saferead path and possibly
steal a trick or two from bjh's os2 patch today.
> A patch that you aren't sure about should probably not
> be committed until it has been posted on new-httpd. IMHO.
Since I needed to know the server will build, and I had
kicked the tires of the server before I committed a single
part of the patches (include the new server, which I have
yet to layer in) - I couldn't have the interruption.
As I did, if I have q's, I ask pre or post, depending on
the state of the build. iol_file was broke, so I committed
with the Q. iol_socket compiled, so I queried the list.
> Ryan
>
> On Sat, 27 May 2000, William A. Rowe, Jr. wrote:
>
> > > wrowe 00/05/27 00:06:28
> > >
> > > Modified: src/main iol_file.c
> > > Log:
> > > A workaround since we haven't implemented the will_block
> > > stuff in Win32.
> > >
> > > Revision Changes Path
> > > 1.18 +4 -0 apache-2.0/src/main/iol_file.c
> > >
> > > Index: iol_file.c
> > >
> ===================================================================
> > > RCS file: /home/cvs/apache-2.0/src/main/iol_file.c,v
> > > retrieving revision 1.17
> > > retrieving revision 1.18
> > > diff -u -r1.17 -r1.18
> > > --- iol_file.c 2000/05/24 22:27:16 1.17
> > > +++ iol_file.c 2000/05/27 07:06:27 1.18
> > > @@ -138,7 +138,11 @@
> > > file_getopt,
> > > NULL,
> > > NULL,
> > > +#ifdef WIN32
> > > + NULL
> > > +#else
> > > file_check_read
> > > +#endif
> > > };
> > >
> > > /*
> >
> > That's it for tonight... I'm not 100% on this patch, so I
> thought I would
> > point it out if someone else wants to take a look at a
> better solution.
> >
> > Win32 is building everything from the libraries through the
> modules. The
> > support/ exe's need more work, and I will attack those tommorow.
> >
> >
> >
>
>
> ______________________________________________________________
> _________________
> Ryan Bloom rbb@apache.org
> 406 29th St.
> San Francisco, CA 94131
> --------------------------------------------------------------
> -----------------
>