nixpkgs/pkgs/applications/networking/gopher/geomyidae/modification-time.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
435 B
Diff
Raw Normal View History

2022-10-07 00:07:45 +00:00
diff --git a/geomyidae-v0.51/handlr.c b/geomyidae-v0.51/handlr.c
index 0c230d32519..9fc043fa3c9 100644
--- a/handlr.c
+++ b/handlr.c
@@ -71,7 +71,7 @@ handledir(int sock, char *path, char *port, char *base, char *args,
*type->type,
dirent[i]->d_name,
humansize(st.st_size),
- humantime(&(st.st_mtim.tv_sec)),
+ humantime(&(st.st_mtimespec.tv_sec)),
e, ohost, port);
free(file);
free(dirent[i]);