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
Index: T e

⟦c52319a94⟧ TextFile

    Length: 998 (0x3e6)
    Types: TextFile
    Names: »explode_alone.c«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« 
        └─⟦e5a54fb17⟧ 
            └─⟦this⟧ »pp-5.0/Format/p2explode/explode_alone.c« 

TextFile

/* explode_alone:  standalone p2 explode

# ifndef lint
static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Format/p2explode/RCS/explode_alone.c,v 5.0 90/09/20 16:00:33 pp Exp Locker: pp $";
# endif

/*
 * $Header: /cs/research/pp/hubris/pp-beta/Format/p2explode/RCS/explode_alone.c,v 5.0 90/09/20 16:00:33 pp Exp Locker: pp $
 *
 * $Log:	explode_alone.c,v $
 * Revision 5.0  90/09/20  16:00:33  pp
 * rcsforce : 5.0 public release
 * 
 */



#include "util.h"
#include "retcode.h"

/*
 * parameters -
 * argv[0] = program name
 * argv[1] = source directory
 * argv[2] = destination directory
 */
#include	"util.h"
extern int	unflatten();
main(argc, argv)
int	argc;
char    **argv;
{
	int result = OK;
	char	*error;
	if (isatty (fileno(stderr)))
		ll_dbinit(pp_log_norm, argv[0]);

	if(argc < 3)
		err_abrt(RP_MECH, "Usage: %s src-dir dest-dir", argv[0]);

	result = unflatten(argv[1],argv[2],0,NULL, &error);
	printf("Unflatten result was %s\n", (result == OK) ? "ok" : "notok");
}