On February 4, 2019 12:10:54 p.m. CST, Junio C Hamano wrote:
>Duy Nguyen writes:
>
>>> The disadvantage, of course, would be that other call sites would
>not
>>> benefit from a manual auditing whether the argument has side effects
>(and
>>> thus, whether a macro using the argument multiple time
Duy Nguyen writes:
>> The disadvantage, of course, would be that other call sites would not
>> benefit from a manual auditing whether the argument has side effects (and
>> thus, whether a macro using the argument multiple times would result in
>> very unexpected multiple side effects).
>
> That's
On Mon, Feb 4, 2019 at 6:44 PM Johannes Schindelin
wrote:
>
> Hi Duy,
>
> On Sat, 2 Feb 2019, Duy Nguyen wrote:
>
> > On Sat, Feb 2, 2019 at 4:21 AM Junio C Hamano wrote:
> > >
> > > Dan McGregor writes:
> > >
> > > > Commit 8dd2e88a92 ("http: support file handles for HTTP_KEEP_ERROR",
> > > > 2
Hi Duy,
On Sat, 2 Feb 2019, Duy Nguyen wrote:
> On Sat, Feb 2, 2019 at 4:21 AM Junio C Hamano wrote:
> >
> > Dan McGregor writes:
> >
> > > Commit 8dd2e88a92 ("http: support file handles for HTTP_KEEP_ERROR",
> > > 2019-01-10) introduced an implicit assumption that rewind, fileno, and
> > > ffl
On Sat, Feb 2, 2019 at 4:21 AM Junio C Hamano wrote:
>
> Dan McGregor writes:
>
> > Commit 8dd2e88a92 ("http: support file handles for HTTP_KEEP_ERROR",
> > 2019-01-10) introduced an implicit assumption that rewind, fileno, and
> > fflush are functions. At least on FreeBSD fileno is not, and as s
Dan McGregor writes:
> Commit 8dd2e88a92 ("http: support file handles for HTTP_KEEP_ERROR",
> 2019-01-10) introduced an implicit assumption that rewind, fileno, and
> fflush are functions. At least on FreeBSD fileno is not, and as such
> passing a void * failed.
I am not strongly opposed to this
Commit 8dd2e88a92 ("http: support file handles for HTTP_KEEP_ERROR",
2019-01-10) introduced an implicit assumption that rewind, fileno, and
fflush are functions. At least on FreeBSD fileno is not, and as such
passing a void * failed.
Explicitly cast result to a FILE * when using standard functions
7 matches
Mail list logo