Ignore:
Timestamp:
Jan 14, 2009 6:24:03 AM (12 years ago)
Author:
stefan
Message:

update to glpk 4.35

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Glpk/trunk/glpk.patch

    r1229 r1231  
    1010          case GLP_ECOND:
    1111          case GLP_EBOUND:  ret = LPX_E_FAULT;   break;
    12 
    13 --- glpk/src/glpmpl05.c.orig    2008-12-04 10:00:00.000000000 +0100
    14 +++ glpk/src/glpmpl05.c 2009-01-03 18:14:11.000000000 +0100
    15 @@ -484,11 +484,11 @@
    16                    Sunday as the first day of the first week; days
    17                    preceding the first Sunday in the year are considered
    18                    to be in week 00 */
    19 -               int sun;
    20 +               int sunday;
    21                 /* sun = the first Sunday of the year */
    22 -               sun = jday(1, 1, year) - jday(1, 1, 1970);
    23 -               sun += (7 - weekday(sun));
    24 -               sprintf(buf, "%02d", (j + 7 - sun) / 7);
    25 +               sunday = jday(1, 1, year) - jday(1, 1, 1970);
    26 +               sunday += (7 - weekday(sunday));
    27 +               sprintf(buf, "%02d", (j + 7 - sunday) / 7);
    28              }
    29              else if (*f == 'V')
    30              {  /* the ISO week number as a decimal number (range 01
Note: See TracChangeset for help on using the changeset viewer.