With thanks to "Todd T. Fries" <todd@fries.net>
OpenBSD 3.8.
Introduce HAVE_STRCASESTR.
(cherry picked from commit c8db31cc2bf9b59d8b8cf7e5310079ff6c9e4a96)
There was a race condition associated with maintaining the
CM_FILELOCK_FLAG_CLIENTONLY flag on locks bound to scache entries
for Read Only volumes. Therefore, we remove the use of the flag
and simply test the RO status of the scache entry.
(cherry picked from commit 2dcb1cdc3d6f10b366d2b93970f5f1f83287e157)
Discovered a failure in the state machine. There was no method of
distinguishing between all servers being Down (which is handled by the
background thread) and all volumes being offline (perhaps due to a move).
(cherry picked from commit 465273f096b1a1720ca07638537fd4c65d7d1d8d)
minor cleanup to get things working from the merge
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
remaining bits to make this build
====================
add missing installer files
Do not mark locks lost simply because the ExtendLock failed.
A lock is only lost if the server responds with EINVAL indicating
that the lock no longer exists. A lock can be renewed by other clients
that are also using the file. The client can make no assumptions about
the status of a lock based upon the passage of time.
(cherry picked from commit 8445720d36474797b67341991f15771dcb90b236)
Remove Product ID from Makefiles. They will be auto-generated in the
Wix installer.
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
Auto-generate Product IDs at build time since each installer has a
unique name. This will allow upgrades to be performed automatically.
(cherry picked from commit b9b6cb7c25cb3bcd4d34d1a52a7915c9ba46df06)
Return the actual locking error such as "access denied" due to lack of 'k'
privileges instead of a sharing violation.
(cherry picked from commit b7d63fe7389e1b984bf29ef680f791837fe63386)
remove an unwanted assertion and move the resetting of scp->serverLock
to -1 into cm_LockMarkSCacheLost() so that others do not forget to set
it. cm_LockMarkSCacheLost() is always called when the scp->mx is held
so it is ok to do so.
(cherry picked from commit 14408c7e88c198d80ce89e90e209f48685da89da)
FIXES 22032
Extend the fields so that more text can be displayed regarding the tokens.
(cherry picked from commit e12837391e2dbbf0cf113f9af64c4daeef6680a3)
based on comment from chas williams. set the default write amount as is
done for ufs cache writes
(cherry picked from commit 543e49eaaea2290c4239dd79864384f11adb2607)
FIXES 21722
ndir.h has been changed. also, pthreads header doesn't match how we used it
(cherry picked from commit aee18ed884d2af05174594120ba1825bfe76c96a)
many of the shell extension dialogs did not have default pushbuttons
specified which would result in an undesirable end user experience
(cherry picked from commit 28b99d753cbb5ff1dd527a93c8c6ee9c5c5011dd)
The shell extension is unloading as it should but is never being loaded
again. Since we have no clue why and no idea how to debug it, for now,
just prevent it from being unloaded in the first place.
(cherry picked from commit f8bdf475e2260f8c8d70a4ddc053ef3ec086a416)
Fix the server status dialog to properly call CheckServers and
fix CheckServers to properly construct the data structure for the
pioctl call.
(cherry picked from commit c0013b2513b206edded080f0a4cea6e7e96ab281)
Add reporting of the FID, cell, owner and group to the output of "fs exa"
(on Windows only). There is no other means to obtain this data from a
Windows client.
(cherry picked from commit 2b1604240e664da572df922aa84b15b717fcd8ec)
FIXES 21958
For the afscreds program on Windows, if you right click the system tray icon
to display the menu and then click on the taskbar, the menu is not hidden,
but instead is covered by the taskbar.
This is a common issue documented at
http://support.microsoft.com/default.aspx?scid=kb;en-us;135788.
(cherry picked from commit 46e260b9e72925f9f5b2e5cee3159d4c6b02fc05)
passing a random nlen into afs_GetDCache() when in write mode
seems to sometimes trigger overwrites.
(cherry picked from commit f1454a2885c410f5e886fa136a61c70cc06d42df)
Install a Documentation Shortcut as part of the client install.
It is independent of the Supplemental Documentation which is not
required for the release notes.
(cherry picked from commit 69a5db9fda91d5fc7becb85980f2f0595ebe7ed5)
New Product IDs for the 1.4 branch:
amd64_w2k {CC59770C-4690-4531-BAEB-55A5A6D2EEB9}
i386_nt40 {B7F03C11-E7E7-41f5-BEFD-C738EB5B075F}
i386_w2k {B2220B3E-B61D-4cc7-9D4B-17BA918D049C}
(cherry picked from commit 54ce3cf1e76210aef198f7ca90c7eaeae9d6c484)