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 - metrics - download

⟦2e5c9d2b6⟧ TextFile

    Length: 470 (0x1d6)
    Types: TextFile
    Names: »chfix.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Empire.V/V1.1/EMPFIX/chfix.c« 

TextFile

extern int      xflg, wflg, mflg;

/*
        ccp = ptr to char string to modify
*/
chfix(ccp)
char    *ccp;
{
        char    *cp, *getstri();

        if( xflg ) return;
        printf("%s  ", ccp);
        cp = getstri("");
        if( *cp == '\0' ) return;
        if( *cp == 'x' ) {
                xflg++;
                return;
        }
        do {
                *ccp++ = *cp++;
        } while( (*ccp++ = *cp++) != '\0' );
        mflg++;
        return;
}