lucasssvaz commented on code in PR #9400:
URL: https://github.com/apache/nuttx/pull/9400#discussion_r1218137201
##########
tools/configure.c:
##########
@@ -1590,6 +1596,37 @@ static void refresh(void)
}
}
+static void save_original_config(void)
+{
+ snprintf(g_buffer, BUFFER_SIZE, "%s%c.config", g_topdir, g_delim);
+ char *source_config = strdup(g_buffer);
+ snprintf(g_buffer, BUFFER_SIZE, "%s%c.config.orig", g_topdir, g_delim);
Review Comment:
Because I've tested it and the .config.old file is used differently by
kconfig-frontends and kconfiglib. We cannot assume how it works.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]