disk_query_directory() implementation to support
vailable info classes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1609 423420c4-83ab-492f-b58f-81f9feb106b5
recursive deletion of directory. This fixes bug 2906541 and
patch originates from 2909831.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1606 423420c4-83ab-492f-b58f-81f9feb106b5
the FileFsFullSizeInformation which solves the read-only issues
with disk redirections on Windows 7 and Windows 2008R2.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1605 423420c4-83ab-492f-b58f-81f9feb106b5
* The current return values have been selected pretty much without any
thought. Basically, the value 1 is used for all different kinds of
errors, except for a corner case where the server doesn't send a
RDP_PDU_DEACTIVATE in combination with a few special "reasons", where
the value 2 is used instead.
* rdesktop will currently also return with 2 if the user is closing
the rdesktop window, the same error as many other fatal errors, which
is somewhat strange.
* The main principle of my patch is to utilize more of the available
256 return codes. We are currently only using 3 values out of
256. This is bad; rdesktop should expose more information to the
caller about error conditions if it can.
Besides using the standardized exit codes for generic errors such as
EX_USAGE for command line usage errors, I've also exposed the
"extended disconnect reasons" from RDP. This allows for, for example,
to be able to distinguish between a logoff and a disconnect.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1510 423420c4-83ab-492f-b58f-81f9feb106b5
available at the top of the tree is indicative of free space anywhere in
the tree, because you may wish to redirect a mount point hierarchy.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1434 423420c4-83ab-492f-b58f-81f9feb106b5
stat:ing each file many times.
The patch modifies rdesktop so that the g_notify_stamp is only set
when writing. Also, the stamp is not set before disk_create_notify(),
since this would mean that NotifyInfo would be called twice directly.
With this patch, the number of stat:s has dropped from 24 to 4, using
my tests.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1401 423420c4-83ab-492f-b58f-81f9feb106b5
avoid confusion. (The variable name fstat also collides with the
function with the same name.)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1400 423420c4-83ab-492f-b58f-81f9feb106b5
and I can't see any field allowing for longer names. This is not very
surprising, since native clients export drive names ("A", "H" etc.).
Telling the user that the name is truncated at seven, not eight,
characters.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@817 423420c4-83ab-492f-b58f-81f9feb106b5
doesn't support growing files. Should solve problems with MS Office
and FAT disks.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@784 423420c4-83ab-492f-b58f-81f9feb106b5
Make sure we truncate share names longer than 8 chars.
Documentation updated.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@746 423420c4-83ab-492f-b58f-81f9feb106b5
directory list operation was aborted. This lead to empty directories,
or directories with too few entries.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@697 423420c4-83ab-492f-b58f-81f9feb106b5
hardcoded value 3. Added FIXME for other return types.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@695 423420c4-83ab-492f-b58f-81f9feb106b5