mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
Small fixes
--HG-- extra : convert_revision : 7f568ec9a453957b16efab56c215a4914f0cebf3
This commit is contained in:
parent
4657ed1446
commit
3cacc54b78
@ -194,7 +194,9 @@ ltm-clean:
|
|||||||
sizes: dropbear
|
sizes: dropbear
|
||||||
objdump -t dropbear|grep ".text"|cut -d "." -f 2|sort -rn
|
objdump -t dropbear|grep ".text"|cut -d "." -f 2|sort -rn
|
||||||
|
|
||||||
clean: ltc-clean ltm-clean
|
clean: ltc-clean ltm-clean thisclean
|
||||||
|
|
||||||
|
thisclean:
|
||||||
-rm -f dropbear dbclient dropbearkey dropbearconvert scp scp-progress
|
-rm -f dropbear dbclient dropbearkey dropbearconvert scp scp-progress
|
||||||
-rm -f staticdropbear staticdropbearkey staticdropbearconvert staticscp
|
-rm -f staticdropbear staticdropbearkey staticdropbearconvert staticscp
|
||||||
-rm -f dropbearmulti staticdropbearmulti
|
-rm -f dropbearmulti staticdropbearmulti
|
||||||
|
2
compat.c
2
compat.c
@ -190,7 +190,7 @@ int daemon(int nochdir, int noclose) {
|
|||||||
|
|
||||||
#ifndef HAVE_BASENAME
|
#ifndef HAVE_BASENAME
|
||||||
|
|
||||||
char *basename(char *path) {
|
char *basename(const char *path) {
|
||||||
|
|
||||||
char *foo = strrchr(path, '/');
|
char *foo = strrchr(path, '/');
|
||||||
return ++foo;
|
return ++foo;
|
||||||
|
@ -44,7 +44,8 @@ int main(int argc, char ** argv) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef DBMULTI_dbclient
|
#ifdef DBMULTI_dbclient
|
||||||
if (strcmp(progname, "dbclient") == 0) {
|
if (strcmp(progname, "dbclient") == 0
|
||||||
|
|| strcmp(progname, "ssh") == 0) {
|
||||||
return cli_main(argc, argv);
|
return cli_main(argc, argv);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user