+2012-01-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ Use ', not `, for quoting output.
+ * build-aux/announce-gen (usage, sizes, print_news_deltas)
+ (print_changelog_deltas, get_tool_versions, main program):
+ * build-aux/git-version-gen:
+ * build-aux/gitlog-to-changelog (usage, parse_amend_file):
+ * build-aux/move-if-change (help):
+ * build-aux/useless-if-before-free (usage, main program):
+ * check-module (parse_module_file, usage)
+ (find_included_lib_files, check_module):
+ * lib/argmatch.c (main) [TEST]:
+ * lib/argp-help.c (_help):
+ * lib/getopt1.c (main) [TEST]:
+ * lib/git-merge-changelog.c (usage):
+ * lib/xstrtol-error.c (xstrtol_error):
+ * m4/alloca.m4 (_AC_LIBOBJ_ALLOCA):
+ * m4/argz.m4 (gl_FUNC_ARGZ):
+ * m4/bison.m4 (gl_BISON):
+ * m4/calloc.m4 (gl_FUNC_CALLOC_GNU):
+ * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS):
+ * m4/flexmember.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER):
+ * m4/fpending.m4 (gl_PREREQ_FPENDING):
+ * m4/gc-random.m4 (gl_GC_RANDOM):
+ * m4/intl.m4 (gt_CHECK_DECL):
+ * m4/link-follow.m4 (gl_FUNC_LINK_FOLLOWS_SYMLINK):
+ * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT)
+ (AC_TYPE_UNSIGNED_LONG_LONG_INT):
+ * m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS):
+ * m4/lstat.m4 (gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
+ * m4/onceonly.m4 (AC_CHECK_FUNCS_ONCE):
+ * m4/posixver.m4 (gl_DEFAULT_POSIX2_VERSION):
+ * tests/test-dirname.c (main):
+ * tests/test-getpass.c (main):
+ * tests/test-iconvme.c (main):
+ * tests/test-parse-datetime.c (LOG):
+ * tests/test-xstrtoimax.sh:
+ * tests/test-xstrtol.sh:
+ * tests/test-xstrtoll.sh:
+ * tests/test-xstrtoumax.sh:
+ * tests/unigbrk/test-uc-is-grapheme-break.c (main):
+ * top/GNUmakefile (abort-due-to-no-makefile):
+ Quote 'like this', not `like this', as per the recent change to
+ the GNU coding standards.
+
2012-01-05 Bruno Haible <bruno@clisp.org>
strtoimax: Don't force a replacement on systems where intmax_t is int.
if 0;
# Generate a release announcement message.
-my $VERSION = '2011-12-25 18:26'; # UTC
+my $VERSION = '2012-01-06 07:21'; # UTC
# The definition above must lie within the first 8 lines in order
# for the Emacs time-stamp write hook (at end) to update it.
# If you change this file with Emacs, please let the write hook
my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR);
if ($exit_code != 0)
{
- print $STREAM "Try `$ME --help' for more information.\n";
+ print $STREAM "Try '$ME --help' for more information.\n";
}
else
{
my $t = `$cmd`;
# FIXME-someday: give a better diagnostic, a la $PROCESS_STATUS
$@
- and (warn "$ME: command failed: `$cmd'\n"), $fail = 1;
+ and (warn "$ME: command failed: '$cmd'\n"), $fail = 1;
chomp $t;
$t =~ s/^([\d.]+[MkK]).*/${1}B/;
$res{$f} = $t;
close NEWS;
$in_items
- or die "$ME: $news_file: no matching lines for `$curr_version'\n";
+ or die "$ME: $news_file: no matching lines for '$curr_version'\n";
$found_news
- or die "$ME: $news_file: no news item found for `$curr_version'\n";
+ or die "$ME: $news_file: no news item found for '$curr_version'\n";
}
sub print_changelog_deltas ($$)
my $cmd = "cvs -n diff -u -r$prev_cvs_tag -rHEAD @reordered";
open DIFF, '-|', $cmd
- or die "$ME: cannot run `$cmd': $!\n";
+ or die "$ME: cannot run '$cmd': $!\n";
# Print two types of lines, making minor changes:
# Lines starting with `+++ ', e.g.,
# +++ ChangeLog 22 Feb 2003 16:52:51 -0000 1.247
# The exit code should be 1.
# Allow in case there are no modified ChangeLog entries.
$? == 256 || $? == 128
- or warn "$ME: warning: `$cmd' had unexpected exit code or signal ($?)\n";
+ or warn "$ME: warning: '$cmd' had unexpected exit code or signal ($?)\n";
}
sub get_tool_versions ($$)
. "in the gnulib source directory.\n"), $fail = 1;
exists $valid_release_types{$release_type}
- or (warn "$ME: `$release_type': invalid release type\n"), $fail = 1;
+ or (warn "$ME: '$release_type': invalid release type\n"), $fail = 1;
@ARGV
and (warn "$ME: too many arguments:\n", join ("\n", @ARGV), "\n"),
gpg --keyserver keys.gnupg.net --recv-keys $gpg_key_id
-and rerun the \`gpg --verify' command.
+and rerun the 'gpg --verify' command.
EOF
my @tool_versions = get_tool_versions (\@tool_list, $gnulib_version);
#!/bin/sh
# Print a version string.
-scriptversion=2011-11-13.13; # UTC
+scriptversion=2012-01-06.07; # UTC
# Copyright (C) 2007-2012 Free Software Foundation, Inc.
#
--version) echo "$version"; exit 0;;
--prefix) shift; prefix="$1";;
-*)
- echo "$0: Unknown option \`$1'." >&2
- echo "$0: Try \`--help' for more information." >&2
+ echo "$0: Unknown option '$1'." >&2
+ echo "$0: Try '--help' for more information." >&2
exit 1;;
*)
if test -z "$tarball_version_file"; then
elif test -z "$tag_sed_script"; then
tag_sed_script="$1"
else
- echo "$0: extra non-option argument \`$1'." >&2
+ echo "$0: extra non-option argument '$1'." >&2
exit 1
fi;;
esac
if 0;
# Convert git log output to ChangeLog format.
-my $VERSION = '2012-01-02 14:48'; # UTC
+my $VERSION = '2012-01-06 07:14'; # UTC
# The definition above must lie within the first 8 lines in order
# for the Emacs time-stamp write hook (at end) to update it.
# If you change this file with Emacs, please let the write hook
my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR);
if ($exit_code != 0)
{
- print $STREAM "Try `$ME --help' for more information.\n";
+ print $STREAM "Try '$ME --help' for more information.\n";
}
else
{
my @cmd = (qw (git log --log-size),
'--pretty=format:%H:%ct %an <%ae>%n%n'.$format_string, @ARGV);
open PIPE, '-|', @cmd
- or die ("$ME: failed to run `". quoted_cmd (@cmd) ."': $!\n"
+ or die ("$ME: failed to run '". quoted_cmd (@cmd) ."': $!\n"
. "(Is your Git too old? Version 1.5.1 or later is required.)\n");
my $prev_multi_paragraph;
# Like mv $1 $2, but if the files are the same, just delete $1.
# Status is zero if successful, nonzero otherwise.
-VERSION='2011-01-28 20:09'; # UTC
+VERSION='2012-01-06 07:23'; # UTC
# The definition above must lie within the first 8 lines in order
# for the Emacs time-stamp write hook (at end) to update it.
# If you change this file with Emacs, please let the write hook
--help display this help and exit
--version output version information and exit
-The variable CMPPROG can be used to specify an alternative to \`cmp'.
+The variable CMPPROG can be used to specify an alternative to 'cmp'.
Report bugs to <bug-gnulib@gnu.org>."
# Detect instances of "if (p) free (p);".
# Likewise "if (p != 0)", "if (0 != p)", or with NULL; and with braces.
-my $VERSION = '2011-04-20 13:43'; # UTC
+my $VERSION = '2012-01-06 07:23'; # UTC
# The definition above must lie within the first 8 lines in order
# for the Emacs time-stamp write hook (at end) to update it.
# If you change this file with Emacs, please let the write hook
my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR);
if ($exit_code != 0)
{
- print $STREAM "Try `$ME --help' for more information.\n";
+ print $STREAM "Try '$ME --help' for more information.\n";
}
else
{
OPTIONS:
--list print only the name of each matching FILE (\\0-terminated)
- --name=N add name N to the list of \`free\'-like functions to detect;
+ --name=N add name N to the list of \'free\'-like functions to detect;
may be repeated
--help display this help and exit
foreach my $file (@ARGV)
{
open FH, '<', $file
- or (warn "$ME: can't open `$file' for reading: $!\n"),
+ or (warn "$ME: can't open '$file' for reading: $!\n"),
$err = EXIT_ERROR, next;
while (defined (my $line = <FH>))
{
my ($module_file) = @_;
open FH, '<', $module_file
- or die "$ME: can't open `$module_file' for reading: $!\n";
+ or die "$ME: can't open '$module_file' for reading: $!\n";
my %file_set;
my %dep_set;
my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR);
if ($exit_code != 0)
{
- print $STREAM "Try `$ME --help' for more information.\n";
+ print $STREAM "Try '$ME --help' for more information.\n";
}
else
{
Usage: $ME [OPTIONS] FILE...
Read a module description file and derive the set of files
-included directly by any .c or .h file listed in the `Files:' section.
+included directly by any .c or .h file listed in the 'Files:' section.
Take the union of all such sets for any dependent modules.
Then, compare that set with the set derived from the names
listed in the various Files: sections.
my %inc;
open FH, '<', $file
- or die "$ME: can't open `$file' for reading: $!\n";
+ or die "$ME: can't open '$file' for reading: $!\n";
while (defined (my $line = <FH>))
{
|| exists $exempt_header{$i}
and next;
!exists $module_all_files{$lib_file} && -f "../lib/$i"
- and warn "$f: $i is `#include'd, but not "
+ and warn "$f: $i is '#include'd, but not "
. "listed in module's Files: section\n";
}
#my @t = sort keys %$inc;
backup_type = XARGMATCH (program_name, argv[1],
backup_args, backup_vals);
- printf ("The version control is `%s'\n",
+ printf ("The version control is '%s'\n",
ARGMATCH_TO_ARGUMENT (backup_type, backup_args, backup_vals));
return 0;
if (flags & ARGP_HELP_SEE)
{
__argp_fmtstream_printf (fs, dgettext (argp->argp_domain, "\
-Try `%s --help' or `%s --usage' for more information.\n"),
+Try '%s --help' or '%s --usage' for more information.\n"),
name, name);
anything = 1;
}
break;
case 'c':
- printf ("option c with value `%s'\n", optarg);
+ printf ("option c with value '%s'\n", optarg);
break;
case 'd':
- printf ("option d with value `%s'\n", optarg);
+ printf ("option d with value '%s'\n", optarg);
break;
case '?':
usage (int status)
{
if (status != EXIT_SUCCESS)
- fprintf (stderr, "Try `%s --help' for more information.\n",
+ fprintf (stderr, "Try '%s --help' for more information.\n",
program_name);
else
{
abort ();
case LONGINT_INVALID:
- msgid = N_("invalid %s%s argument `%s'");
+ msgid = N_("invalid %s%s argument '%s'");
break;
case LONGINT_INVALID_SUFFIX_CHAR:
case LONGINT_INVALID_SUFFIX_CHAR_WITH_OVERFLOW:
- msgid = N_("invalid suffix in %s%s argument `%s'");
+ msgid = N_("invalid suffix in %s%s argument '%s'");
break;
case LONGINT_OVERFLOW:
- msgid = N_("%s%s argument `%s' too large");
+ msgid = N_("%s%s argument '%s' too large");
break;
}
-# alloca.m4 serial 13
+# alloca.m4 serial 14
dnl Copyright (C) 2002-2004, 2006-2007, 2009-2012 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
# use ar to extract alloca.o from them instead of compiling alloca.c.
AC_LIBSOURCES(alloca.c)
AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext])dnl
-AC_DEFINE(C_ALLOCA, 1, [Define to 1 if using `alloca.c'.])
+AC_DEFINE(C_ALLOCA, 1, [Define to 1 if using 'alloca.c'.])
-AC_CACHE_CHECK(whether `alloca.c' needs Cray hooks, ac_cv_os_cray,
+AC_CACHE_CHECK(whether 'alloca.c' needs Cray hooks, ac_cv_os_cray,
[AC_EGREP_CPP(webecray,
[#if defined CRAY && ! defined CRAY2
webecray
for ac_func in _getb67 GETB67 getb67; do
AC_CHECK_FUNC($ac_func,
[AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func,
- [Define to one of `_getb67', `GETB67',
- `getb67' for Cray-2 and Cray-YMP
+ [Define to one of '_getb67', 'GETB67',
+ 'getb67' for Cray-2 and Cray-YMP
systems. This function is required for
- `alloca.c' support on those systems.])
+ 'alloca.c' support on those systems.])
break])
done
fi
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
-# serial 10 argz.m4
+# serial 11 argz.m4
AC_DEFUN([gl_FUNC_ARGZ],
[gl_PREREQ_ARGZ
AC_CHECK_TYPES([error_t],
[],
[AC_DEFINE([error_t], [int],
- [Define to a type to use for `error_t' if it is not otherwise available.])
+ [Define to a type to use for 'error_t' if it is not otherwise available.])
AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
does not typedef error_t.])],
[#if defined(HAVE_ARGZ_H)
-# serial 6
+# serial 7
# Copyright (C) 2002, 2005, 2009-2012 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
dnl useful to override the description of YACC in the --help output, re
dnl parse-datetime.y assuming `bison -y'.
AC_ARG_VAR([YACC],
-[The `Yet Another C Compiler' implementation to use. Defaults to `bison -y'.
-Values other than `bison -y' will most likely break on most systems.])dnl
+[The "Yet Another C Compiler" implementation to use. Defaults to 'bison -y'.
+Values other than 'bison -y' will most likely break on most systems.])dnl
AC_ARG_VAR([YFLAGS],
[YFLAGS contains the list arguments that will be passed by default to Bison.
This script will default YFLAGS to the empty string to avoid a default value of
-`-d' given by some make applications.])dnl
+'-d' given by some make applications.])dnl
])
-# calloc.m4 serial 13
+# calloc.m4 serial 14
# Copyright (C) 2004-2012 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
_AC_FUNC_CALLOC_IF(
[AC_DEFINE([HAVE_CALLOC_GNU], [1],
- [Define to 1 if your system has a GNU libc compatible `calloc'
+ [Define to 1 if your system has a GNU libc compatible 'calloc'
function, and to 0 otherwise.])],
[AC_DEFINE([HAVE_CALLOC_GNU], [0])
REPLACE_CALLOC=1
-# serial 10 -*- Autoconf -*-
+# serial 11 -*- Autoconf -*-
# Enable extensions on systems that normally disable them.
# Copyright (C) 2003, 2006-2012 Free Software Foundation, Inc.
AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=])
if test "$MINIX" = yes; then
AC_DEFINE([_POSIX_SOURCE], [1],
- [Define to 1 if you need to in order for `stat' and other
+ [Define to 1 if you need to in order for 'stat' and other
things to work.])
AC_DEFINE([_POSIX_1_SOURCE], [2],
[Define to 2 if the system does not provide POSIX.1 features
-# serial 2
+# serial 3
# Check for flexible array member support.
# Copyright (C) 2006, 2009-2012 Free Software Foundation, Inc.
if test $ac_cv_c_flexmember = yes; then
AC_DEFINE([FLEXIBLE_ARRAY_MEMBER], [],
[Define to nothing if C supports flexible array members, and to
- 1 if it does not. That way, with a declaration like `struct s
+ 1 if it does not. That way, with a declaration like 'struct s
{ int n; double d@<:@FLEXIBLE_ARRAY_MEMBER@:>@; };', the struct hack
can be used with pre-C99 compilers.
When computing the size of such an object, don't use 'sizeof (struct s)'
-# serial 17
+# serial 18
# Copyright (C) 2000-2001, 2004-2012 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
)
AC_DEFINE_UNQUOTED([PENDING_OUTPUT_N_BYTES],
$ac_cv_sys_pending_output_n_bytes,
- [the number of pending output bytes on stream `fp'])
+ [the number of pending output bytes on stream 'fp'])
])
-# gc-random.m4 serial 5
+# gc-random.m4 serial 6
dnl Copyright (C) 2005-2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
if test "$cross_compiling" != yes; then
if test "$NAME_OF_RANDOM_DEVICE" != "no"; then
AC_CHECK_FILE([$NAME_OF_RANDOM_DEVICE],,
- AC_MSG_WARN([[Device `$NAME_OF_RANDOM_DEVICE' does not exist, consider to use --enable-random-device]]))
+ AC_MSG_WARN([[Device '$NAME_OF_RANDOM_DEVICE' does not exist, consider to use --enable-random-device]]))
fi
if test "$NAME_OF_PSEUDO_RANDOM_DEVICE" != "no"; then
AC_CHECK_FILE([$NAME_OF_PSEUDO_RANDOM_DEVICE],,
- AC_MSG_WARN([[Device `$NAME_OF_PSEUDO_RANDOM_DEVICE' does not exist, consider to use --enable-pseudo-random-device]]))
+ AC_MSG_WARN([[Device '$NAME_OF_PSEUDO_RANDOM_DEVICE' does not exist, consider to use --enable-pseudo-random-device]]))
fi
if test "$NAME_OF_NONCE_DEVICE" != "no"; then
AC_CHECK_FILE([$NAME_OF_NONCE_DEVICE],,
- AC_MSG_WARN([[Device `$NAME_OF_NONCE_DEVICE' does not exist, consider to use --enable-nonce-device]]))
+ AC_MSG_WARN([[Device '$NAME_OF_NONCE_DEVICE' does not exist, consider to use --enable-nonce-device]]))
fi
else
AC_MSG_NOTICE([[Cross compiling, assuming random devices exists on the target host...]])
-# intl.m4 serial 17b
+# intl.m4 serial 17c
dnl Copyright (C) 1995-2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
gt_value=0
fi
AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
- [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
+ [Define to 1 if you have the declaration of '$1', and to 0 if you don't.])
])
-# serial 16
+# serial 17
dnl Run a program to determine whether link(2) follows symlinks.
dnl Set LINK_FOLLOWS_SYMLINKS accordingly.
fi
fi
AC_DEFINE_UNQUOTED([LINK_FOLLOWS_SYMLINKS], [$gl_link_follows_symlinks],
- [Define to 1 if `link(2)' dereferences symbolic links, 0 if it
+ [Define to 1 if 'link(2)' dereferences symbolic links, 0 if it
creates hard links to symlinks, -1 if it depends on the variable __xpg4,
and -2 if unknown.])
])
-# longlong.m4 serial 16
+# longlong.m4 serial 17
dnl Copyright (C) 1999-2007, 2009-2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
fi])
if test $ac_cv_type_long_long_int = yes; then
AC_DEFINE([HAVE_LONG_LONG_INT], [1],
- [Define to 1 if the system has the type `long long int'.])
+ [Define to 1 if the system has the type 'long long int'.])
fi
])
fi])
if test $ac_cv_type_unsigned_long_long_int = yes; then
AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1],
- [Define to 1 if the system has the type `unsigned long long int'.])
+ [Define to 1 if the system has the type 'unsigned long long int'.])
fi
])
-# serial 29
+# serial 30
# How to list mounted file systems.
# Copyright (C) 1998-2004, 2006, 2009-2012 Free Software Foundation, Inc.
AC_DEFINE([MOUNTED_VMOUNT], [1],
[Define if there is a function named mntctl that can be used to read
the list of mounted file systems, and there is a system header file
- that declares `struct vmount.' (AIX)])
+ that declares 'struct vmount'. (AIX)])
fi
fi
-# serial 23
+# serial 24
# Copyright (C) 1997-2001, 2003-2012 Free Software Foundation, Inc.
#
])
test $gl_cv_func_lstat_dereferences_slashed_symlink = yes &&
AC_DEFINE_UNQUOTED([LSTAT_FOLLOWS_SLASHED_SYMLINK], [1],
- [Define to 1 if `lstat' dereferences a symlink specified
+ [Define to 1 if 'lstat' dereferences a symlink specified
with a trailing slash.])
])
-# onceonly.m4 serial 8
+# onceonly.m4 serial 9
dnl Copyright (C) 2002-2003, 2005-2006, 2008-2012 Free Software Foundation,
dnl Inc.
dnl
[gl_func_list="$gl_func_list gl_FUNC_NAME"])
gl_FUNCS_EXPANSION
AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])),
- [Define to 1 if you have the `]m4_defn([gl_FUNC_NAME])[' function.])
+ [Define to 1 if you have the ']m4_defn([gl_FUNC_NAME])[' function.])
])
AC_REQUIRE([gl_CHECK_FUNC_]m4_defn([gl_FUNC_NAME]))
])
-# posixver.m4 serial 11
+# posixver.m4 serial 12
dnl Copyright (C) 2002-2006, 2009-2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
the form YYYYMM, specifying the year and month the standard was
adopted. If not defined here, it defaults to the value of
_POSIX2_VERSION in <unistd.h>. Define to 199209 to default to
- POSIX 1003.2-1992, which makes standard programs like `head',
- `tail', and `sort' accept obsolete options like `+10' and
- `-10'. Define to 200112 to default to POSIX 1003.1-2001, which
- makes these standard programs treat leading-`+' operands as
- file names and require modern usages like `-n 10' instead of
- `-10'. Whether defined here or not, the default can be
+ POSIX 1003.2-1992, which makes standard programs like 'head',
+ 'tail', and 'sort' accept obsolete options like '+10' and
+ '-10'. Define to 200112 to default to POSIX 1003.1-2001, which
+ makes these standard programs treat leading-'+' operands as
+ file names and require modern usages like '-n 10' instead of
+ '-10'. Whether defined here or not, the default can be
overridden at run time via the _POSIX2_VERSION environment
variable.])
fi
|| (dirlen + 1 == strlen (dir) && dir[dirlen] == '.'))))
{
ok = false;
- printf ("dir_name `%s': got `%s' len %d, expected `%s' len %ld\n",
+ printf ("dir_name '%s': got '%s' len %d,"
+ " expected '%s' len %ld\n",
t->name, dir, dirlen,
t->dir, (unsigned long) strlen (t->dir));
}
if (strcmp (last, t->last))
{
ok = false;
- printf ("last_component `%s': got `%s', expected `%s'\n",
+ printf ("last_component '%s': got '%s', expected '%s'\n",
t->name, last, t->last);
}
if (! (strcmp (base, t->base) == 0
&& ISSLASH (base[baselen])))))
{
ok = false;
- printf ("base_name `%s': got `%s' len %d, expected `%s' len %ld\n",
+ printf ("base_name '%s': got '%s' len %d,"
+ " expected '%s' len %ld\n",
t->name, base, baselen,
t->base, (unsigned long) strlen (t->base));
}
if (strcmp (stripped, t->stripped) || modified != t->modified)
{
ok = false;
- printf ("strip_trailing_slashes `%s': got %s %s, expected %s %s\n",
+ printf ("strip_trailing_slashes '%s': got %s %s, expected %s %s\n",
t->name, stripped, modified ? "changed" : "unchanged",
t->stripped, t->modified ? "changed" : "unchanged");
}
if (t->absolute != absolute)
{
ok = false;
- printf ("`%s': got %s, expected %s\n", t->name,
+ printf ("'%s': got %s, expected %s\n", t->name,
absolute ? "absolute" : "relative",
t->absolute ? "absolute" : "relative");
}
{
char *pass = getpass ("Enter password: ");
- printf ("The password is `%s'\n", pass);
+ printf ("The password is '%s'\n", pass);
return 0;
}
from[strlen (from) - 1] = '\0';
}
- printf (" Input string: `%s'\n"
- "From code set: `%s'\n"
- " To code set: `%s'\n",
+ printf (" Input string: '%s'\n"
+ "From code set: '%s'\n"
+ " To code set: '%s'\n",
in, from, to);
out = iconv_string (in, from, to);
perror ("iconv");
else
{
- printf ("\nOutput: `%s'\n", out);
+ printf ("\nOutput: '%s'\n", out);
free (out);
}
#ifdef DEBUG
#define LOG(str, now, res) \
- printf ("string `%s' diff %d %d\n", \
+ printf ("string '%s' diff %d %d\n", \
str, res.tv_sec - now.tv_sec, res.tv_nsec - now.tv_nsec);
#else
#define LOG(str, now, res) (void) 0
1->1 ()
-1->-1 ()
1k->1024 ()
-invalid suffix in X argument \`${too_big}h'
-X argument \`$too_big' too large
-invalid X argument \`x'
-invalid suffix in X argument \`9x'
+invalid suffix in X argument '${too_big}h'
+X argument '$too_big' too large
+invalid X argument 'x'
+invalid suffix in X argument '9x'
010->8 ()
MiB->1048576 ()
EOF
1->1 ()
-1->-1 ()
1k->1024 ()
-invalid suffix in X argument \`${too_big}h'
-X argument \`$too_big' too large
-invalid X argument \`x'
-invalid suffix in X argument \`9x'
+invalid suffix in X argument '${too_big}h'
+X argument '$too_big' too large
+invalid X argument 'x'
+invalid suffix in X argument '9x'
010->8 ()
MiB->1048576 ()
1->1 ()
-invalid X argument \`-1'
+invalid X argument '-1'
1k->1024 ()
-invalid suffix in X argument \`${too_big}h'
-X argument \`$too_big' too large
-invalid X argument \`x'
-invalid suffix in X argument \`9x'
+invalid suffix in X argument '${too_big}h'
+X argument '$too_big' too large
+invalid X argument 'x'
+invalid suffix in X argument '9x'
010->8 ()
MiB->1048576 ()
EOF
1->1 ()
-1->-1 ()
1k->1024 ()
-invalid suffix in X argument \`${too_big}h'
-X argument \`$too_big' too large
-invalid X argument \`x'
-invalid suffix in X argument \`9x'
+invalid suffix in X argument '${too_big}h'
+X argument '$too_big' too large
+invalid X argument 'x'
+invalid suffix in X argument '9x'
010->8 ()
MiB->1048576 ()
1->1 ()
-invalid X argument \`-1'
+invalid X argument '-1'
1k->1024 ()
-invalid suffix in X argument \`${too_big}h'
-X argument \`$too_big' too large
-invalid X argument \`x'
-invalid suffix in X argument \`9x'
+invalid suffix in X argument '${too_big}h'
+X argument '$too_big' too large
+invalid X argument 'x'
+invalid suffix in X argument '9x'
010->8 ()
MiB->1048576 ()
EOF
# compare expected output
cat > exp <<EOF
1->1 ()
-invalid X argument \`-1'
+invalid X argument '-1'
1k->1024 ()
-invalid suffix in X argument \`${too_big}h'
-X argument \`$too_big' too large
-invalid X argument \`x'
-invalid suffix in X argument \`9x'
+invalid suffix in X argument '${too_big}h'
+X argument '$too_big' too large
+invalid X argument 'x'
+invalid suffix in X argument '9x'
010->8 ()
MiB->1048576 ()
EOF
}
else
{
- fprintf (stderr, "%s:%d.%d: syntax error expecting `÷' or `÷'\n",
+ fprintf (stderr, "%s:%d.%d: syntax error expecting '÷' or '÷'\n",
filename, lineno, (int) (p - line + 1));
exit (1);
}
if (sscanf (p, "%x%n", &next_int, &n) != 1)
{
- fprintf (stderr, "%s:%d.%d: syntax error at `%s' expecting "
- "hexadecimal Unicode code point number\n",
+ fprintf (stderr, "%s:%d.%d: syntax error at '%s' "
+ "expecting hexadecimal Unicode code point number\n",
filename, lineno, (int) (p - line + 1), p);
exit (1);
}
abort-due-to-no-makefile:
@echo There seems to be no Makefile in this directory. 1>&2
- @echo "You must run ./configure before running \`make'." 1>&2
+ @echo "You must run ./configure before running 'make'." 1>&2
@exit 1
endif