Changeset 602


Ignore:
Timestamp:
Jun 25, 2017, 9:57:12 PM (8 years ago)
Author:
David Azarewicz
Message:

Changed behavior of /A paramater.

Location:
GPL/trunk
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/drv32/parse.c

    r598 r602  
    4444int fDebug    = FALSE;
    4545int ForceCard = CARD_NONE;
    46 int iAdapterNumber = 0;
     46int iAdapterNumber = -1;
    4747
    4848extern short int midi_port;
  • GPL/trunk/lib32/pci.c

    r598 r602  
    513513        pDriverId->vendor, pDriverId->device, pDriverId->class, pDriverId->class_mask, driver->name));
    514514
    515       if (iAdapter < iAdapterNumber)
     515      if ((iAdapterNumber >= 0) && (iAdapter < iAdapterNumber))
    516516      {
    517517        iAdapter++;
     
    533533      RMDone(0, 0, 0);
    534534    } /* for id_table loop */
     535
    535536    if (pcidev)
    536537    {
     
    540541    else
    541542    {
     543      if (iAdapterNumber >= 0) break;
    542544      /* find another empty slot */
    543545      for (iTmp=0; iTmp<MAX_PCI_DEVICES; iTmp++)
  • GPL/trunk/tools/AddToFile.cmd

    r596 r602  
    9292    /* get fixpack from SVN version */
    9393    if (Parm4='SVN') then Parm4='SVN'||SvnVersion();
     94    if (Parm2='DATE') then Parm2=SUBSTR(DATE('S'), 1, 4)||'.'||SUBSTR(DATE('S'), 5, 2)||'.'||SUBSTR(DATE('S'), 7, 2);
    9495
    9596    parse var Parm2 major'.'minor'.'ProjVersion;
     
    134135  when (Function='DATEDAY') then do
    135136    NewStr=FORMAT(SUBSTR(DATE('S'), 7, 2));
     137    RepLoc=Pos('%A', String);
     138    if (RepLoc>0) then OutStr=Substr(String,1,RepLoc-1)||NewStr||Substr(String,RepLoc+2);
     139    else OutStr=String||' '||NewStr;
     140    rc=lineout(OutFile, OutStr);
     141    rc=lineout(OutFile);
     142  end
     143
     144  when (Function='DATE1') then do
     145    parse value Date('N') with MyDay MyMonth MyYear;
     146    NewStr=MyYear||'-'||MyMonth||'-'||Right(MyDay, 2, 0);
    136147    RepLoc=Pos('%A', String);
    137148    if (RepLoc>0) then OutStr=Substr(String,1,RepLoc-1)||NewStr||Substr(String,RepLoc+2);
  • GPL/trunk/uniaud.inc

    r598 r602  
    77# BUILDVERSION must be 3 parts, and only numbers like 5.44.108
    88# The second and third numbers must be 2 digits
    9 BUILDVERSION = 2.02.02
     9BUILDVERSION = 2.02.03
    1010
    1111# Fixpack version
     
    1313# ex RC3  GA  FIXPACK2 beta_47
    1414# Comment out to avoid a fixpack line in bldlevel
    15 FIXPACK = BETA
     15FIXPACK = SVN
    1616
    1717# ALSA BUILD VERSION
Note: See TracChangeset for help on using the changeset viewer.