|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T f
Length: 1125 (0x465) Types: TextFile Names: »flatten_alone.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« └─⟦e5a54fb17⟧ └─⟦this⟧ »pp-5.0/Format/p2flatten/flatten_alone.c«
/* flatten_alone: standalone flatten a P2 directory structure into a message again */ # ifndef lint static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Format/p2flatten/RCS/flatten_alone.c,v 5.0 90/09/20 16:01:02 pp Exp Locker: pp $"; # endif /* * $Header: /cs/research/pp/hubris/pp-beta/Format/p2flatten/RCS/flatten_alone.c,v 5.0 90/09/20 16:01:02 pp Exp Locker: pp $ * * $Log: flatten_alone.c,v $ * Revision 5.0 90/09/20 16:01:02 pp * rcsforce : 5.0 public release * */ #include "retcode.h" #include "util.h" static char *myname = "p2flatten_alone"; /* * parameters - * argv[0] = program name * argv[1] = source directory * argv[2] = destination directory */ static int x40084; main(argc, argv) int argc; char **argv; { int result = OK; 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]); x40084 = FALSE; if (argc == 4) if (lexequ(argv[3], "-84") == 0) x40084 = TRUE; result = flatten(argv[1], argv[2], x40084); printf("Flatten result was %s\n", (result == OK) ? "ok" : "notok"); }