delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/04/20/05:38:26

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3EA2685E.725043BC@phekda.freeserve.co.uk>
Date: Sun, 20 Apr 2003 10:29:02 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: Andrew Cottrell <acottrel AT ihug DOT com DOT au>
CC: djgpp-workers AT delorie DOT com
Subject: Re: fstat, fd_props and inventing inodes, revision 3 [PATCH]
References: <E196rAk-0007Mp-00 AT phekda DOT freeserve DOT co DOT uk> <003101c30704$8dbb1ea0$0100a8c0 AT acp42g> <000a01c30708$aacbc680$0100a8c0 AT acp42g>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Andrew Cottrell wrote:
[snip]
> Some more info that may help is that the test in getshare.c partially (or is
> it fully) working. Only available drive mappings are shown, unavailable
> mappings are not shown. For example the following show this:-
> 
> D:\dj204>net use
> New connections will be remembered.
> Status       Local     Remote                    Network
> ----------------------------------------------------------------------------
> ---
> OK           Y:        \\Ac-p42g\GHOST           Microsoft Windows Network
> Unavailable  Z:        \\Celleron800\C_DRIVE     Microsoft Windows Network
> The command completed successfully.
> 
> D:\dj204\test>test
> Drive mapping test:-
> Y -> \\Ac-p42g\GHOST

Thanks for running that test. It's interesting that 'getshare' doesn't know
about unavailable disks. The code doesn't ignore unavailable disks, so it
looks like your OS (Win2k/XP?) doesn't report unavailable disks via the LANMan
APIs.

Thanks, bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019