From 00e9ab455532c625fd0f8687f73982df403db09c Mon Sep 17 00:00:00 2001 From: night0721 Date: Sun, 7 Apr 2024 17:44:38 +0000 Subject: [PATCH] remove debug line --- ccc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ccc.c b/ccc.c index 5197fb7..0aefbdd 100644 --- a/ccc.c +++ b/ccc.c @@ -903,9 +903,6 @@ char *replace_home(char *str) char *newstr = memalloc((strlen(str) + strlen(home)) * sizeof(char)); /* replace ~ with home */ snprintf(newstr, strlen(str) + strlen(home), "%s%s", home, str + 1); - FILE *a = fopen("/home/night/a", "a+"); - fprintf(a, "%s\n", newstr); - fclose(a); free(str); return newstr; }