On Thu, Feb 05, 2015 at 04:28:47PM -0500, Jeff King wrote:
On Thu, Feb 05, 2015 at 01:16:36PM -0800, Junio C Hamano wrote:
Jeff King p...@peff.net writes:
On Thu, Feb 05, 2015 at 01:53:27AM -0500, Jeff King wrote:
I also notice that config_buf_ungetc does not actually ungetc the
On Thu, Feb 05, 2015 at 04:00:24PM -0500, Jeff King wrote:
On Thu, Feb 05, 2015 at 01:53:27AM -0500, Jeff King wrote:
I also notice that config_buf_ungetc does not actually ungetc the
character we give it; it just rewinds one character in the stream. This
is fine, because we always feed
On Thu, Feb 05, 2015 at 01:53:27AM -0500, Jeff King wrote:
I also notice that config_buf_ungetc does not actually ungetc the
character we give it; it just rewinds one character in the stream. This
is fine, because we always feed the last-retrieved character. I dunno if
it is worth fixing (it
Jeff King p...@peff.net writes:
On Thu, Feb 05, 2015 at 01:53:27AM -0500, Jeff King wrote:
I also notice that config_buf_ungetc does not actually ungetc the
character we give it; it just rewinds one character in the stream. This
is fine, because we always feed the last-retrieved character. I
On Thu, Feb 05, 2015 at 01:16:36PM -0800, Junio C Hamano wrote:
Jeff King p...@peff.net writes:
On Thu, Feb 05, 2015 at 01:53:27AM -0500, Jeff King wrote:
I also notice that config_buf_ungetc does not actually ungetc the
character we give it; it just rewinds one character in the
When we are parsing a config value, if we see a carriage
return, we fgetc the next character to see if it is a
line feed (in which case we silently drop the CR). If it
isn't, we then ungetc the character, and take the literal
CR.
But we never check whether we in fact got a character at
all. If
6 matches
Mail list logo