Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev

[Bug 901] New: Patch to remove differ in signedness (exim-4.70 RC2)

 

 

exim dev RSS feed   Index | Next | Previous | View Threaded


serge-exim at srv0

Nov 5, 2009, 5:02 AM

Post #1 of 1 (59 views)
Permalink
[Bug 901] New: Patch to remove differ in signedness (exim-4.70 RC2)

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=901
Summary: Patch to remove differ in signedness (exim-4.70 RC2)
Product: Exim
Version: N/A
Platform: All
OS/Version: Linux
Status: NEW
Severity: bug
Priority: medium
Component: Packaging
AssignedTo: nigel[at]exim.org
ReportedBy: serge-exim[at]srv0.ath.cx
CC: exim-dev[at]exim.org


Hi,

When compiled with gcc and -Wall causes differ in signedness as:

malware.c:234 --> parentheses around assignment used as truth value

parse.c:1778 --> unused variable 'o' ==> removed
parse.c:1779 --> const uschar *day_name[7]={ "mon"... ==> US"mon"...
parse.c:1837 --> strncmp ==> Ustrncmp
parse.c:1790 --> const uschar *month_name[]={ "jan"... ==> US"jan"...

sieve.c:2974 --> strncmp ==> Ustrncmp
sieve.c:3041 --> strncmp ==> Ustrncmp
sieve.c:3043 --> strncmp ==> Ustrncmp
sieve.c:3045 --> expand_string("..." ==> expand_string(US"..."
sieve.c:3071 --> expand_string("..." ==> expand_string(US"..."

tls-openssl.c:76 --> msg = ssl_errstring ==> msg = (uschar*)ssl_errstring
tls-openssl.c:82 --> strncmp ==> Ustrncmp
tls-openssl.c:256 --> char * ==> (uschar *)
tls-openssl.c:624 --> char * ==> US"..."


Not cleaned:
---

receive.c:1288 --> warning: 'rc' may be used uninitialized in this function




The patchs remove errors:

* exim-4.70RC2-differ_in_signedness.patch

Tested in GNU/Linux x86_64/i686


Sorry, if it isn't real bug.. :-)

--Serge


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

exim dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.