PRB: Binary Files with Keyword Expansion CorruptedLast reviewed: September 11, 1997Article ID: Q155888 |
The information in this article applies to:
SYMPTOMSIf Keyword Expansion is enabled for binary files, and a binary file containing a SourceSafe Keyword is checked in, that file will be corrupted.
RESOLUTION
$Revision:: $NOTE: Make sure you leave enough space between the second colon and the dollar sign for the revision number. When you use one colon, SourceSafe puts its information between the colon and the dollar. Depending on how long the information is, and how many spaces you had, this will generally make the whole string either shorter or longer than it was at first. In a text file, this is no problem, but it will corrupt a binary file. When you use two colons, that tells SourceSafe to keep the string length the same. In other words, SourceSafe knows to keep the exact same number of characters between the second colon and the dollar sign. SourceSafe will pad with extra spaces, or truncate the information, as necessary, in order to keep things the same, so the binary file is not corrupted.
b. Remove *.xls from the "Expand keywords in files of type" textbox.-or-
c. Add !*.xls to the "Expand keywords in files of type" textbox.Items "a." and "b." listed above are both equivalent to editing the Keyword_Masks variable manually in the SRCSAFE.INI file.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Problem
REFERENCESFor more information on Keyword Expansion, see Chapter 5 in the Visual SourceSafe User's Guide.
|
Additional query words: DLL EXE DOC
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |