aboutsummaryrefslogtreecommitdiffstats
path: root/src/build.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.c')
-rw-r--r--src/build.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/build.c b/src/build.c
index d601e42..9b24753 100644
--- a/src/build.c
+++ b/src/build.c
@@ -492,12 +492,6 @@ static int handle_c(dep_info *dep) {
goto exit2;
}
- errno = 0;
- long magic = strtol(ctx.fields[2], NULL, 10);
- if (errno) {
- retval = build_target(dep);
- goto exit;
- }
FILE *targetfd = fopen(dep->target, "rb");
if (!targetfd) {
@@ -513,13 +507,6 @@ static int handle_c(dep_info *dep) {
}
}
- if (magic == atoi(getenv("REDO_MAGIC"))) {
- /* magic number matches */
- fclose(targetfd);
- retval = 1;
- goto exit;
- }
-
struct stat curr_st;
if (sscanf(ctx.fields[1], "%lld.%ld", (long long*)&dep->ctime.tv_sec,
&dep->ctime.tv_nsec) < 2) {