[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decc_bugs

Title:DEC C Problem Reporting Forum
Notice:Report DEC C++ problems in TURRIS::C_PLUS_PLUS
Moderator:CXXC::REPETETCHEON
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

1276.0. "problem with vfc files after installing ALPACRT08_062" by CSC32::E_VAETH (Suffering from temporary brain cramp, stay tuned) Tue Mar 18 1997 11:27

    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.RTitleUserPersonal
Name
DateLines
1276.1TLE::D_SMITHDuane Smith -- DEC C RTLTue Mar 18 1997 12:349
    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.2Recommend backing off the kit until we look at the problemTLE::D_SMITHDuane Smith -- DEC C RTLTue Mar 18 1997 12:5318
    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.3The problem is easily reproducible, thank youTLE::D_SMITHDuane Smith -- DEC C RTLTue Mar 18 1997 13:111
    
1276.4thanksCSC32::E_VAETHSuffering from temporary brain cramp, stay tunedTue Mar 18 1997 14:216
    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.5TLE::D_SMITHDuane Smith -- DEC C RTLTue Mar 18 1997 18:512
    We have found the problem and will be resubmitting a new ECO kit.