update.c

MudOS_0.9.19/src/testsuite/command/update.c · 256 B

From the archive MudOS_0.9.19.tar.gz

Download the archive   « Back to the archive contents

#include <globals.h>

int
main(string file)
{
	object obj;

	// need to call resolve_path() and query_cwd()
	if (!file) {
		return notify_fail("update what?\n");
	}
	if (obj = find_object(file)) {
		destruct(obj);
	}
	call_other(file, "???");
	return 1;
}

Site Stats

Snippets: 1791
Codebases: 571