mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 02:34:55 +00:00
maint: add coding cookies to non-ASCII sources
Otherwise, Emacs might do the wrong thing if run in an he_IL.ISO-8859-8 locale, which an Emacs developer does on occasion. Problem reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00966.html Don't bother with test files, as they aren't copied to the Emacs source directory. If this problem affects test files in some other GNU project, we can add coding cookies to the non-ASCII test files later.
This commit is contained in:
@@ -727,6 +727,7 @@ Date Modules Changes
|
||||
|
||||
# This is for Emacs.
|
||||
# Local Variables:
|
||||
# coding: utf-8
|
||||
# indent-tabs-mode: nil
|
||||
# whitespace-check-buffer-indent: nil
|
||||
# End:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# Makefile for gnulib doc.
|
||||
# Makefile for gnulib doc. -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2004, 2006-2015 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
|
||||
+1
-1
@@ -4312,7 +4312,7 @@ func_import ()
|
||||
fi
|
||||
done
|
||||
else
|
||||
# This loop has O(N²) worst-case run time.
|
||||
# This loop has O(N**2) worst-case run time.
|
||||
for module in $cached_specified_modules; do
|
||||
to_remove=
|
||||
for m in $1; do
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Test whether a file has a nontrivial access control list.
|
||||
/* Test whether a file has a nontrivial ACL. -*- coding: utf-8 -*-
|
||||
|
||||
Copyright (C) 2002-2003, 2005-2015 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Internal implementation of access control lists.
|
||||
/* Internal implementation of access control lists. -*- coding: utf-8 -*-
|
||||
|
||||
Copyright (C) 2002-2003, 2005-2015 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Convert string to double, using the C locale.
|
||||
/* Convert string to double, using the C locale. -*- coding: utf-8 -*-
|
||||
|
||||
Copyright (C) 2003-2004, 2009-2015 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* copy-acl.c - copy access control list from one file to another file
|
||||
/* Copy access control list from one file to file. -*- coding: utf-8 -*-
|
||||
|
||||
Copyright (C) 2002-2003, 2005-2015 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Diacritics processing for a few character codes.
|
||||
/* Diacritics processing for a few character codes. -*- coding: utf-8 -*-
|
||||
|
||||
Copyright (C) 1990-1993, 2000, 2006, 2009-2015 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Diacritics processing for a few character codes.
|
||||
/* Diacritics processing for a few character codes. -*- coding: utf-8 -*-
|
||||
Copyright (C) 1990-1993, 2009-2015 Free Software Foundation, Inc.
|
||||
François Pinard <pinard@iro.umontreal.ca>, 1988.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Test whether a file has a nontrivial access control list.
|
||||
/* Test whether a file has a nontrivial ACL. -*- coding: utf-8 -*-
|
||||
|
||||
Copyright (C) 2002-2003, 2005-2015 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Manipulating the FPU control word.
|
||||
/* Manipulating the FPU control word. -*- coding: utf-8 -*-
|
||||
Copyright (C) 2007-2015 Free Software Foundation, Inc.
|
||||
Written by Bruno Haible <bruno@clisp.org>, 2007.
|
||||
|
||||
|
||||
@@ -10171,8 +10171,8 @@ main (int argc, char * argv[])
|
||||
}
|
||||
|
||||
/*
|
||||
* For Emacs M-x compile
|
||||
* Local Variables:
|
||||
* coding: utf-8
|
||||
* compile-command: "\
|
||||
* gcc -O -Wall gen-uni-tables.c -Iunictype -o gen-uni-tables && \\
|
||||
* ./gen-uni-tables \\
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* get-permissions.c - get permissions of a file
|
||||
/* Get permissions of a file. -*- coding: utf-8 -*-
|
||||
|
||||
Copyright (C) 2002-2003, 2005-2015 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Abstract sequential list data type.
|
||||
/* Abstract sequential list data type. -*- coding: utf-8 -*-
|
||||
Copyright (C) 2006-2015 Free Software Foundation, Inc.
|
||||
Written by Bruno Haible <bruno@clisp.org>, 2006.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* gl_openssl.h -- wrap openssl crypto hash routines in gnulib interface
|
||||
/* Wrap openssl crypto hash routines in gnulib interface. -*- coding: utf-8 -*-
|
||||
|
||||
Copyright (C) 2013-2015 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* ignore a function return without a compiler warning
|
||||
/* ignore a function return without a compiler warning. -*- coding: utf-8 -*-
|
||||
|
||||
Copyright (C) 2008-2015 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Case-insensitive searching in a string.
|
||||
/* Case-insensitive searching in a string. -*- coding: utf-8 -*-
|
||||
Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||
Written by Bruno Haible <bruno@clisp.org>, 2005.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Searching in a string.
|
||||
/* Searching in a string. -*- coding: utf-8 -*-
|
||||
Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||
Written by Bruno Haible <bruno@clisp.org>, 2005.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* memxor.c -- perform binary exclusive OR operation of two memory blocks.
|
||||
/* Binary exclusive OR operation of two memory blocks. -*- coding: utf-8 -*-
|
||||
Copyright (C) 2005-2006, 2009-2015 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Filtering of data through a subprocess.
|
||||
/* Filtering of data through a subprocess. -*- coding: utf-8 -*-
|
||||
Copyright (C) 2009-2015 Free Software Foundation, Inc.
|
||||
Written by Bruno Haible <haible@clisp.cons.org>, 2009,
|
||||
and Paolo Bonzini <bonzini@gnu.org>, 2009.
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Localization of proper names.
|
||||
/* Localization of proper names. -*- coding: utf-8 -*-
|
||||
Copyright (C) 2006, 2008-2015 Free Software Foundation, Inc.
|
||||
Written by Bruno Haible <bruno@clisp.org>, 2006.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* copy-acl.c - copy access control list from one file to another file
|
||||
/* Copy access control list from one file to another. -*- coding: utf-8 -*-
|
||||
|
||||
Copyright (C) 2002-2003, 2005-2015 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* set-permissions.c - set permissions of a file
|
||||
/* Set permissions of a file. -*- coding: utf-8 -*-
|
||||
|
||||
Copyright (C) 2002-2003, 2005-2015 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Set the current locale.
|
||||
/* Set the current locale. -*- coding: utf-8 -*-
|
||||
Copyright (C) 2009, 2011-2015 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Compare strings while treating digits characters numerically.
|
||||
/* Compare strings while treating digits numerically. -*- coding: utf-8 -*-
|
||||
Copyright (C) 1997, 2000, 2002, 2004, 2006, 2009-2015 Free Software
|
||||
Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Quad-precision floating point argument reduction.
|
||||
/* Quad-precision floating point argument reduction. -*- coding: utf-8 -*-
|
||||
Copyright (C) 1999, 2007, 2009-2015 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Jakub Jelinek <jj@ultra.linux.cz>
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/* Declarations for sinl, cosl, tanl internal functions
|
||||
/* Declarations for sinl, cosl, tanl internal functions. -*- coding: utf-8 -*-
|
||||
Contributed by Paolo Bonzini
|
||||
|
||||
Copyright 2002-2003, 2009-2015 Free Software Foundation, Inc.
|
||||
|
||||
@@ -268,3 +268,10 @@
|
||||
"zh", /* Chinese" */
|
||||
"zu", /* Zulu" */
|
||||
"zap", /* Zapotec" */
|
||||
%{
|
||||
/*
|
||||
* Local Variables:
|
||||
* coding: utf-8
|
||||
* End:
|
||||
*/
|
||||
%}
|
||||
|
||||
@@ -499,3 +499,9 @@ FUNC (const UNIT *s, size_t n,
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* Local Variables:
|
||||
* coding: utf-8
|
||||
* End:
|
||||
*/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Substring test for UTF-8/UTF-16/UTF-32 strings.
|
||||
/* Substring test for UTF-8/UTF-16/UTF-32 strings. -*- coding: utf-8 -*-
|
||||
Copyright (C) 1999, 2002, 2006, 2010-2015 Free Software Foundation, Inc.
|
||||
Written by Bruno Haible <bruno@clisp.org>, 2002, 2005.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Word breaks in UTF-8/UTF-16/UTF-32 strings.
|
||||
/* Word breaks in UTF-8/UTF-16/UTF-32 strings. -*- coding: utf-8 -*-
|
||||
Copyright (C) 2009-2015 Free Software Foundation, Inc.
|
||||
Written by Bruno Haible <bruno@clisp.org>, 2009.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Word break auxiliary table.
|
||||
/* Word break auxiliary table. -*- coding: utf-8 -*-
|
||||
Copyright (C) 2009-2015 Free Software Foundation, Inc.
|
||||
Written by Bruno Haible <bruno@clisp.org>, 2009.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# fpieee.m4 serial 2
|
||||
# fpieee.m4 serial 2 -*- coding: utf-8 -*-
|
||||
dnl Copyright (C) 2007, 2009-2015 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# mbrlen.m4 serial 9
|
||||
# mbrlen.m4 serial 9 -*- coding: utf-8 -*-
|
||||
dnl Copyright (C) 2008, 2010-2015 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# mbrtowc.m4 serial 26
|
||||
# mbrtowc.m4 serial 26 -*- coding: utf-8 -*-
|
||||
dnl Copyright (C) 2001-2002, 2004-2005, 2008-2015 Free Software Foundation,
|
||||
dnl Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
|
||||
@@ -28,3 +28,7 @@ LGPLv2+
|
||||
|
||||
Maintainer:
|
||||
Bastien ROUCARIÈS
|
||||
|
||||
Local Variables:
|
||||
coding: utf-8
|
||||
End:
|
||||
|
||||
@@ -25,3 +25,7 @@ LGPLv2+
|
||||
|
||||
Maintainer:
|
||||
Pádraig Brady, Paul Eggert, Jim Meyering
|
||||
|
||||
Local Variables:
|
||||
coding: utf-8
|
||||
End:
|
||||
|
||||
Reference in New Issue
Block a user