From: Christian Kujau <evil@g-house.de>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>
Subject: 2.6.14-mm2: no .config.old any more?
Date: Tue, 15 Nov 2005 00:53:22 +0100 [thread overview]
Message-ID: <43792372.2010409@g-house.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 967 bytes --]
hi,
i noticed that 2.6.14-mm2 does not generate a .config.old anymore, so that
i can undo changes. i see that the Kconfig system is probably in flux
again ("Why did oldconfig's behavior change in 2.6.15-rc1?"), but i have
not seen this issue being reported:
% cp .config .config.really-old
% make menuconfig
[...]
scripts/kconfig/mconf arch/x86_64/Kconfig
#
# using defaults found in .config
#
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
% diff .config.really-old .config
4c4
< # Tue Nov 15 00:23:53 2005
---
> # Tue Nov 15 00:24:41 2005
1454c1454
< CONFIG_PRINTK_TIME=y
---
> # CONFIG_PRINTK_TIME is not set
% ls .config.old
ls: .config.old: No such file or directory
attached patch reverts one change introduced in 2.6.14-mm1 and fixes it
for me, but i doubt that it is the right thing to do....
thanks,
Christian.
--
BOFH excuse #404:
Sysadmin accidentally destroyed pager with a large hammer.
[-- Attachment #2: 2.6.14-mm2-config.old.diff --]
[-- Type: text/plain, Size: 759 bytes --]
--- linux-2.6-mm/scripts/kconfig/confdata.c.2.6.14-mm2 2005-11-15 00:41:29.647399464 +0100
+++ linux-2.6-mm/scripts/kconfig/confdata.c 2005-11-15 00:45:21.291184256 +0100
@@ -518,23 +518,13 @@ int conf_write(const char *name)
if (!name)
name = conf_def_filename;
sprintf(tmpname, "%s.old", name);
-// printf("rename1(%s, %s)\n", name, tmpname);
-// rename(name, tmpname);
+ rename(name, tmpname);
}
sprintf(tmpname, "%s%s", dirname, basename);
-// printf("rename2(%s, %s)\n", newname, tmpname);
-#if 0
if (rename(newname, tmpname))
return 1;
-#else
- {
- char buf[256];
- sprintf(buf, "cp %s %s", newname, tmpname);
- system(buf);
- unlink(newname);
- }
-#endif
- sym_change_count = 0;
-
+
+ sym_change_count = 0;
+
return 0;
}
next reply other threads:[~2005-11-14 23:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-14 23:53 Christian Kujau [this message]
2005-11-15 0:05 ` 2.6.14-mm2: no .config.old any more? Andrew Morton
2005-11-15 0:34 ` Christian Kujau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43792372.2010409@g-house.de \
--to=evil@g-house.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox