[coreboot] r3789 - trunk/coreboot-v2/util/options

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Dec 2 13:37:30 CET 2008


On 02.12.2008 13:26, svn at 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 at coresystems.de>
> Acked-by: Stefan Reinauer <stepan at 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

-- 
http://www.hailfinger.org/





More information about the coreboot mailing list