Searched hist:149041 (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/sys/dev/drm/
H A Ddrm_pciids.hdiff 210819 Tue Aug 03 14:45:03 MDT 2010 olli Add support for ATI Radeon HD 4250.

PR: kern/149041
Submitted by: olli
Reviewed by: rnoland
Approved by: des (mentor)
MFC after: 1 week
/freebsd-9.3-release/usr.sbin/portsnap/portsnap/
H A Dportsnap.shdiff 149041 Sat Aug 13 19:28:43 MDT 2005 cperciva Correctly exit from extract_run() and update_run() if files needed are
missing from ${WORKDIR}/files/.

This bug was caused by the astonishing interaction of "return" and
pipelines; in the following code, the "return" does not exit the
function, but instead exits the subshell which was spawned for the last
element of the pipeline; consequently, the output produced is "foo".

foo() {
echo bar | while read baz; do
if [ ${baz} = "bar" ]; then
return 1
fi
done

echo foo
}

Reported by: simon

Completed in 59 milliseconds