]> Savannah Git Hosting - gnulib.git/commit
maint: Add encoding marker for Emacs to non-ASCII sources.
authorBruno Haible <bruno@clisp.org>
Fri, 5 Jan 2018 21:08:14 +0000 (22:08 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 5 Jan 2018 21:08:14 +0000 (22:08 +0100)
commit16fc1cdc25991b996e454254ca1365f966d00a59
tree22d9c85e16598f470258b74d7360c6e206634d1f
parentc3827a910617fd333a7b6f97c601796a46c2a2cf
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
14 files changed:
build-aux/update-copyright
lib/getprogname.c
lib/md5.c
lib/md5.h
lib/memxor.h
lib/quotearg.c
lib/sha1.c
lib/sha1.h
lib/sha256.c
lib/sha256.h
lib/sha512.c
lib/sha512.h
lib/sm3.c
lib/sm3.h