Loading ...
Sorry, an error occurred while loading the content.

[jasspa] Me Y2K problems

Expand Messages
  • Jon Green
    A couple of Y2K problems have appeared with the dates, the fixes are as follows:- There is another problem - see below, I ve not fixed this yet. Regards Jon.
    Message 1 of 1 , Jan 7, 2000
    View Source
    • 0 Attachment
      A couple of Y2K problems have appeared with the dates, the fixes
      are as follows:-

      There is another problem - see below, I've not fixed this yet.

      Regards
      Jon.



      cd d:/me990828/src/
      diff --context --minimal --ignore-space-change --report-identical-files --recursive "d:/me990828/src/print.c~~" "d:/me990828/src/print.c"

      *** d:/me990828/src/print.c~~ Thu Sep 09 10:17:00 1999
      --- d:/me990828/src/print.c Fri Jan 07 14:34:32 2000
      ***************
      *** 5,11 ****
      * Synopsis : Buffer printing routines
      * Created By : Jon Green & Steven Phillips
      * Created : 1996
      ! * Last Modified : <990909.1016>
      *
      * Description
      * This file contains routines to format and print buffers
      --- 5,11 ----
      * Synopsis : Buffer printing routines
      * Created By : Jon Green & Steven Phillips
      * Created : 1996
      ! * Last Modified : <:00107.1434>
      *
      * Description
      * This file contains routines to format and print buffers
      ***************
      *** 721,727 ****
      buf += sprintf ((char *) buf, "%02d", printer.ptime->tm_mon+1);
      break;
      case 'Y':
      ! buf += sprintf ((char *) buf, "%02d", printer.ptime->tm_year);
      break;
      case 'f':
      if ((gpbp->b_bname[0] == '*') || (gpbp->b_fname == NULL))
      --- 721,727 ----
      buf += sprintf ((char *) buf, "%02d", printer.ptime->tm_mon+1);
      break;
      case 'Y':
      ! buf += sprintf ((char *) buf, "%02d", printer.ptime->tm_year % 100);
      break;
      case 'f':
      if ((gpbp->b_bname[0] == '*') || (gpbp->b_fname == NULL))
      [EXIT]


      cd d:/me990828/src/
      diff --context --minimal --ignore-space-change --report-identical-files --recursive "d:/me990828/src/display.c~~" "d:/me990828/src/display.c"

      *** d:/me990828/src/display.c~~ Mon Nov 22 10:05:48 1999
      --- d:/me990828/src/display.c Fri Jan 07 14:34:32 2000
      ***************
      *** 12,18 ****
      *
      * Creation Date: 29/04/91 09:13
      *
      ! * Modification date: %G% : %U% <991122.1105>
      *
      * Current rev: %I%
      *
      --- 12,18 ----
      *
      * Creation Date: 29/04/91 09:13
      *
      ! * Modification date: %G% : %U% <:00107.1434>
      *
      * Current rev: %I%
      *
      ***************
      *** 1536,1542 ****
      goto model_copys ;

      case 'Y':
      ! ss = meItoa(time_ptr->tm_year);
      goto model_copys ;

      case 'h':
      --- 1536,1542 ----
      goto model_copys ;

      case 'Y':
      ! ss = meItoa(time_ptr->tm_year % 100);
      goto model_copys ;

      case 'h':
      [EXIT]


      --
      ______________________________________________________________________

      Jon Green J.D.Naughton-Green

      SAMSUNG Electronics Ltd
      Samsung Electronics Research Institute (Audio / Visual Labs)
      The Communication Centre
      South Street
      Staines Tel: +44 (0)1784 428600 ext 644
      MIDDLESEX Fax: +44 (0)1784 428620
      TW18 4QE Email (work): jnaught@...
      England Email (home): jon@...
      _______________________________________________________________________
    Your message has been successfully submitted and would be delivered to recipients shortly.