URI:
       bc: Simplify writeout - sbase - suckless unix tools
  HTML git clone git://git.suckless.org/sbase
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit e9577cde96b603adc73731a24d0fd331b02019f1
   DIR parent b343ded0be4defafb709945117d79dab4e70a242
  HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
       Date:   Fri, 30 Jan 2026 12:58:02 +0100
       
       bc: Simplify writeout
       
       Diffstat:
         M bc.y                                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/bc.y b/bc.y
       @@ -274,7 +274,7 @@ writeout(char *s)
        {
                if (write(1, s, strlen(s)) < 0)
                        goto err;
       -        if (write(1, (char[]){'\n'}, 1) < 0)
       +        if (write(1, "\n", 1) < 0)
                        goto err;
                free(s);
                return;