From 135e92d756d96c3071fba6a0f580eb9ad185c6f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Wed, 16 Oct 2013 20:27:26 +0200 Subject: main/git: fix patch --- main/git/0001-config-add-_cb-suffix-to-callback-functions.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/git/0001-config-add-_cb-suffix-to-callback-functions.patch') diff --git a/main/git/0001-config-add-_cb-suffix-to-callback-functions.patch b/main/git/0001-config-add-_cb-suffix-to-callback-functions.patch index db06341103..5a22944be2 100644 --- a/main/git/0001-config-add-_cb-suffix-to-callback-functions.patch +++ b/main/git/0001-config-add-_cb-suffix-to-callback-functions.patch @@ -1,6 +1,6 @@ diff -rupN a/config.c b/config.c --- a/config.c 2013-09-27 01:49:38.000000000 +0200 -+++ b/config.c 2013-10-16 20:20:44.505672141 +0200 ++++ b/config.c 2013-10-16 20:26:27.835675951 +0200 @@ -30,6 +30,9 @@ struct config_source { int (*do_fgetc)(struct config_source *c); int (*do_ungetc)(int c, struct config_source *conf); @@ -16,7 +16,7 @@ diff -rupN a/config.c b/config.c static int get_next_char(void) { - int c = cf->do_fgetc(cf); -+ int c = cf->fgetc_cb(cf); ++ int c = cf->do_fgetc_cb(cf); if (c == '\r') { /* DOS like systems */ @@ -42,7 +42,7 @@ diff -rupN a/config.c b/config.c top.do_fgetc = config_buf_fgetc; top.do_ungetc = config_buf_ungetc; top.do_ftell = config_buf_ftell; -+ top.do_fget_cb = config_buf_fgetc; ++ top.do_fgetc_cb = config_buf_fgetc; + top.do_ungetc_cb = config_buf_ungetc; + top.do_ftell_cb = config_buf_ftell; -- cgit v1.2.3