Bug 6002

Summary: Makefile.in uses mktemp
Product: uClibc Reporter: Jeffrey Walton <noloader>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: uclibc-cvs
Priority: P5    
Version: 0.9.33.3   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Jeffrey Walton 2013-02-28 00:49:56 UTC
Below is around line 170 in Makefile.in. I believe its preferred to use mkstemp with XXXXXX of at least 6. 

@$(disp_gen)
$(Q)set -e; \
tmp=`mktemp $(top_builddir)include/bits/sysnum.h.XXXXXX 2>/dev/null || true`; \
    [ -z "$$tmp" ] && tmp='$(top_builddir)include/bits/sysnum.h.new'; \
Comment 1 Bernhard Reutner-Fischer 2013-02-28 11:57:24 UTC
Just use .new unconditionally. Patch that does that is very welcome (nowadays we should not by racy against parallel attempts to generate the header so the whole thing is not needed anymore).

thanks,
Comment 2 Bernhard Reutner-Fischer 2014-04-01 16:27:28 UTC
call to mktemp was removed in 115577807b0c1d65b97255fe5336ac5c257da5a1