diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-11-06 06:50:21 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-11-06 06:50:21 +0000 |
commit | ba5086d03e3ec29e0c866d339d0283b520fc669f (patch) | |
tree | a0f645c86e1d132ed302b9f8738815649155f728 /source3/utils | |
parent | 52fa04d173a18adb52955afd9e18edd81300e009 (diff) | |
download | samba-ba5086d03e3ec29e0c866d339d0283b520fc669f.tar.gz samba-ba5086d03e3ec29e0c866d339d0283b520fc669f.tar.bz2 samba-ba5086d03e3ec29e0c866d339d0283b520fc669f.zip |
no asm/signal.h for linux as this is not portable
add auto username from LOGNAME for smbtorture
proto fix in ufc.c
(This used to be commit f13dbdf307ccffc15a74e2ffa72da666e53a72b6)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/torture.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/utils/torture.c b/source3/utils/torture.c index 0eb9a256fc..f3d76e0ee2 100644 --- a/source3/utils/torture.c +++ b/source3/utils/torture.c @@ -261,6 +261,10 @@ static void create_procs(int nprocs, int numops) get_myname(myname,NULL); + if (*username == 0 && getenv("LOGNAME")) { + strcpy(username,getenv("LOGNAME")); + } + argc--; argv++; |