[jira] [Commented] (XERCESC-2073) autoconf uses incorrect size_t and ssize_t fallback types

2016-07-11 Thread Roger Leigh (JIRA)

[ 
https://issues.apache.org/jira/browse/XERCESC-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15371775#comment-15371775
 ] 

Roger Leigh commented on XERCESC-2073:
--

One additional comment would be that given that this has been broken for so 
long, that the fallbacks and feature tests no longer serve a useful purpose if 
they aren't used.  They could be dropped entirely!

> autoconf uses incorrect size_t and ssize_t fallback types
> -
>
> Key: XERCESC-2073
> URL: https://issues.apache.org/jira/browse/XERCESC-2073
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.1.4
> Environment: Using autoconf build
>Reporter: Roger Leigh
>Priority: Minor
> Attachments: autoconf-size-fallbacks.patch
>
>
> size_t is unsigned, ssize_t is signed.  However, the fallback types are 
> swapped making them incorrect for their purpose.  The attached patch 
> rectifies this oversight.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Updated] (XERCESC-2073) autoconf uses incorrect size_t and ssize_t fallback types

2016-07-11 Thread Roger Leigh (JIRA)

 [ 
https://issues.apache.org/jira/browse/XERCESC-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Leigh updated XERCESC-2073:
-
Attachment: autoconf-size-fallbacks.patch

Correct the types used.

> autoconf uses incorrect size_t and ssize_t fallback types
> -
>
> Key: XERCESC-2073
> URL: https://issues.apache.org/jira/browse/XERCESC-2073
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.1.4
> Environment: Using autoconf build
>Reporter: Roger Leigh
>Priority: Minor
> Attachments: autoconf-size-fallbacks.patch
>
>
> size_t is unsigned, ssize_t is signed.  However, the fallback types are 
> swapped making them incorrect for their purpose.  The attached patch 
> rectifies this oversight.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Created] (XERCESC-2073) autoconf uses incorrect size_t and ssize_t fallback types

2016-07-11 Thread Roger Leigh (JIRA)
Roger Leigh created XERCESC-2073:


 Summary: autoconf uses incorrect size_t and ssize_t fallback types
 Key: XERCESC-2073
 URL: https://issues.apache.org/jira/browse/XERCESC-2073
 Project: Xerces-C++
  Issue Type: Bug
  Components: Build
Affects Versions: 3.1.4
 Environment: Using autoconf build
Reporter: Roger Leigh
Priority: Minor


size_t is unsigned, ssize_t is signed.  However, the fallback types are swapped 
making them incorrect for their purpose.  The attached patch rectifies this 
oversight.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org