Re: [exim] New Snapshot - Includes Exiscan - Testers Wanted

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Larry Rosenman
Fecha:  
A: exim-users
Cc: ph10
Asunto: Re: [exim] New Snapshot - Includes Exiscan - Testers Wanted
On Thu, 6 Jan 2005, Larry Rosenman wrote:

> Philip,
>    On unixware 7.1.4, I get the following:

>
>
>     /usr/bin/cc -c -O -I/usr/local/include -I.    acl.c
> UX:acomp: WARNING: "acl.c", line 389: initializer does not fit: -2
> UX:acomp: WARNING: "acl.c", line 390: initializer does not fit: -2
> UX:acomp: WARNING: "acl.c", line 396: initializer does not fit: -56
> UX:acomp: WARNING: "acl.c", line 400: initializer does not fit: -56
> UX:acomp: WARNING: "acl.c", line 403: initializer does not fit: -8

>
>
>
>


Here's my quick fix patch:

--- ../exim-snapshot/src/acl.c    2005-01-06 11:15:33.630449019 -0600
+++ exim-snapshot/src/acl.c    2005-01-04 08:22:14.000000000 -0600
@@ -386,20 +386,20 @@
    0,                                               /* bmi_run */
  #endif
    0,                                               /* error */
-  (unsigned int)~(1<<ACL_WHERE_RCPT),                            /* caseful_local_part */
-  (unsigned int)~(1<<ACL_WHERE_RCPT),                            /* caselower_local_part */
+  ~(1<<ACL_WHERE_RCPT),                            /* caseful_local_part */
+  ~(1<<ACL_WHERE_RCPT),                            /* caselower_local_part */
    (1<<ACL_WHERE_NOTSMTP),                          /* enforce_sync */
    (1<<ACL_WHERE_NOTSMTP),                          /* no_enforce_sync */


-  (unsigned int)~((1<<ACL_WHERE_MAIL)|(1<<ACL_WHERE_RCPT)|       /* freeze */
+  ~((1<<ACL_WHERE_MAIL)|(1<<ACL_WHERE_RCPT)|       /* freeze */
      (1<<ACL_WHERE_PREDATA)|(1<<ACL_WHERE_DATA)|
      (1<<ACL_WHERE_NOTSMTP)),


-  (unsigned int)~((1<<ACL_WHERE_MAIL)|(1<<ACL_WHERE_RCPT)|       /* queue_only */
+  ~((1<<ACL_WHERE_MAIL)|(1<<ACL_WHERE_RCPT)|       /* queue_only */
      (1<<ACL_WHERE_PREDATA)|(1<<ACL_WHERE_DATA)|
      (1<<ACL_WHERE_NOTSMTP)),


-  (unsigned int)~((1<<ACL_WHERE_MAIL)|(1<<ACL_WHERE_RCPT)|       /* submission */
+  ~((1<<ACL_WHERE_MAIL)|(1<<ACL_WHERE_RCPT)|       /* submission */
      (1<<ACL_WHERE_PREDATA)),


#ifdef WITH_CONTENT_SCAN

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@???
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749