-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update gnulib files, use valgrind-tests module, fix syntax-check prob…
…lems.
- Loading branch information
Showing
59 changed files
with
1,819 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
^src/cfg/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
# Sign files and upload them. | ||
|
||
scriptversion=2010-02-08.07; # UTC | ||
scriptversion=2010-05-23.15; # UTC | ||
|
||
# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | ||
# Foundation, Inc. | ||
|
@@ -32,6 +32,8 @@ delete_files= | |
delete_symlinks= | ||
collect_var= | ||
dbg= | ||
nl=' | ||
' | ||
|
||
usage="Usage: $0 [OPTION]... [CMD] FILE... [[CMD] FILE...] | ||
|
@@ -109,7 +111,8 @@ Send patches to <[email protected]>." | |
# Read local configuration file | ||
if test -r "$conffile"; then | ||
echo "$0: Reading configuration file $conffile" | ||
eval set x "`sed 's/#.*$//;/^$/d' \"$conffile\" | tr '\012\015' ' '` \"\$@\"" | ||
conf=`sed 's/#.*$//;/^$/d' "$conffile" | tr "\015$nl" ' '` | ||
eval set x "$conf \"\$@\"" | ||
shift | ||
fi | ||
|
||
|
@@ -185,7 +188,7 @@ done | |
|
||
dprint() | ||
{ | ||
echo "Running $*..." | ||
echo "Running $* ..." | ||
} | ||
|
||
if $dry_run; then | ||
|
@@ -249,7 +252,7 @@ echo | |
if test $# -ne 0; then | ||
for file | ||
do | ||
echo "Signing $file..." | ||
echo "Signing $file ..." | ||
rm -f $file.sig | ||
echo "$passphrase" | $dbg $GPG --passphrase-fd 0 -ba -o $file.sig $file | ||
done | ||
|
@@ -388,7 +391,7 @@ for dest in $to | |
do | ||
for file | ||
do | ||
echo "Uploading $file to $dest..." | ||
echo "Uploading $file to $dest ..." | ||
stmt= | ||
files="$file $file.sig" | ||
destdir=`echo $dest | sed 's/[^:]*://'` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# asm-underscore.m4 serial 1 | ||
dnl Copyright (C) 2010 Free Software Foundation, Inc. | ||
dnl This file is free software; the Free Software Foundation | ||
dnl gives unlimited permission to copy and/or distribute it, | ||
dnl with or without modifications, as long as this notice is preserved. | ||
|
||
dnl From Bruno Haible. Based on as-underscore.m4 in GNU clisp. | ||
|
||
# gl_ASM_SYMBOL_PREFIX | ||
# Tests for the prefix of C symbols at the assembly language level and the | ||
# linker level. This prefix is either an underscore or empty. Defines the | ||
# C macro USER_LABEL_PREFIX to this prefix, and sets ASM_SYMBOL_PREFIX to | ||
# a stringified variant of this prefix. | ||
|
||
AC_DEFUN([gl_ASM_SYMBOL_PREFIX], | ||
[ | ||
dnl We don't use GCC's __USER_LABEL_PREFIX__ here, because | ||
dnl 1. It works only for GCC. | ||
dnl 2. It is incorrectly defined on some platforms, in some GCC versions. | ||
AC_CACHE_CHECK( | ||
[whether C symbols are prefixed with underscore at the linker level], | ||
[gl_cv_prog_as_underscore], | ||
[cat > conftest.c <<EOF | ||
#ifdef __cplusplus | ||
extern "C" int foo (void); | ||
#endif | ||
int foo(void) { return 0; } | ||
EOF | ||
# Look for the assembly language name in the .s file. | ||
AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS -S conftest.c) >/dev/null 2>&1 | ||
if grep _foo conftest.s >/dev/null ; then | ||
gl_cv_prog_as_underscore=yes | ||
else | ||
gl_cv_prog_as_underscore=no | ||
fi | ||
rm -f conftest* | ||
]) | ||
if test $gl_cv_prog_as_underscore = yes; then | ||
USER_LABEL_PREFIX=_ | ||
else | ||
USER_LABEL_PREFIX= | ||
fi | ||
AC_DEFINE_UNQUOTED([USER_LABEL_PREFIX], [$USER_LABEL_PREFIX], | ||
[Define to the prefix of C symbols at the assembler and linker level, | ||
either an underscore or empty.]) | ||
ASM_SYMBOL_PREFIX='"'${USER_LABEL_PREFIX}'"' | ||
AC_SUBST([ASM_SYMBOL_PREFIX]) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.