Przeglądaj źródła

u-a: Rename altdb_interrupt_parsing() to altdb_parse_stop()

Guillem Jover 14 lat temu
rodzic
commit
0e13a18f47
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      utils/update-alternatives.c

+ 2 - 2
utils/update-alternatives.c

@@ -1135,7 +1135,7 @@ altdb_parse_error(struct altdb_context *ctx, const char *format, ...)
 }
 }
 
 
 static void DPKG_ATTR_NORET DPKG_ATTR_PRINTF(2)
 static void DPKG_ATTR_NORET DPKG_ATTR_PRINTF(2)
-altdb_interrupt_parsing(struct altdb_context *ctx, const char *format, ...)
+altdb_parse_stop(struct altdb_context *ctx, const char *format, ...)
 {
 {
 	longjmp(ctx->on_error, 1);
 	longjmp(ctx->on_error, 1);
 }
 }
@@ -1267,7 +1267,7 @@ alternative_load(struct alternative *a, bool must_not_die)
 		return false;
 		return false;
 	}
 	}
 	if (must_not_die)
 	if (must_not_die)
-		ctx.bad_format = altdb_interrupt_parsing;
+		ctx.bad_format = altdb_parse_stop;
 	else
 	else
 		ctx.bad_format = altdb_parse_error;
 		ctx.bad_format = altdb_parse_error;
 	xasprintf(&fn, "%s/%s", admdir, a->master_name);
 	xasprintf(&fn, "%s/%s", admdir, a->master_name);