diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-11-28 00:38:24 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-11-28 00:38:24 -0500 |
| commit | 772312762986a7ec36262069a28ad3d4dde30559 (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/self.c | |
| parent | cedd4bada6e88daa0c527380e6dc22f52685f197 (diff) | |
| download | unalf-772312762986a7ec36262069a28ad3d4dde30559.tar.gz | |
Project has been renamed, use https://slackware.uk/~urchlay/repos/alftools
Diffstat (limited to 'src/self.c')
| -rw-r--r-- | src/self.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/self.c b/src/self.c deleted file mode 100644 index 298608a..0000000 --- a/src/self.c +++ /dev/null @@ -1,13 +0,0 @@ -#include "unalf.h" - -char *self; - -void set_self(char *argv0) { - char *p; - - self = argv0; - p = strrchr(self, '/'); - if(!p) p = strrchr(self, '\\'); // windows exe needs this - if(p) self = p + 1; -} - |
