Introduction
Introduction Statistics Contact Development Disclaimer Help
applied Paul Onyschuk's remarks - 9base - revived minimalist port of Plan 9 use…
git clone git://git.suckless.org/9base
Log
Files
Refs
README
LICENSE
---
commit 4644257fec39484e3dedb9dc9688105bc2605b98
parent 422c761c28840f03071ac83a3edbfc6ae04d1921
Author: [email protected] <unknown>
Date: Wed, 29 Feb 2012 20:52:27 +0100
applied Paul Onyschuk's remarks
Diffstat:
M LICENSE | 2 +-
M lib9/dirfwstat.c | 9 +++++++++
M rc/Makefile | 2 +-
M sam/Makefile | 2 +-
4 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/LICENSE b/LICENSE
@@ -2,7 +2,7 @@ The rare bits touched by Anselm R. Garbe are under following LI…
MIT/X Consortium License
-© 2005-2010 Anselm R Garbe <[email protected]>
+© 2005-2012 Anselm R Garbe <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
diff --git a/lib9/dirfwstat.c b/lib9/dirfwstat.c
@@ -7,6 +7,15 @@
#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__OpenBSD__) || defi…
/* do nothing -- futimes exists and is fine */
+# if defined(__UCLIBC__)
+/* use futimesat */
+static int
+futimes(int fd, struct timeval *tv)
+{
+ return futimesat(fd, 0, tv);
+}
+
+# endif
#elif defined(__SunOS5_9__)
/* use futimesat */
static int
diff --git a/rc/Makefile b/rc/Makefile
@@ -50,4 +50,4 @@ clean:
${TARG}: ${OFILES}
@echo LD ${TARG}
- @${CC} ${LDFLAGS} -o ${TARG} ${OFILES} -lm -L${PREFIX}/lib -L../lib9 -…
+ @${CC} ${LDFLAGS} -o ${TARG} ${OFILES} -L${PREFIX}/lib -L../lib9 -l9 -…
diff --git a/sam/Makefile b/sam/Makefile
@@ -34,4 +34,4 @@ clean:
${TARG}: ${OFILES}
@echo LD ${TARG}
- @${CC} ${LDFLAGS} -o ${TARG} ${OFILES} -lm -L${PREFIX}/lib -L../lib9 -…
+ @${CC} ${LDFLAGS} -o ${TARG} ${OFILES} -L${PREFIX}/lib -L../lib9 -l9 -…
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.