Microsoft KB Archive/129187

= PRB: Files Truncated One Byte When Placed in SourceSafe =

Article ID: 129187

Article Last Modified on 12/1/2003

-

APPLIES TO


 * Microsoft Visual SourceSafe 4.0 Standard Edition
 * Microsoft Visual SourceSafe 5.0 Standard Edition
 * Microsoft SourceSafe
 * Microsoft SourceSafe
 * Microsoft SourceSafe
 * Microsoft SourceSafe
 * Microsoft SourceSafe
 * Microsoft SourceSafe
 * Microsoft Visual SourceSafe 3.04
 * Microsoft Visual SourceSafe 3.1 Standard Edition

-



This article was previously published under Q129187



SYMPTOMS
Files are truncated one byte when placed in SourceSafe.



CAUSE
SourceSafe converts the combination when adding a text file to SourceSafe. Some programs write files out with the  combination at the end of the file. SourceSafe will truncate the character if the file is stored as a text file.

On occasion, text files are interpreted by programs that rely on this character. This behavior may cause problems with these programs.



RESOLUTION
Change the file type in SourceSafe from Text to Binary.  Enter the following from the Command Line:

ss filetype -b

 in the interface, choose Properties from the Info menu. Change the Type from Text to Binary.

To have SourceSafe read files in as type Binary by default, use the Binary_Masks setting in the SRCSAFE.INI or SS.INI files:

Binary_Masks = *.BAS



STATUS
This behavior is by design.

Keywords: kbprb kbusage KB129187

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.