[Patch, libgfortran] PR53445/53444 - Fix compilation on VxWorks

2012-05-22 Thread Tobias Burnus
The attached patches fix compilation issues on VxWorks. a) VxWorks has strerror_r but contrary to POSIX, the function in VxWorks (at least in older versions) takes only two arguments: errnum and buf and not also the buffer length. I added a configure check for that variant. b) There is no

Re: [Patch, libgfortran] PR53445/53444 - Fix compilation on VxWorks

2012-05-22 Thread Tobias Burnus
On 05/22/2012 03:06 PM, Tobias Burnus wrote: The attached patches fix compilation issues on VxWorks. a) VxWorks has strerror_r but contrary to POSIX, the function in VxWorks (at least in older versions) takes only two arguments: errnum and buf and not also the buffer length. I added a

Re: [Patch, libgfortran] PR53445/53444 - Fix compilation on VxWorks

2012-05-22 Thread Janne Blomqvist
On Tue, May 22, 2012 at 5:57 PM, Tobias Burnus bur...@net-b.de wrote: On 05/22/2012 03:06 PM, Tobias Burnus wrote: The attached patches fix compilation issues on VxWorks. a) VxWorks has strerror_r but contrary to POSIX, the function in VxWorks (at least in older versions) takes only two

Re: [Patch, libgfortran] PR53445/53444 - Fix compilation on VxWorks

2012-05-22 Thread Janne Blomqvist
On Tue, May 22, 2012 at 10:33 PM, Janne Blomqvist blomqvist.ja...@gmail.com wrote: On Tue, May 22, 2012 at 5:57 PM, Tobias Burnus bur...@net-b.de wrote: On 05/22/2012 03:06 PM, Tobias Burnus wrote: The attached patches fix compilation issues on VxWorks. a) VxWorks has strerror_r but contrary

Re: [Patch, libgfortran] PR53445/53444 - Fix compilation on VxWorks

2012-05-22 Thread rbmj
On 05/22/2012 03:42 PM, Janne Blomqvist wrote: On Tue, May 22, 2012 at 10:33 PM, Janne Blomqvist blomqvist.ja...@gmail.com wrote: On Tue, May 22, 2012 at 5:57 PM, Tobias Burnusbur...@net-b.de wrote: On 05/22/2012 03:06 PM, Tobias Burnus wrote: The attached patches fix compilation issues on