lkml.org 
[lkml]   [2006]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: + git-klibc-mktemp-fix.patch added to -mm tree
    On Sat, Apr 08, 2006 at 12:05:54AM -0700, akpm@osdl.org wrote:
    > diff -puN usr/dash/mkbuiltins~git-klibc-mktemp-fix usr/dash/mkbuiltins
    > --- 25/usr/dash/mkbuiltins~git-klibc-mktemp-fix Sat Apr 8 14:51:11 2006
    > +++ 25-akpm/usr/dash/mkbuiltins Sat Apr 8 14:51:11 2006
    > @@ -37,7 +37,7 @@
    >
    > tempfile=tempfile
    > if ! type tempfile > /dev/null 2>&1; then
    > - tempfile=mktemp
    > + tempfile="mktemp /tmp/tmp.XXXXXX"

    Shouldn't that be:
    > + tempfile="$(mktemp /tmp/tmp.XXXXXX)"

    Sam
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-04-08 22:17    [W:0.021 / U:32.368 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site