projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the global alias file
[mmh]
/
uip
/
dropsbr.c
diff --git
a/uip/dropsbr.c
b/uip/dropsbr.c
index
a857a1a
..
15cee8f
100644
(file)
--- a/
uip/dropsbr.c
+++ b/
uip/dropsbr.c
@@
-486,7
+486,7
@@
map_name(char *file)
register char *cp, *dp;
static char buffer[BUFSIZ];
register char *cp, *dp;
static char buffer[BUFSIZ];
- if ((dp = strchr(cp = r1bindex(file, '/'), '.')) == NULL)
+ if ((dp = strchr(cp = mhbasename(file), '.')) == NULL)
dp = cp + strlen(cp);
if (cp == file)
snprintf(buffer, sizeof(buffer), ".%.*s%s",
dp = cp + strlen(cp);
if (cp == file)
snprintf(buffer, sizeof(buffer), ".%.*s%s",