Check-in [48adf54b98]
Overview
Comment:Whitespace cleanup
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 48adf54b98a308a5ff62efec632b30a2d001ca694922f537600129ac4883a073
User & Date: rkeene on 2019-09-13 21:44:53
Other Links: manifest | tags
Context
2019-09-13
21:46
Watch proc and more tests check-in: 7d74392642 user: rkeene tags: trunk
21:44
Whitespace cleanup check-in: 48adf54b98 user: rkeene tags: trunk
18:43
First implementation of nearly complete channel driver, marked more TODO and cleaned up whitespace check-in: 38bed7cee0 user: rkeene tags: trunk
Changes

Modified xvfs.c.rvt from [4ed9e26994] to [b727267b99].

151
152
153
154
155
156
157
158
159
160
161
162
163
164
165

	if (*length == 0) {
		resultLength = fileInfo->size - start;
	} else {
		resultLength = MIN(fileInfo->size - start, *length);
	}
	*length = resultLength;
	
	/*
	 * Return the data
	 */
	return(fileInfo->data.fileContents + start);
}

static int xvfs_<?= $::xvfs::fsName ?>_getStat(const char *path, Tcl_StatBuf *statBuf) {







|







151
152
153
154
155
156
157
158
159
160
161
162
163
164
165

	if (*length == 0) {
		resultLength = fileInfo->size - start;
	} else {
		resultLength = MIN(fileInfo->size - start, *length);
	}
	*length = resultLength;

	/*
	 * Return the data
	 */
	return(fileInfo->data.fileContents + start);
}

static int xvfs_<?= $::xvfs::fsName ?>_getStat(const char *path, Tcl_StatBuf *statBuf) {