🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.2bsd
Article #62

csh--exprs and status return bug

#62
From: utzoodecvaxucbvaxdove
Date: Mon, 28 Jun 1982 11:15
13 lines
721 bytes
From: dove at mit-dspg at mit-mc
My csh does short int arith (the default on 11's) instead of long int.
Has anyone ever fixed sh.exp.c to have longs in place of ints in the 
appropriate places?

When I do

@ a={`true`}
@ b={`false`}

both come back with 0 as the variables value.
This is despite the fact that the variable $status is set correctly.
Has this been fixed already?
Technical Details
Message-ID: <bnews.ucbvax.7799>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
From: utzoo!decvax!ucbvax!dove@mit-dspg@mit-mc
Newsgroups: net.bugs.2bsd
Title: csh--exprs and status return bug
Article-I.D.: ucbvax.7799
Posted: Mon Jun 28 11:15:46 1982
Received: Tue Jun 29 08:41:41 1982
Subject: csh--exprs and status return bug
Date: Mon, 28 Jun 1982 11:15:46 +0000
Message-ID: <bnews.ucbvax.7799>