diff options
author | Bruno Haible <bruno@clisp.org> | 2018-01-05 22:08:14 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-01-05 22:08:14 +0100 |
commit | 16fc1cdc25991b996e454254ca1365f966d00a59 (patch) | |
tree | 22d9c85e16598f470258b74d7360c6e206634d1f /lib/md5.h | |
parent | c3827a910617fd333a7b6f97c601796a46c2a2cf (diff) | |
download | gnulib-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/md5.h')
-rw-r--r-- | lib/md5.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -133,3 +133,10 @@ extern int __md5_stream (FILE *stream, void *resblock) __THROW; # endif #endif /* md5.h */ + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ |