Overview
Comment: | Use Tcl filesystem data to pass around a pointer to the central register proc |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
9bcf758fef4823aa3e8d4597e4ca9798 |
User & Date: | rkeene on 2019-05-08 16:26:05 |
Other Links: | manifest | tags |
Context
2019-05-08
| ||
16:46 | Cleanup check-in: d92ba3d36d user: rkeene tags: trunk | |
16:26 | Use Tcl filesystem data to pass around a pointer to the central register proc check-in: 9bcf758fef user: rkeene tags: trunk | |
2019-05-06
| ||
16:34 | Switched to static allocation for the standalone Tcl_Filesystem check-in: cb77ecfb24 user: rkeene tags: trunk | |
Changes
Modified Makefile from [083522c323] to [1a2e05ec17].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 | - + | CPPFLAGS := -I. -DUSE_TCL_STUBS=1 -DXVFS_MODE_FLEXIBLE CFLAGS := -fPIC -g3 -ggdb3 -Wall LDFLAGS := |
︙ |
Modified xvfs-core.c from [5b94c341c4] to [c526fca0fb].
︙ | |||
181 182 183 184 185 186 187 188 | 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 | - - + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + - + + - - + + - - + | return(tcl_ret); } return(TCL_OK); } #endif |
︙ |
Modified xvfs-core.h from [490b145452] to [21ceadd8e9].
1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | + + | #ifndef XVFS_CORE_H_1B4B28D60EBAA11D5FF85642FA7CA22C29E8E817 #define XVFS_CORE_H_1B4B28D60EBAA11D5FF85642FA7CA22C29E8E817 1 #include <tcl.h> #define XVFS_PROTOCOL_VERSION 1 #define XVFS_PROTOCOL_SERVER_MAGIC "\xD4\xF3\x05\x96\x25\xCF\xAF\xFE" #define XVFS_PROTOCOL_SERVER_MAGIC_LEN 8 typedef const char **(*xvfs_proc_getChildren_t)(const char *path, Tcl_WideInt *count); typedef const unsigned char *(*xvfs_proc_getData_t)(const char *path, Tcl_WideInt start, Tcl_WideInt *length); typedef int (*xvfs_proc_getStat_t)(const char *path, Tcl_StatBuf *statBuf); struct Xvfs_FSInfo { int protocolVersion; |
︙ |