From: Bruno Haible Date: Mon, 23 Jan 2006 17:04:17 +0000 (+0000) Subject: mktemp's option -q is unreliable. X-Git-Tag: v0.15~323 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a8f1f7748e8d58666c5579ca496ec1b7269c083;p=thirdparty%2Fgettext.git mktemp's option -q is unreliable. --- diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index a13287c0f..fedeaad44 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,12 @@ +2006-01-23 Bruno Haible + + * gettextize.in (func_tmpdir): Invoke mktemp without option -q, because + in some versions of mktemp this option has the effect that mktemp + outputs nothing at all. + (func_version): Bump copyright year. + * autopoint.in (func_tmpdir): Invoke mktemp without option -q. + (func_version): Bump copyright year. + 2005-09-18 Bruno Haible * autopoint.in (func_find_curr_installdir): Really remove the temporary diff --git a/gettext-tools/misc/autopoint.in b/gettext-tools/misc/autopoint.in index 71f89478f..b0519bf54 100644 --- a/gettext-tools/misc/autopoint.in +++ b/gettext-tools/misc/autopoint.in @@ -1,6 +1,6 @@ #! /bin/sh # -# Copyright (C) 2002-2005 Free Software Foundation, Inc. +# Copyright (C) 2002-2006 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ func_tmpdir () { # Use the mktemp program if available. If not available, hide the error # message. - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/gtXXXXXX") 2>/dev/null` && + tmp=`(umask 077 && mktemp -d "$TMPDIR/gtXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { @@ -168,7 +168,7 @@ Report bugs to ." func_version () { echo "$progname (GNU $package) $version" - echo "Copyright (C) 2002-2005 Free Software Foundation, Inc. + echo "Copyright (C) 2002-2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." echo "Written by" "Bruno Haible" diff --git a/gettext-tools/misc/gettextize.in b/gettext-tools/misc/gettextize.in index b9f29981a..21f27bba6 100644 --- a/gettext-tools/misc/gettextize.in +++ b/gettext-tools/misc/gettextize.in @@ -1,6 +1,6 @@ #! /bin/sh # -# Copyright (C) 1995-1998, 2000-2005 Free Software Foundation, Inc. +# Copyright (C) 1995-1998, 2000-2006 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ func_tmpdir () { # Use the mktemp program if available. If not available, hide the error # message. - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/gtXXXXXX") 2>/dev/null` && + tmp=`(umask 077 && mktemp -d "$TMPDIR/gtXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { @@ -168,7 +168,7 @@ Report bugs to ." func_version () { echo "$progname (GNU $package) $version" - echo "Copyright (C) 1995-1998, 2000-2005 Free Software Foundation, Inc. + echo "Copyright (C) 1995-1998, 2000-2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." echo "Written by" "Ulrich Drepper"