Dec 192017
Official Microsoft patch, MSC 5.1 printf().
File MSC51PAT.ZIP from The Programmer’s Corner in
Category C Source Code
Official Microsoft patch, MSC 5.1 printf().
File Name File Size Zip Size Zip Type
CPRINTF.C 3574 2443 deflated
CPRINTF.CRT 3723 2547 deflated
CPRINTF.DLL 3588 2466 deflated
CPRINTF.L 3666 2497 deflated
CPRINTF.M 3314 2329 deflated
CPRINTF.MT 3712 2527 deflated
CPRINTF.S 3238 2302 deflated
OUTPUT.C 3823 2603 deflated
OUTPUT.CRT 3891 2632 deflated
OUTPUT.DLL 3839 2596 deflated
OUTPUT.L 3891 2600 deflated
OUTPUT.M 3490 2417 deflated
OUTPUT.MT 3891 2632 deflated
OUTPUT.S 3422 2402 deflated
README.DOC 2391 1008 deflated
UPDATE.BAT 2397 313 deflated
UPDATE.CMD 2397 313 deflated

Download File MSC51PAT.ZIP Here

Contents of the README.DOC file

Copyright (c) Microsoft Corp 1984, 1985, 1986, 1987, 1988. All rights reserved.

The files in this archive are for use by owners of Microsoft C Optimizing
Compiler and Microsoft QuickC only. These objects may be distributed subject
to the restrictions specified in the Microsoft License Agreement provided
with the product.


This file contains replacement object files to correct a problem with
formatted output in the Microsoft C 5.10 runtime. Specificly, printf would
not zero fill floating point numbers when the specified precision is zero.
The cprintf() function also has this problem. This is demonstrated by the
following example.



printf("%04.0f\n", 12.34);


The current runtime library will output ' 12'. With this update, the
library will output '0012'.

The following is a list of the files in this archive.

README.DOCThis file.
UPDATE.BATDOS batch file to update all libraries.
UPDATE.CMDOS/2 batch file to update all libraries.

OUTPUT.SOUTPUT.OBJ for small model libraries.
OUTPUT.MOUTPUT.OBJ for medium model libraries.
OUTPUT.COUTPUT.OBJ for compact model libraries.
OUTPUT.LOUTPUT.OBJ for large model libraries.

CPRINTF.SCPRINTF.OBJ for small model libraries.
CPRINTF.MCPRINTF.OBJ for medium model libraries.
CPRINTF.CCPRINTF.OBJ for compact model libraries.
CPRINTF.LCPRINTF.OBJ for large model libraries.

To update your libraries, you should place all these files in the same
directory as the libraries and type UPDATE. The process may take a some
time depending on the number of libraries you created during installation.

The update procedure will create a backup of each library with the
file extension .BAK. After you assure yourself that the update completed
without error (for example insufficient disk space), you can delete the
backups. The original combined libraries can always be regenerated using
the SETUP program and the distribution disks.

 December 19, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>