Changeset c64e4ed4 in rtems for c/build-tools/src


Ignore:
Timestamp:
Jan 15, 1996, 9:50:28 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a625ccd
Parents:
5c491aef
Message:

updates from Tony Bennett for PA and UNIX ports

Location:
c/build-tools/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/build-tools/src/cklength.c

    r5c491aef rc64e4ed4  
    1111 *
    1212 * $Id$
    13  * $Log$
    14  * Revision 1.4  1995/10/06  20:00:38  joel
    15  * SPARC merged and successfully tested w/o interrupt support
    16  *
    17  * Revision 1.3  1995/10/06 16:32:20  joel
    18  * moved to new development machine and went to gcc 2.7.0
    19  *
    20  * Revision 1.2  1995/05/31  16:44:26  joel
    21  * fixing revision
    22  *
    23  * Revision 1.1.1.1  1995/05/11  17:35:11  joel
    24  * Release 3.1.15
    25  *
    2613 */
    2714
     
    275262        if (error_flag & ERR_FATAL)
    276263        {
    277             error(0, local_errno ? "fatal error, exiting" : "exiting");
    278             exit(local_errno);
     264            error(0, "fatal error, exiting");
     265            exit(local_errno ? local_errno : 1);
    279266        }
    280267        else
  • c/build-tools/src/eolstrip.c

    r5c491aef rc64e4ed4  
    99 *
    1010 * $Id$
    11  * $Log$
    12  * Revision 1.4  1995/10/06  20:00:39  joel
    13  * SPARC merged and successfully tested w/o interrupt support
    14  *
    15  * Revision 1.3  1995/10/06 16:32:21  joel
    16  * moved to new development machine and went to gcc 2.7.0
    17  *
    18  * Revision 1.2  1995/05/31  16:44:28  joel
    19  * fixing revision
    20  *
    21  * Revision 1.1.1.1  1995/05/11  17:35:12  joel
    22  * Release 3.1.15
    23  *
    2411 */
    2512
     
    262249        if (error_flag & ERR_FATAL)
    263250        {
    264             error(0, local_errno ? "fatal error, exiting" : "exiting");
    265             exit(local_errno);
     251            error(0, "fatal error, exiting");
     252            exit(local_errno ? local_errno : 1);
    266253        }
    267254        else
  • c/build-tools/src/unhex.c

    r5c491aef rc64e4ed4  
    709709        if (error_flag & ERR_FATAL)
    710710        {
    711             error(0, local_errno ? "fatal error, exiting" : "exiting");
    712             exit(local_errno);
     711            error(0, "fatal error, exiting");
     712            exit(local_errno ? local_errno : 1);
    713713        }
    714714        else
Note: See TracChangeset for help on using the changeset viewer.