[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] bc Version 1.1
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2018-11-30 22:11:21
Message-ID: CAK1hOcMWqutXzjVT0CjVy5OHmSwbfSeoXjE0uUM-VH3kjhCQMA () mail ! gmail ! com
[Download RAW message or body]

On Sat, Nov 3, 2018 at 6:17 PM Gavin Howard <gavin.d.howard@gmail.com> wrote:
>
> Hello,
>
> After making changes to the bc for Denys' requests, I have a better
> version of the bc.
>
> This version, pasted at https://pastebin.com/0M9sMhtM and raw at
> https://pastebin.com/raw/0M9sMhtM, has fulfilled every one of Denys'
> requests except for a few.

       return s == BC_STATUS_QUIT ? BC_STATUS_SUCCESS : s;

You can write it in more straightforward way:

       if (s == BC_STATUS_QUIT)
               s = BC_STATUS_SUCCESS;
       return s;
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic