Check-in [684f97bc4e]
Overview
Comment:Clarified --cachedir
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tcl-ops
Files: files | file ages | folders
SHA1: 684f97bc4e108ae01b145955565f3f9041fbc84f
User & Date: rkeene on 2014-11-07 07:15:21
Other Links: branch diff | manifest | tags
Context
2014-11-07
07:15
Removed extraneous debugging check-in: ed1bf1669b user: rkeene tags: tcl-ops
07:15
Clarified --cachedir check-in: 684f97bc4e user: rkeene tags: tcl-ops
07:14
Added a "--cachedir" option for use when not using FUSE and added the same option to "appfs-cache" check-in: ddd31f22a4 user: rkeene tags: tcl-ops
Changes

Modified appfsd.c from [9e818b560b] to [2188b35dbc].

790
791
792
793
794
795
796


797
798
799
800
801
802
803
		fprintf(stderr, "Unable to create TSD key for Tcl.  Aborting.\n");

		return(1);
	}

	/*
	 * Manually specify cache directory, without FUSE callback


	 */
	if (argc >= 2) {
		if (strcmp(argv[0], "--cachedir") == 0) {
			globalThread.cachedir = strdup(argv[1]);

			argc -= 2;
			argv += 2;







>
>







790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
		fprintf(stderr, "Unable to create TSD key for Tcl.  Aborting.\n");

		return(1);
	}

	/*
	 * Manually specify cache directory, without FUSE callback
	 * This option only works when not using FUSE, since we
	 * do not process it with FUSEs option processing.
	 */
	if (argc >= 2) {
		if (strcmp(argv[0], "--cachedir") == 0) {
			globalThread.cachedir = strdup(argv[1]);

			argc -= 2;
			argv += 2;