🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13503

First bug in Manx 5.0?

#13503
From: Dan Barrett
Date: Mon, 05 Feb 1990 17:01
34 lines
1477 bytes
	I believe I've found the first bug in Manx C 5.0a (unless somebody
has beaten me to it :-)).  Could someone please verify this for me?

Compile this simple program with the default "cc" and "ln" commands:

		1> cc bug.c
		1> ln bug.o -lc

#include <stdio.h>

main()
{
	getchar();
}

Now run the program "bug", and type ^\ (end of file) as the first character
of input.  I get the following message printed on my screen:

		Unable to load bug:  Error 2220548

As far as I can tell, this happens whenever getchar() or getc() or fgetc()
reaches EOF.  It also happens with Manx's supplied "du" utility if you press
^C while it is running.

I have a call pending at Manx.

                                                        Dan

 //////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
| Dan Barrett, Department of Computer Science          Baltimore, MD  21218 |
| INTERNET:   barrett@cs.jhu.edu           |                                |
| COMPUSERVE: >internet:barrett@cs.jhu.edu | UUCP:   barrett@jhunix.UUCP    |
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////
Technical Details
Message-ID: <4135@jhunix.HCF.JHU.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!aplcen!jhunix!barrett

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!aplcen!jhunix!barrett
From: barrett@jhunix.HCF.JHU.EDU (Dan Barrett)
Newsgroups: comp.sys.amiga.tech
Subject: First bug in Manx 5.0?
Message-ID: <4135@jhunix.HCF.JHU.EDU>
Date: 5 Feb 90 17:01:13 GMT
Organization: The Johns Hopkins University - HCF
Lines: 34