Re: [exim] [exim-dev] Exim 4.82 RC1 uploaded

Top Page
Delete this message
Reply to this message
Author: Todd Lyons
Date:  
To: Marcin Mirosław
CC: exim-users
Subject: Re: [exim] [exim-dev] Exim 4.82 RC1 uploaded
On Fri, Sep 27, 2013 at 2:49 AM, Marcin Mirosław <marcin@???> wrote:
> Hi!
> I can't compile with vanilla Makefile (simply copied file EDITME), I'm
> getting:
> $ LC_ALL=en_US.utf-8 make
> /bin/sh scripts/source_checks
> sort: -:5: disorder: accept_8bitmime
> make: *** [checks] Error 1


Is there a reason that you are specifying the language in that manner?
It works if you do:

LC_ALL=C make

This quick fix will cause the source_scripts helper script to always
use C for the sort, and your language override should apply everywhere
else.

perl -pi -e 's/LANG=C/LC_ALL=C/' scripts/source_checks

That should result in:

diff --git a/src/scripts/source_checks b/src/scripts/source_checks
index 79f9c35..eac4b8d 100644
--- a/src/scripts/source_checks
+++ b/src/scripts/source_checks
@@ -10,7 +10,7 @@ do
   perl -e '$/= undef; while (<>) { print $1 if
/(?<='$table'\[\])\s*=\s*{\n(([^}].*\n)+)/m }' \
   | awk '/{ (US)?"/ {print $2}' \
   | awk -F\" '{print $2}' \
-  | LANG=C sort -c \
+  | LC_ALL=C sort -c \
   || exit 1
 done <<-END
        readconf.c      optionlist_config
@@ -36,7 +36,7 @@ do
   < $file \
   perl -e '$/= undef; while (<>) { print $1 if
/(?<='$table'\[\])\s*=\s*{\s?(([^}]*)+)}/m }' \
   | awk -F\" '/"/ {print $2}' \
-  | LANG=C sort -c \
+  | LC_ALL=C sort -c \
   || exit 1


done <<-END

Can someone with more language experience tell me if this is a good
way to handle it, or does it not fully address the issue that Marcin
is seeing?

...Todd
--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine