On 02.12.2008 13:26, svn@coreboot.org wrote:
Author: stepan Date: 2008-12-02 13:26:17 +0100 (Tue, 02 Dec 2008) New Revision: 3789
Modified: trunk/coreboot-v2/util/options/build_opt_tbl.c Log: build_opt_tbl: make sure the temporary files are created in the same directory as the target files so they can be rename()d. This fixes a compilation issue on machines with the build directory living on another partition than /tmp. Pretty trivial.
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
This will break if the path is longer than 234 bytes, whereas PATH_MAX on my Linux system is 4096.
Regards, Carl-Daniel