summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorEpoch Qwert <epoch@53flpnlls43fcguy.onion>2014-12-26 21:03:47 -0600
committerEpoch Qwert <epoch@53flpnlls43fcguy.onion>2014-12-26 21:03:47 -0600
commit01b8e693a95c1ee4377998e0589f6ec1b7be7267 (patch)
treec9e5e41c1dfd88445285846424b899c290874a62 /src/bin
parent9750d3845bd5bbc2e5e76134b8c4a902faa9bce9 (diff)
downloadmisc-01b8e693a95c1ee4377998e0589f6ec1b7be7267.tar.gz
misc-01b8e693a95c1ee4377998e0589f6ec1b7be7267.zip
deleted realpath because it is just readlink -f pretty much.
fixed gopherd to use readlink -f instead of realpath
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/realpath.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/bin/realpath.c b/src/bin/realpath.c
deleted file mode 100644
index e47f020..0000000
--- a/src/bin/realpath.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <stdio.h>
-#include <sys/param.h>
-#include <stdlib.h>
-
-int main(int argc,char *argv[]) {
- char path[MAXPATHLEN+1];
- if(!realpath(argv[1],path)) return 1;
- puts(path);
- return 0;
-}