summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fdopen.c
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-23 19:41:58 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-10-23 19:41:58 +0000
commitfab547dc0c9b8e00dc2430e44e9c5758a027abe6 (patch)
tree030fcd1c3275a3bc8936dff3f16f17f4e963692c /lib/libc/stdio/fdopen.c
parentf11412f79ebf4062cdaacff9e3aaf15e8555d72e (diff)
downloadFreeBSD-src-fab547dc0c9b8e00dc2430e44e9c5758a027abe6.zip
FreeBSD-src-fab547dc0c9b8e00dc2430e44e9c5758a027abe6.tar.gz
Fix regression from r289734 that caused crunchgen "subdirs" to not be
properly recursed. The .for loop was defining a ${__dir} variable that was being set at a different evaluation time than the target itself, so every 'cd ${__dir}' became the last value that was in ${__dir}. This resulted in 'make obj' not properly being ran in the tree that would leave .depend files scattered around when 'make all' was ran in rescue/. To fix this, define a CRUNCH_SRCDIR_* for every prog if it does not already have one and then use that variable in every relevant place. This allows simplifying some logic as well. Reported by: emaste X-MFC-With: r289734 MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc/stdio/fdopen.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud