summaryrefslogtreecommitdiff
path: root/lib/sha1.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-01-05 22:08:14 +0100
committerBruno Haible <bruno@clisp.org>2018-01-05 22:08:14 +0100
commit16fc1cdc25991b996e454254ca1365f966d00a59 (patch)
tree22d9c85e16598f470258b74d7360c6e206634d1f /lib/sha1.c
parentc3827a910617fd333a7b6f97c601796a46c2a2cf (diff)
downloadgnulib-16fc1cdc25991b996e454254ca1365f966d00a59.tar.gz
maint: Add encoding marker for Emacs to non-ASCII sources.
Similar to commit f406941a8a2ec5fbf3eacc386b9be09d6593d53b from Paul Eggert <eggert@cs.ucla.edu> 2015-09-24. To determine the file list that need the marker, I used the command: for f in `find . -type f | grep -v '^\./\.git/' | grep -v '^\./tests/'`; do if iconv -f ASCII -t ASCII < $f > /dev/null 2>&1 ; then : ; else if iconv -f UTF-8 -t UTF-8 < $f > /dev/null 2>&1 ; then if grep 'The GNU C Library is' $f > /dev/null; then :; else if grep 'coding: utf-8' $f > /dev/null; then :; else echo $f fi fi fi fi done | LC_ALL=C sort
Diffstat (limited to 'lib/sha1.c')
-rw-r--r--lib/sha1.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/sha1.c b/lib/sha1.c
index 25dc99f9d9..37d46b68e7 100644
--- a/lib/sha1.c
+++ b/lib/sha1.c
@@ -434,3 +434,10 @@ sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx)
}
}
#endif
+
+/*
+ * Hey Emacs!
+ * Local Variables:
+ * coding: utf-8
+ * End:
+ */