From 78f6ae64ec2ee68b3b7456c9dbdeff4c76577711 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 10 Jan 2019 19:54:05 -0500 Subject: Replace st_mtim with st_mtimespec --- bin/cash/test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/cash') diff --git a/bin/cash/test.c b/bin/cash/test.c index e51391c2..e74c4f4c 100644 --- a/bin/cash/test.c +++ b/bin/cash/test.c @@ -603,12 +603,12 @@ newerf (const char *f1, const char *f2) if (stat(f1, &b1) != 0 || stat(f2, &b2) != 0) return 0; - if (b1.st_mtim.tv_sec > b2.st_mtim.tv_sec) + if (b1.st_mtimespec.tv_sec > b2.st_mtimespec.tv_sec) return 1; - if (b1.st_mtim.tv_sec < b2.st_mtim.tv_sec) + if (b1.st_mtimespec.tv_sec < b2.st_mtimespec.tv_sec) return 0; - return (b1.st_mtim.tv_nsec > b2.st_mtim.tv_nsec); + return (b1.st_mtimespec.tv_nsec > b2.st_mtimespec.tv_nsec); } static int -- cgit 1.4.1 necraft bridge
summary refs log tree commit diff homepage
path: root/src (unfollow)
Commit message (Expand)Author
2020-04-29backwards compat with new optiondestruc7i0n
2020-04-29add the ability to handle webhook messagesdestruc7i0n
2020-04-19Fixed tellraw components not being encoded properlyBen Landin
2020-02-11Update README.mddestruc7i0n
2020-02-05Precedencedestruc7i0n
2020-02-05Allow specification of the channel name rather than iddestruc7i0n
2020-02-05Some more cleanupdestruc7i0n
2020-02-05More config handlingdestruc7i0n
2020-02-04Update typesdestruc7i0n
2020-02-04Docs updatesdestruc7i0n
2020-02-04Code cleanupdestruc7i0n
2020-02-04Refactor and rebuild to TypeScriptdestruc7i0n
2019-02-11Local file supportdestruc7i0n
2018-11-11Let's make this usable again!destruc7i0n
2018-02-23Allow configurable discord formatArcensoth
2018-02-23Revert example tellraw format to mimic the originalArcensoth
2018-02-23Update readme with new tellraw config optionArcensoth
2018-02-23Allow configurable tellraw formatArcensoth
2018-02-23Allow config file to be passed as a parameterArcensoth