Andrew Tridgell [Tue, 20 Oct 1998 06:46:25 +0000 (06:46 +0000)]
fixed a connection bug in torture test
(This used to be commit
2b892130dfc1938e93e69e490a8a9e9ed57a1971)
Andrew Tridgell [Tue, 20 Oct 1998 06:45:18 +0000 (06:45 +0000)]
removed setenv(), replaced with smbw_setenv()
(This used to be commit
72bce217ef474f056d8f6675667ec78d1772ff37)
Andrew Tridgell [Tue, 20 Oct 1998 06:43:59 +0000 (06:43 +0000)]
new prorotypes
(This used to be commit
facd8d74e0cd0998ca5347ac5be14a6027460699)
Andrew Tridgell [Tue, 20 Oct 1998 06:43:36 +0000 (06:43 +0000)]
fixes for solaris
(This used to be commit
235a8463b56107d97ee5523eed41967e8ccf27b6)
Jeremy Allison [Tue, 20 Oct 1998 03:17:43 +0000 (03:17 +0000)]
smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirector
has some *horrible* bugs !
smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings.
Jeremy.
(This used to be commit
76448d1d82a78520953c662afee0886122ce134b)
Andrew Tridgell [Tue, 20 Oct 1998 03:10:58 +0000 (03:10 +0000)]
add -Bshareable for *bsd*
(This used to be commit
c511a619750152db03897ea682713bbc98f71c6b)
Andrew Tridgell [Tue, 20 Oct 1998 03:10:29 +0000 (03:10 +0000)]
removed my badly-done attempt at handling compilers that don't handle
-c and -o at the same time.
my shell script code wasn't portable
(This used to be commit
759c72822b9b1e8c50b378378f3a45f1e7604ade)
Luke Leighton [Mon, 19 Oct 1998 20:10:33 +0000 (20:10 +0000)]
Luke Leighton [Mon, 19 Oct 1998 17:50:19 +0000 (17:50 +0000)]
output password change messages instead of debug message.
(This used to be commit
b9e728a97be323e9221889a63ffa02cff5c99403)
Luke Leighton [Mon, 19 Oct 1998 17:32:10 +0000 (17:32 +0000)]
- dce/rpc code
- removed debug info in struni2 and unistr2 (security risk)
- rpc_pipe function was getting pointer to data then calling realloc *dur*
- password check function, the start of "credential checking",
user, wks, domain, pass as the credentials (not just user,pass which
is incorrect in a domain context)
- cli_write needs to return ssize_t not size_t, because total can be -1
if the write fails.
- fixed signed / unsigned warnings (how come i don't get those any more
when i compile with gcc???)
- nt password change added in smbd. yes, jeremy, i verified that the
SMBtrans2 version still works.
(This used to be commit
fcfb40d2b0fc565ee4f66b3a3761c246366a2ef3)
Andrew Tridgell [Mon, 19 Oct 1998 02:49:48 +0000 (02:49 +0000)]
added command line options to smbsh
(This used to be commit
9b249c075e53e6cf75399d60a6371648c03104fa)
Andrew Tridgell [Mon, 19 Oct 1998 02:48:57 +0000 (02:48 +0000)]
improved session reestablishment
(This used to be commit
5f96328d32e76785474ffd5cd73f8ddefc46d4f5)
Andrew Tridgell [Mon, 19 Oct 1998 01:05:49 +0000 (01:05 +0000)]
prototype new functions
(This used to be commit
ae6e3d8f3820ee09988948ec0c1fa2214acd9b62)
Andrew Tridgell [Mon, 19 Oct 1998 01:05:11 +0000 (01:05 +0000)]
return the resolved IP on a cli_connect() call so it can be cached
(This used to be commit
4e3f8ef41b8de25dec4c01d5532dca1b567be55a)
Andrew Tridgell [Mon, 19 Oct 1998 01:03:52 +0000 (01:03 +0000)]
removed an incorrect comment
(This used to be commit
5abdb70e2a5cda2df444dfe5a9cdcb751be75ca8)
Andrew Tridgell [Mon, 19 Oct 1998 01:03:00 +0000 (01:03 +0000)]
- don't use env variables for passwords and usernames (yeah!)
- added a shared variable area based on a unlinked open file, and
implement a general get/set interface to it
- cache hostname lookups and master ip lookups in shared variable area
(This used to be commit
279cbe69efd75450113d2da0da5e67b29f3702b1)
Andrew Tridgell [Mon, 19 Oct 1998 01:00:33 +0000 (01:00 +0000)]
- added smbrapper/shared.o
- added suport for C compilers that don't handle -c and -o at once
(This used to be commit
f1672d055716f4b701e22801cbf5cf5573081685)
Jeremy Allison [Sun, 18 Oct 1998 22:06:35 +0000 (22:06 +0000)]
Fixed sys_lseek and seek_file calls so all returns
are *checked* :-).
Jeremy.
(This used to be commit
b8b781191dd7d28944d87eec5fa0fbef798e289b)
Andrew Tridgell [Sun, 18 Oct 1998 19:45:05 +0000 (19:45 +0000)]
Andrew Tridgell [Sun, 18 Oct 1998 19:30:26 +0000 (19:30 +0000)]
check for lp_nt_pipe_support() in open calls
(This used to be commit
44d901b3e040a520c4ad9089e68c566c78acacca)
Andrew Tridgell [Sun, 18 Oct 1998 19:29:19 +0000 (19:29 +0000)]
add an option to enable/disable nt pipes
(This used to be commit
c161b2f850f124ac5f24968e7865a7d0eb68e23e)
Jeremy Allison [Sat, 17 Oct 1998 17:41:13 +0000 (17:41 +0000)]
Small tidyups for gcc in 'preen' mode....
Jeremy.
(This used to be commit
60dc1a4a00a22088d33369588b0d5eb292cf084a)
Eloy Paris [Sat, 17 Oct 1998 03:01:07 +0000 (03:01 +0000)]
Added man page for nmblookup(1)
(This used to be commit
69c7b8e2af225f3711d601a136ad3dbc9aaa476e)
Luke Leighton [Fri, 16 Oct 1998 23:42:09 +0000 (23:42 +0000)]
Luke Leighton [Fri, 16 Oct 1998 23:40:59 +0000 (23:40 +0000)]
Andrew Tridgell [Fri, 16 Oct 1998 23:08:10 +0000 (23:08 +0000)]
added maxfid test
(This used to be commit
710027a88a62565fbbe9eb5787e924d019906841)
Andrew Tridgell [Fri, 16 Oct 1998 23:05:19 +0000 (23:05 +0000)]
changed some debug levels
(This used to be commit
121e321a12c5da5cb44ca1baece7e25c3ab7f943)
Luke Leighton [Fri, 16 Oct 1998 22:01:57 +0000 (22:01 +0000)]
strtoul removed, strtol used instead
(This used to be commit
d717d58c115fc5cf687af098100cf5adc0265afc)
Luke Leighton [Fri, 16 Oct 1998 21:46:07 +0000 (21:46 +0000)]
strtoul replace with strtol
(This used to be commit
4ebd2c5140e782ec43d9f7700bd588dfa52a16c7)
Luke Leighton [Fri, 16 Oct 1998 21:41:42 +0000 (21:41 +0000)]
!pass -> pass != NULL is wrong: !pass -> pass == NULL is correct. oops.
(This used to be commit
866e1018180a70ff2ffa39e6a5ce5f187eca2764)
Luke Leighton [Fri, 16 Oct 1998 21:36:19 +0000 (21:36 +0000)]
made pass_check_smb() available for dce/rpc use.
(This used to be commit
95e8a910c5d9ba0ef57669fb1256eaa932e0bb09)
Luke Leighton [Fri, 16 Oct 1998 20:18:46 +0000 (20:18 +0000)]
cli_nt_session_open() encrypt arg removed
(This used to be commit
63def717992695ed4a4933c2605abe26086fb8c7)
Luke Leighton [Fri, 16 Oct 1998 20:13:26 +0000 (20:13 +0000)]
setup_groups() - code clarification. no functional change.
(This used to be commit
dae7c5ea9a139552e1722357172fa1ad0c4a7143)
Luke Leighton [Fri, 16 Oct 1998 20:08:56 +0000 (20:08 +0000)]
Luke Leighton [Fri, 16 Oct 1998 20:07:02 +0000 (20:07 +0000)]
rpc client mods (ntlmssp flags)
(This used to be commit
16256f86bf451535c7955b8f51a9b88fc33a8e4d)
Andrew Tridgell [Fri, 16 Oct 1998 17:40:58 +0000 (17:40 +0000)]
only do the MAC extensions if we are a NTFS filesystem
(This used to be commit
91d224735d1a4ef26d75d87e3b35d8d156b8998b)
Andrew Tridgell [Fri, 16 Oct 1998 17:40:01 +0000 (17:40 +0000)]
- use large buffers for netshareenum
- handle errmoredata a bit better
- fix dev type from tconx for smbw
(This used to be commit
2f39409dc1ef012a8a7d315572a489d15df186f7)
Andrew Tridgell [Fri, 16 Oct 1998 17:05:19 +0000 (17:05 +0000)]
use the username GUEST if no other username is available
(This used to be commit
59d99ad76cb2aa0f24467ed0df12d5ad50abff18)
Jeremy Allison [Fri, 16 Oct 1998 06:16:10 +0000 (06:16 +0000)]
Re-added code to tell the user how many open files they
have. Needed for server diagnosis purposes...
Jeremy.
(This used to be commit
04d79a9ae515e7259277f9980552f1d61df239f1)
Luke Leighton [Fri, 16 Oct 1998 00:59:22 +0000 (00:59 +0000)]
rpcclient ntlogin test
(This used to be commit
f69cf05ff56dffb313304964d5bf5e5aee2f40a7)
Jeremy Allison [Fri, 16 Oct 1998 00:54:16 +0000 (00:54 +0000)]
trans2.h: Added Thursby MAC extension.
smbd/trans2.c: Added Thursby MAX extension.
libsmb/clientgen.c: Fixed smbtorture lock code.
Jeremy.
(This used to be commit
514e52e4b4d6c7db7ebe2265e60c77b4f18d11b3)
Luke Leighton [Fri, 16 Oct 1998 00:07:25 +0000 (00:07 +0000)]
trust password
(This used to be commit
fa86770d56fd4a3e280ee4f5685e29dee2a713fb)
Luke Leighton [Thu, 15 Oct 1998 23:51:07 +0000 (23:51 +0000)]
rpcclient interactive login (with trust account changing if you are root)
cli_session_setup handles null sessions correctly
(This used to be commit
60c0f22a4e84703467006dfe1971384a6294a9aa)
Luke Leighton [Thu, 15 Oct 1998 21:28:04 +0000 (21:28 +0000)]
getpwnam() failing is a serious error (corrupt smbpasswd database)
(This used to be commit
18e628ac1516cbd9773608cb5a9f4b784cf4dd9e)
Jeremy Allison [Thu, 15 Oct 1998 19:30:12 +0000 (19:30 +0000)]
Fixed crypt problems on IRIX with prototype.
Jeremy.
(This used to be commit
bdba1bcf2094d2b33dd74d3cfde61723dd7fc46b)
Luke Leighton [Thu, 15 Oct 1998 05:47:29 +0000 (05:47 +0000)]
bug-fixing against:
AS/U:
it returns dce/rpc "first" and "last" bits _clear_ in a bind/ack
response, when they should be set in a (small) packet. they also,
in the bind/ack do not set a secondary address string at all, so
we can't check against that...
Win95:
client-side dce/rpc code is a bit odd. it does a "WaitNamedPipeState"
and has slightly different pipe-naming (\PIPE\LANMAN is joined by
\PIPE\SRVSVC, \PIPE\WINREG etc whereas nt just has \PIPE\LANMAN
and \PIPE\).
Win95-USRMGR.EXE:
added LsaOpenPolicy (renamed existing to LsaOpenPolicy2).
added SamrConnect (renamed existing to SamrConnect2).
(This used to be commit
a7fccd807b938cbb51002ebae8c7a48b40dbb655)
Luke Leighton [Thu, 15 Oct 1998 05:35:57 +0000 (05:35 +0000)]
second implementation of crc32, used with permission of francesco ferrara
<francesco@aerre.it>. thanks!
http://www.aerre.it/francesco
(This used to be commit
c48ee2bfbaec8a29b6c5da2a4e3d28937c9fb8e2)
Jeremy Allison [Thu, 15 Oct 1998 00:55:17 +0000 (00:55 +0000)]
config: Fix crypt prototype on RedHat Linux.
include/includes.h: Fix crypt prototype on RedHat Linux.
smbd/fileio.c: Fix mmap bug found by WinCE client.
smbd/ipc.c: Fix WinCE wierdness with pipes being opened as \server\pipe\lanman
smbd/password.c: Fix encrypted null passwords.
Jeremy.
(This used to be commit
475992730c0ecbf31c09b3518df2f0354cec61da)
Andrew Tridgell [Wed, 14 Oct 1998 16:45:24 +0000 (16:45 +0000)]
set recursion desired for bcast name query
(This used to be commit
53805112f1a301f77cda93b68e6fa3054895f20f)
Luke Leighton [Wed, 14 Oct 1998 16:42:45 +0000 (16:42 +0000)]
Luke Leighton [Wed, 14 Oct 1998 16:12:45 +0000 (16:12 +0000)]
16 changed to 8 by mistake in samoemhash.
(This used to be commit
ed6ffa4430e3ae6e0c9f49650f53ce79d12af28e)
Luke Leighton [Wed, 14 Oct 1998 07:16:00 +0000 (07:16 +0000)]
tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of code
that didn't have _STAT_VER_LINUX_OLD defined. maybe you want to sort
this out properly...
(This used to be commit
aa9dd697d41ed5bed1bddab519ea80df9e6f21f1)
Luke Leighton [Wed, 14 Oct 1998 07:08:43 +0000 (07:08 +0000)]
more warnings...
(This used to be commit
8b9c0bad889d4f26987d87c54b4d8bf102af1744)
Luke Leighton [Wed, 14 Oct 1998 07:02:12 +0000 (07:02 +0000)]
unused variable in pipe_smb_write_X
(This used to be commit
cbc6ab6bb94dad7d71cfb71df3ee283831638e11)
Luke Leighton [Wed, 14 Oct 1998 07:00:00 +0000 (07:00 +0000)]
warnings spotted by ./configure.developer options
(This used to be commit
29434bf195b438f4ab41a10ac5ce03f9c2d2ac2f)
Luke Leighton [Wed, 14 Oct 1998 06:38:40 +0000 (06:38 +0000)]
script that defines some useful developer compiler options (gcc)
and then runs ./configure.
dunno what rpcclient's doing in this commit, but i'm tired, so who cares.
(This used to be commit
0f835b52f8be800b7316042cdef8a985aeebaf92)
Luke Leighton [Wed, 14 Oct 1998 06:29:20 +0000 (06:29 +0000)]
Andrew Tridgell [Tue, 13 Oct 1998 14:14:09 +0000 (14:14 +0000)]
use level 0 for DEBUG() of malformed password entry in smbpasswd
(This used to be commit
bff457b4a469c03977683c4521464c41f74db1ae)
Andrew Tridgell [Tue, 13 Oct 1998 08:27:28 +0000 (08:27 +0000)]
smbsh launch program is now in C
(This used to be commit
784b1590c8c305d6876a14fcaa6fc17b9daac6d0)
Andrew Tridgell [Tue, 13 Oct 1998 08:26:48 +0000 (08:26 +0000)]
made smbsh a standard binary
(This used to be commit
aea466aef7127607884f484c5987b9a5e2e362aa)
Richard Sharpe [Sun, 11 Oct 1998 21:42:49 +0000 (21:42 +0000)]
Try to make smbprint a better behaved citizen.
Removed a -x on the first line that causes lots of output to the console
and added a command line parameter handling flag for the tranlate case.
The problem is that smbprint is being overwritten/replaced when you upgrade
a RedHat rpm. If you had modified smbprint to include translation, you
loose it, and you have to go and repatch etc.
Now, we have a -t flag on smbprint, so we should have fewer problems in
this regard.
Untested as yet, but soon will be ...
(This used to be commit
4e2f5c625e50ebc09c7ebfa3266ddece6fa00f8e)
Luke Leighton [Sat, 10 Oct 1998 00:58:12 +0000 (00:58 +0000)]
Luke Leighton [Sat, 10 Oct 1998 00:46:28 +0000 (00:46 +0000)]
Luke Leighton [Fri, 9 Oct 1998 23:31:50 +0000 (23:31 +0000)]
Luke Leighton [Fri, 9 Oct 1998 20:31:52 +0000 (20:31 +0000)]
signed / unsigned issues spotted by herb
(This used to be commit
0b90442021aa3adb5ae7f09c53c9e54c7655d8c5)
Luke Leighton [Fri, 9 Oct 1998 20:17:11 +0000 (20:17 +0000)]
Luke Leighton [Fri, 9 Oct 1998 19:34:57 +0000 (19:34 +0000)]
basic client-side ntcreateX function (hard-wired values except filename)
(This used to be commit
caeb99201a1471bd709b4e8f07c57e5caabf0795)
Luke Leighton [Fri, 9 Oct 1998 19:05:19 +0000 (19:05 +0000)]
Luke Leighton [Fri, 9 Oct 1998 14:02:59 +0000 (14:02 +0000)]
anders blomdell spotted an unititialised fstring causing strlen to go
awry (ascii_p16)
(This used to be commit
0b45c08ffad6f8b12c6fb2b184d3b5d52177cabe)
Richard Sharpe [Fri, 9 Oct 1998 10:03:19 +0000 (10:03 +0000)]
Added code to convert empty file names to "." so we avoid
searching the cache, but only if we are not on a print share.
This code is known to work on at least one site!
(This used to be commit
a2898af463132147cbe19b18585c793960cb39ee)
Richard Sharpe [Fri, 9 Oct 1998 06:47:22 +0000 (06:47 +0000)]
Add a DEBUG to unix_convert
(This used to be commit
ac61a102473c7f23938368f9bfea494cd56344a1)
Luke Leighton [Thu, 8 Oct 1998 23:57:46 +0000 (23:57 +0000)]
Samba Release Account [Thu, 8 Oct 1998 22:49:33 +0000 (22:49 +0000)]
preparing for release of 2.0.0 alpha 11
(This used to be commit
8d9c5f35225441384f69744bf8cda8115828ae2f)
Andrew Tridgell [Thu, 8 Oct 1998 22:48:46 +0000 (22:48 +0000)]
fixed bug pointed out by Herb.
(This used to be commit
35a5e9ce4fd60806e652f221e25caa0664b69209)
Samba Release Account [Thu, 8 Oct 1998 22:12:49 +0000 (22:12 +0000)]
preparing for release of 2.0.0 alpha 10
(This used to be commit
0a8c03bb98498c10186dd12f1602f6e859465a8a)
Andrew Tridgell [Thu, 8 Oct 1998 22:12:13 +0000 (22:12 +0000)]
fixed a bug in the readline support
(This used to be commit
b0a69622509b450cb7724735c51d4b7173beac73)
Andrew Tridgell [Thu, 8 Oct 1998 21:58:24 +0000 (21:58 +0000)]
really fixed the warning this time :)
(This used to be commit
64692f292fc610b90de97a85101203946ce65bfa)
Andrew Tridgell [Thu, 8 Oct 1998 21:54:26 +0000 (21:54 +0000)]
fixed a warning
(This used to be commit
d4291d353b293bbc65fb0bf76c2d943733297726)
Herb Lewis [Thu, 8 Oct 1998 20:43:29 +0000 (20:43 +0000)]
add missing targets that were added to makefile
(This used to be commit
993c49a984fa2ae219f675543a1d0b6a7fbe043a)
Luke Leighton [Thu, 8 Oct 1998 14:11:19 +0000 (14:11 +0000)]
added "permission obtained from John Erickson <jerickson@ddj.com> ...."
(This used to be commit
0067e45d4194bd14549aac6e8f40a2ef19305716)
Andrew Tridgell [Thu, 8 Oct 1998 06:49:00 +0000 (06:49 +0000)]
- don't generate 0 params in torture
- handle 0 params in ipc.c
(This used to be commit
c0dc8e87f0d56444a8ddff0817a94065ca295847)
Andrew Tridgell [Thu, 8 Oct 1998 06:21:33 +0000 (06:21 +0000)]
- fixed a bunch of warnings and minor errors
- got smbtorture to compile
- removed %D from some of lukes code - Luke, what is %D? it ain't
portable anyway
(This used to be commit
91597c12fb593f49b23c7cea5b64dbb89a0428b3)
Andrew Tridgell [Thu, 8 Oct 1998 06:19:29 +0000 (06:19 +0000)]
add "smbtorture" alias for building smbtorture
(This used to be commit
230e4eb3dd9753899564fd6ec0e0291ee00be8c4)
Andrew Tridgell [Thu, 8 Oct 1998 04:57:59 +0000 (04:57 +0000)]
removed extra comma (some compilers don't like it).
Luke, I fixed this yesterday as well! grumble.
(This used to be commit
da5234faa0373f5b913a135b2557f2ca9e30111c)
Andrew Tridgell [Thu, 8 Oct 1998 04:52:11 +0000 (04:52 +0000)]
auto-detect the right flag for the compiler to produce PIC code
(This used to be commit
5d92e003978f02e53c0886508ccefc8c24ec1bbf)
Andrew Tridgell [Thu, 8 Oct 1998 02:28:21 +0000 (02:28 +0000)]
use 1 second resolution calls if possible
(This used to be commit
349469221a84658048790d7567b4fcea43c0b759)
Andrew Tridgell [Thu, 8 Oct 1998 01:23:33 +0000 (01:23 +0000)]
fixed a problem with fchdir() that broke "cvs -d" in smbsh
(This used to be commit
6121f7c8c2d63fd12266327a6f2ac9a5e717dccc)
Andrew Tridgell [Thu, 8 Oct 1998 00:23:08 +0000 (00:23 +0000)]
added some comments
(This used to be commit
e5ed0e6f96835c5b189368faf4555d07f1f6b19c)
Andrew Tridgell [Thu, 8 Oct 1998 00:02:43 +0000 (00:02 +0000)]
removed lukes acl check in configure (not needed)
(This used to be commit
a3339c111de9f82b6badaac8e6ef430d277c3afa)
Andrew Tridgell [Wed, 7 Oct 1998 23:57:02 +0000 (23:57 +0000)]
don't prototype the acl() functions
(This used to be commit
9efbb21f35aca6f86ed3cb9c58ebec40e5d44b90)
Luke Leighton [Wed, 7 Oct 1998 21:42:24 +0000 (21:42 +0000)]
Luke Leighton [Wed, 7 Oct 1998 16:49:32 +0000 (16:49 +0000)]
added aclent_t autoconf test (defines as an int if it doesn't exist).
this is to stop a compilation error caused by make proto putting
functions that are wrapped in #if HAVE_ACLxxx code.
maybe a better fix would be to have mkproto.awk exclude any functions
wrapped in #if HAVEs that don't exist.
(This used to be commit
361c1b7ea994cc25d460ebd25b2ad9025f90848c)
Luke Leighton [Wed, 7 Oct 1998 16:45:44 +0000 (16:45 +0000)]
return False _and_ a break in a switch statement.
(This used to be commit
e3f0f1ad9c2b81fd3489d858a9a98338001538c5)
Luke Leighton [Wed, 7 Oct 1998 15:24:48 +0000 (15:24 +0000)]
make proto required
(This used to be commit
cf4e2a601fe6b6c9980da87d51643b726c0de1dd)
Luke Leighton [Wed, 7 Oct 1998 15:22:49 +0000 (15:22 +0000)]
Andrew Tridgell [Wed, 7 Oct 1998 13:27:54 +0000 (13:27 +0000)]
compile to .po.o first then mv to .po in order to make the sun
compilers happy
(This used to be commit
6625b696469089138f0bd01ab966f30ba509dbda)
Andrew Tridgell [Wed, 7 Oct 1998 11:07:24 +0000 (11:07 +0000)]
restore errno after smbw initialisation
(This used to be commit
f374706cbf654bdb33df3074cb1a8101af0201eb)
Andrew Tridgell [Wed, 7 Oct 1998 10:58:12 +0000 (10:58 +0000)]
we need realcalls.h in realcalls.c
(This used to be commit
42765a654f9fe45160760e61a80d789279ee6198)
Andrew Tridgell [Wed, 7 Oct 1998 10:57:51 +0000 (10:57 +0000)]
SunOS doesn't need any ld flags
(This used to be commit
f92383689a6ee62c71553f12c633f1aadb32065e)
Andrew Tridgell [Wed, 7 Oct 1998 10:49:27 +0000 (10:49 +0000)]
fixed a warning on SunOS
(This used to be commit
fda52c6fd1ff0c46948bff7156742dab1dd1eacd)