From owner-freebsd-bugs Sun Jul 21 13:22:31 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA24380 for bugs-outgoing; Sun, 21 Jul 1996 13:22:31 -0700 (PDT) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA24309 for ; Sun, 21 Jul 1996 13:21:55 -0700 (PDT) Received: from campa.panke.de (anonymous213.ppp.cs.tu-berlin.de [130.149.17.213]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id WAA04844; Sun, 21 Jul 1996 22:08:39 +0200 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id VAA01286; Sun, 21 Jul 1996 21:10:38 +0200 Date: Sun, 21 Jul 1996 21:10:38 +0200 From: Wolfram Schneider Message-Id: <199607211910.VAA01286@campa.panke.de> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/1386 In-Reply-To: <199607182046.WAA07905@uriah.heep.sax.de> References: <199607181740.TAA15160@keltia.freenix.fr> <199607182046.WAA07905@uriah.heep.sax.de> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk J. Wunsch writes: >As Ollivier Robert wrote: >> Why not just use an unsigned char instead of an int ? > >Because this still remains the C programmer's error #1. > >Think about it. getc() returns an int. We have dozens char c = getc() in our source tree. It seems lpf is the only program which had real problems with this error. Wolfram