| Summary: | Makefile.in uses mktemp | ||
|---|---|---|---|
| Product: | uClibc | Reporter: | Jeffrey Walton <noloader> |
| Component: | Other | Assignee: | 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: | |||
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, call to mktemp was removed in 115577807b0c1d65b97255fe5336ac5c257da5a1 |
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'; \