| Title: | DEC C Problem Reporting Forum |
| Notice: | Report DEC C++ problems in TURRIS::C_PLUS_PLUS |
| Moderator: | CXXC::REPETE TCHEON |
| Created: | Fri Nov 13 1992 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 1299 |
| Total number of notes: | 6249 |
We are currently working multiple calls from customers around reading
VFC files who applied the ALPACRT08_062 ECO:
Image Identification Information
image name: "DECC$SHR"
image file identification: "T06.2-05"
image file build identification: "X61Q-SSB-L400"
link date/time: 6-JAN-1997 16:34:02.40
linker identification: "A11-12"
The problem problem appears to be that the first read by fgets
is bogus.
>ty test.c
#include <stdio.h>
main()
{
FILE *file;
char line[81];
file = fopen("test.tmp", "r");
while (fgets(line, 80, file) != NULL)
printf("line=%s", line);
fclose(file);
}
>ty test.com
$ open/write file test.tmp
$ write file "Line 1"
$ write file "Line 2"
$ close file
>run test
line=
line=Line 1
line=Line 2
* works correctly when run against decc$shr
* image file identification: "X07.0-2"
>run test
line=Line 1
line=Line 2
Thanks,
Elin
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 1276.1 | TLE::D_SMITH | Duane Smith -- DEC C RTL | Tue Mar 18 1997 12:34 | 9 | |
This is being tracked as CRTL problem number 1700 and has been assigned
to an engineer. Given that this is introduced in the latest ECO kit,
we will work on it quickly. The problem with ECO kits is that they
supercede one another and putting the latest one on hold means that
there would be no ECO kits available. The good news is that the VFC
file change (based on DECC_BUGS 1224) was only introduced into the V6.2
ECO streams.
Duane
| |||||
| 1276.2 | Recommend backing off the kit until we look at the problem | TLE::D_SMITH | Duane Smith -- DEC C RTL | Tue Mar 18 1997 12:53 | 18 |
Elin,
Might I suggest that you respond to the customers by informing them
that C Run-Time Library ECO kits may be "backed off" as per the
kits release notes. This will restore the state of the RTL as it
was before the kit was installed.
Duane
Removal Instructions:
Remove this kit and restore the original files and libraries by
logging into the SYSTEM account, and typing the following DCL
prompt:
@SYS$UPDATE:ACRT$ECO_DROP
| |||||
| 1276.3 | The problem is easily reproducible, thank you | TLE::D_SMITH | Duane Smith -- DEC C RTL | Tue Mar 18 1997 13:11 | 1 |
| 1276.4 | thanks | CSC32::E_VAETH | Suffering from temporary brain cramp, stay tuned | Tue Mar 18 1997 14:21 | 6 |
I will suggest that the customer back off the ECO and let him know that
Engineering has placed a high priority on the problem.
Thanks,
Elin
| |||||
| 1276.5 | TLE::D_SMITH | Duane Smith -- DEC C RTL | Tue Mar 18 1997 18:51 | 2 | |
We have found the problem and will be resubmitting a new ECO kit.
| |||||