mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-25 07:19:02 +00:00
Fix MODE=optlinux build
This commit is contained in:
parent
b3bb93d1d9
commit
4d018306b3
1 changed files with 1 additions and 1 deletions
2
third_party/tree/list.c
vendored
2
third_party/tree/list.c
vendored
|
@ -145,7 +145,7 @@ struct totals listdir(char *dirname, struct _info **dir, int lev, dev_t dev, boo
|
||||||
int namemax = 257, namelen;
|
int namemax = 257, namelen;
|
||||||
int descend, htmldescend = 0, found, n, dirlen = strlen(dirname), pathlen = dirlen + 257;
|
int descend, htmldescend = 0, found, n, dirlen = strlen(dirname), pathlen = dirlen + 257;
|
||||||
int needsclosed;
|
int needsclosed;
|
||||||
char *path, *newpath, *filename, *err = NULL;
|
char *path, *newpath = NULL, *filename, *err = NULL;
|
||||||
|
|
||||||
int es = (dirname[strlen(dirname) - 1] == '/');
|
int es = (dirname[strlen(dirname) - 1] == '/');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue