SCCS-vsn: usr.bin/f77/libI77/Makefile 5.3
SCCS-vsn: usr.bin/f77/libI77/f77_abort.c 5.2
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
-# @(#)Makefile 5.2 (Berkeley) %G%
+# @(#)Makefile 5.3 (Berkeley) %G%
#
# Makefile for f77 I/O lib, libI77.a
#
# Makefile for f77 I/O lib, libI77.a
inquire.o \
lread.o \
lwrite.o \
inquire.o \
lread.o \
lwrite.o \
open.o \
rdfe.o \
rdfmt.o \
open.o \
rdfe.o \
rdfmt.o \
inquire.c \
lread.c \
lwrite.c \
inquire.c \
lread.c \
lwrite.c \
open.c \
rdfe.c \
rdfmt.c \
open.c \
rdfe.c \
rdfmt.c \
err.o: fio.h f_errno.h fiodefs.h err.c
fmtlib.o: fio.h f_errno.h fiodefs.h fmtlib.c
f77_abort.o: fio.h f_errno.h fiodefs.h f77_abort.c
err.o: fio.h f_errno.h fiodefs.h err.c
fmtlib.o: fio.h f_errno.h fiodefs.h fmtlib.c
f77_abort.o: fio.h f_errno.h fiodefs.h f77_abort.c
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)f77_abort.c 5.1 %G%
+ * @(#)f77_abort.c 5.2 %G%
*
* all f77 aborts eventually call f77_abort.
* f77_abort cleans up open files and terminates with a dump if needed,
*
* all f77 aborts eventually call f77_abort.
* f77_abort cleans up open files and terminates with a dump if needed,
char *getenv();
extern int errno;
char *getenv();
extern int errno;
-extern int _dbsubc; /* dbsubc is non-zero if -lg was specified to ld */
+int _lg_flag; /* _lg_flag is non-zero if -lg was specified to ld */
f77_abort( err_val, act_core )
{
f77_abort( err_val, act_core )
{
second line checks if -lg specified to ld (e.g. by saying
-g to f77) and checks the f77_dump_flag var. */
core_dump = ((nargs() != 2) || act_core) &&
second line checks if -lg specified to ld (e.g. by saying
-g to f77) and checks the f77_dump_flag var. */
core_dump = ((nargs() != 2) || act_core) &&
- ( (_dbsubc && (first_char != 'n')) || first_char == 'y');
+ ( (_lg_flag && (first_char != 'n')) || first_char == 'y');
if( !core_dump )
fprintf(units[STDERR].ufd,"*** Execution terminated\n");
if( !core_dump )
fprintf(units[STDERR].ufd,"*** Execution terminated\n");