← Commit list

1f6dc6d35

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2006-03-30
SOURCE BUG Duration: 7s

Subject

- rename clean_up in tune2fs and mke2fs to be prefixed with their applet names. Purely cosmetic to ease readability.

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

e2fsprogs/mke2fs.c+2 -2
@@ -1199,7 +1199,7 @@ BLOCKSIZE_ERROR:
return 1;
}
-static void clean_up(void)
+static void mke2fs_clean_up(void)
{
if (ENABLE_FEATURE_CLEAN_UP && journal_device) free(journal_device);
}
@@ -1214,7 +1214,7 @@ int mke2fs_main (int argc, char *argv[])
io_manager io_ptr;
if (ENABLE_FEATURE_CLEAN_UP)
- atexit(clean_up);
+ atexit(mke2fs_clean_up);
if(!PRS(argc, argv))
return 0;
e2fsprogs/tune2fs.c+2 -2
@@ -579,7 +579,7 @@ static ATTRIBUTE_NORETURN void do_findfs(int argc, char **argv)
#define do_findfs(x, y)
#endif
-static void clean_up(void)
+static void tune2fs_clean_up(void)
{
if (ENABLE_FEATURE_CLEAN_UP && device_name) free(device_name);
if (ENABLE_FEATURE_CLEAN_UP && journal_device) free(journal_device);
@@ -593,7 +593,7 @@ int tune2fs_main(int argc, char **argv)
io_manager io_ptr;
if (ENABLE_FEATURE_CLEAN_UP)
- atexit(clean_up);
+ atexit(tune2fs_clean_up);
if (ENABLE_FINDFS && (bb_applet_name[0] == 'f')) /* findfs */
do_findfs(argc, argv); /* no return */