← Commit list

18260d509

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2006-04-18
SOURCE BUG Duration: 27s

Subject

- typo: s/derefernce/dereference/g Thanks to P.J. Day.

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 →

archival/tar.c+3 -2
@@ -596,7 +596,7 @@ static char get_header_tar_Z(archive_handle_t *archive_handle)
#define TAR_OPT_AFTER_START 8
#define CTX_CREATE (1 << (TAR_OPT_AFTER_START))
-#define TAR_OPT_DEREFERNCE (1 << (TAR_OPT_AFTER_START + 1))
+#define TAR_OPT_DEREFERENCE (1 << (TAR_OPT_AFTER_START + 1))
#ifdef CONFIG_FEATURE_TAR_CREATE
# define TAR_OPT_STR_CREATE "ch"
# define TAR_OPT_AFTER_CREATE TAR_OPT_AFTER_START + 2
@@ -851,7 +851,8 @@ int tar_main(int argc, char **argv)
{
verboseFlag = TRUE;
}
- writeTarFile(tar_handle->src_fd, verboseFlag, opt & TAR_OPT_DEREFERNCE, tar_handle->accept,
+ writeTarFile(tar_handle->src_fd, verboseFlag, opt & TAR_OPT_DEREFERENCE,
+ tar_handle->accept,
tar_handle->reject, zipMode);
} else {
while (get_header_ptr(tar_handle) == EXIT_SUCCESS);
coreutils/stat.c+2 -2
@@ -28,7 +28,7 @@
/* vars to control behavior */
#define OPT_TERSE 2
-#define OPT_DEREFERNCE 4
+#define OPT_DEREFERENCE 4
static long flags;
static char const *file_type(struct stat const *st)
@@ -424,7 +424,7 @@ static int do_stat(char const *filename, char const *format)
{
struct stat statbuf;
- if ((flags & OPT_DEREFERNCE ? stat : lstat) (filename, &statbuf) != 0) {
+ if ((flags & OPT_DEREFERENCE ? stat : lstat) (filename, &statbuf) != 0) {
bb_perror_msg("cannot stat '%s'", filename);
return 0;
}
testsuite/all_sourcecode.tests+1 -0
@@ -48,6 +48,7 @@ find $srcdir/../ \
-e '\<formated\>' \
-e '\<algorithic\>' \
-e '\<deamon\>' \
+ -e '\<derefernce\>' \
| sed -e "s:^$srcdir/\.\./::g" > src.typos
testing "Common typos" "cat src.typos" "" "" ""
rm -f src.typos