Re: [bug-bash] Bash-5.0-beta2 available for download

2018-11-30 Thread Dr. Werner Fink
On Thu, Nov 29, 2018 at 08:52:58AM -0800, Chet Ramey wrote:
> On 11/29/18 7:09 AM, Dr. Werner Fink wrote:
> > On Tue, Nov 27, 2018 at 01:24:38PM -0500, Chet Ramey wrote:
> >> The second beta release of bash-5.0 is now available with the URL
> >>
> >> ftp://ftp.cwru.edu/pub/bash/bash-5.0-beta2.tar.gz
> >>
> > I see this
> > 
> > [ 2709s] seq.c: In function 'long_double_format':
> > [ 2709s] seq.c:166:9: error: expected ';' before 'return'
> > [ 2709s]  return ldfmt;
> 
> Thanks. What are you using that doesn't have long double?

Seen on armv7l only :)

Werner

-- 
  "Having a smoking section in a restaurant is like having
  a peeing section in a swimming pool." -- Edward Burr


signature.asc
Description: PGP signature


Re: [bug-bash] Bash-5.0-beta2 available for download

2018-11-29 Thread Chet Ramey
On 11/29/18 7:09 AM, Dr. Werner Fink wrote:
> On Tue, Nov 27, 2018 at 01:24:38PM -0500, Chet Ramey wrote:
>> The second beta release of bash-5.0 is now available with the URL
>>
>> ftp://ftp.cwru.edu/pub/bash/bash-5.0-beta2.tar.gz
>>
> I see this
> 
> [ 2709s] seq.c: In function 'long_double_format':
> [ 2709s] seq.c:166:9: error: expected ';' before 'return'
> [ 2709s]  return ldfmt;

Thanks. What are you using that doesn't have long double?

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/



signature.asc
Description: OpenPGP digital signature


Re: [bug-bash] Bash-5.0-beta2 available for download

2018-11-29 Thread Dr. Werner Fink
On Tue, Nov 27, 2018 at 01:24:38PM -0500, Chet Ramey wrote:
> The second beta release of bash-5.0 is now available with the URL
> 
> ftp://ftp.cwru.edu/pub/bash/bash-5.0-beta2.tar.gz
> 
I see this

[ 2709s] seq.c: In function 'long_double_format':
[ 2709s] seq.c:166:9: error: expected ';' before 'return'
[ 2709s]  return ldfmt;
[ 2709s]  ^~

with attached patcj this should go away

-- 
  "Having a smoking section in a restaurant is like having
  a peeing section in a swimming pool." -- Edward Burr
--- bash-5.0-beta2/examples/loadables/seq.c
+++ bash-5.0-beta2/examples/loadables/seq.c	2018-11-29 15:06:37.818582755 +
@@ -161,7 +161,7 @@ long_double_format (char const *fmt)
 strcpy (ldfmt + length_modifier_offset + 1,
 fmt + length_modifier_offset + has_L);
 #else
-strcpy (ldfmt + length_modifier_offset, fmt + length_modifier_offset)
+strcpy (ldfmt + length_modifier_offset, fmt + length_modifier_offset);
 #endif
 return ldfmt;
   }


signature.asc
Description: PGP signature