DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦6df95a816⟧ TextFile

    Length: 436 (0x1b4)
    Types: TextFile
    Names: »trace.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec8/multivol/trace.c« 

TextFile

#ifdef DEBUG	/* Only used if DEBUG is defined */
#include <stdio.h>
	int	tron;	/* global = trace on */
	char	tr[160];

strace(file, line, step)
	char	*file, *step;
	int	line;
{
	static int	indent = 0;
	register	i;

	if (*step == '-')
		indent--; 
	if (tron) {
		fprintf(stderr, "%14s: %5d: ", file, line);
		for (i = indent; i--; )
			fprintf(stderr, ".  ");
		fprintf(stderr, "%s\n", step);
	}
	if (*step == '+')
		indent++; 
}
#endif