Changeset 113


Ignore:
Timestamp:
May 9, 2003, 11:15:46 PM (23 years ago)
Author:
bird
Message:

Initial hacking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/binutils/binutils/objcopy.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r112 r113  
    550550  char * buffer;
    551551  unsigned int line_count;
    552  
     552
    553553  if (stat (filename, & st) < 0)
    554554    fatal (_("cannot stat: %s: %s"), filename, strerror (errno));
     
    569569
    570570  line_count = 1;
    571  
     571
    572572  for (line = buffer; * line != '\0'; line ++)
    573573    {
     
    588588              finished = true;
    589589              break;
    590              
     590       
    591591            case '\r':
    592592              * eol = '\0';
     
    596596              finished = true;
    597597              break;
    598              
     598       
    599599            case 0:
    600600              finished = true;
    601601              break;
    602              
     602       
    603603            case '#':
    604604              /* Line comment, Terminate the line here, in case a
     
    607607              * eol = '\0';
    608608              break;
    609              
     609       
    610610            default:
    611611              break;
     
    638638                       line_count, filename);
    639639        }
    640  
     640
    641641      * name_end = '\0';
    642642
     
    13461346  bfd *ibfd;
    13471347  char **matching;
     1348
     1349
     1350
     1351
     1352
    13481353
    13491354  /* To allow us to do "strip *" without dying on the first
     
    13891394      if (!bfd_close (ibfd))
    13901395        RETURN_NONFATAL (input_filename);
     1396
     1397
     1398
     1399
     1400
     1401
     1402
     1403
     1404
     1405
     1406
     1407
     1408
     1409
     1410
     1411
     1412
     1413
     1414
     1415
     1416
     1417
     1418
     1419
     1420
     1421
     1422
     1423
     1424
     1425
     1426
     1427
     1428
     1429
     1430
     1431
     1432
     1433
     1434
     1435
     1436
     1437
     1438
     1439
     1440
     1441
    13911442    }
    13921443  else
Note: See TracChangeset for help on using the changeset viewer.