Ignore:
Timestamp:
Mar 7, 2005, 5:47:18 PM (21 years ago)
Author:
cmv
Message:

update xephem 3.6.4 cmv 07/03/2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/XephemAstroLib/dbfmt.c

    r2643 r2653  
    387387        if (nf < 5 || nf > 7) {
    388388            if (whynot)
    389                 sprintf (whynot, "%s: f needs 5-7 fields, not %d",enm(flds),nf);
     389                sprintf (whynot, "%s: type f needs 5-7 fields, not %d",
     390                                                                enm(flds),nf);
    390391            return (-1);
    391392        }
     
    411412                return (-1);
    412413            }
    413         }
     414        } else
     415            op->f_class = 'T';          /* default to star-like */
    414416        if (nsf > 2) {
    415417            /* fill f_spect all the way */
     
    465467        if (nf != 13 && nf != 14) {
    466468            if (whynot)
    467                 sprintf (whynot, "%s: e needs 13 or 14 fields, not %d",
     469                sprintf (whynot, "%s: type e needs 13 or 14 fields, not %d",
    468470                                                                enm(flds), nf);
    469471            return (-1);
     
    506508        if (nf != 11 && nf != 12) {
    507509            if (whynot)
    508                 sprintf (whynot, "%s: h needs 11 or 12 fields, not %d",
     510                sprintf (whynot, "%s: type h needs 11 or 12 fields, not %d",
    509511                                                                enm(flds), nf);
    510512            return (-1);
     
    536538        if (nf != 10 && nf != 11) {
    537539            if (whynot)
    538                 sprintf (whynot, "%s: p needs 10 or 11 fields, not %d",
     540                sprintf (whynot, "%s: type p needs 10 or 11 fields, not %d",   
    539541                                                                enm(flds), nf);
    540542            return (-1);
     
    565567        if (nf != 11 && nf != 12) {
    566568            if (whynot)
    567                 sprintf (whynot, "%s: E needs 11 or 12 fields, not %d",
     569                sprintf (whynot, "%s: type E needs 11 or 12 fields, not %d",
    568570                                                            enm(flds), nf);
    569571            return (-1);
     
    747749            if (whynot)
    748750                sprintf (whynot,
    749                         "%s: B needs 3,6 or 7 subfields in field 7, not %d",
     751                       "%s: type B needs 3,6 or 7 subfields in field 7, not %d",
    750752                                                                enm(flds), nsf);
    751753            return (-1);
     
    10041006
    10051007/* For RCS Only -- Do Not Edit */
    1006 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: dbfmt.c,v $ $Date: 2005-01-17 10:13:04 $ $Revision: 1.4 $ $Name: not supported by cvs2svn $"};
     1008static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: dbfmt.c,v $ $Date: 2005-03-07 16:47:17 $ $Revision: 1.5 $ $Name: not supported by cvs2svn $"};
Note: See TracChangeset for help on using the changeset viewer.