From: Martin Stromberg Message-Id: <200105280804.KAA05337@lws256.lu.erisoft.se> Subject: Re: confstr implementation To: djgpp-workers AT delorie DOT com Date: Mon, 28 May 2001 10:04:31 +0200 (MET DST) In-Reply-To: <3B11464B.31331.D7FED@localhost> from "Mark E." at May 27, 2001 06:24:11 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > switch (name) > { > case _CS_PATH: > { > char *djdir = getenv("DJDIR"); > if (djdir) > out_len = snprintf(buf, len, "%s/bin", djdir); > } > default: > { > errno = EINVAL; > } > } Shouldn't there be at least one "break;" there? Right, MartinS