diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-09-18 22:49:02 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-09-18 22:49:02 -0700 |
| commit | 571b24e14566d6af359e89f53691c7d118761560 (patch) | |
| tree | c57fdf457abc8e5b04d86d32e5073de7f6014b07 /file_loader.h | |
| parent | 204185ac43f74160e20129e08af353563a40488e (diff) | |
Slightly better handling of NULL bytes
Diffstat (limited to 'file_loader.h')
| -rw-r--r-- | file_loader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/file_loader.h b/file_loader.h index 37399ae..a93c7a3 100644 --- a/file_loader.h +++ b/file_loader.h @@ -8,7 +8,7 @@ typedef struct { const char *filename; - char *contents, **lines; + char *contents, **lines, *end; size_t length, nlines; unsigned int mmapped:1; } file_t; |
