mirror of
https://github.com/mirror/make.git
synced 2025-01-07 02:40:59 +08:00
Formerly job.c.~87~
This commit is contained in:
parent
d19c2ef049
commit
5b45a568c0
6
job.c
6
job.c
@ -1,5 +1,5 @@
|
|||||||
/* Job execution and handling for GNU Make.
|
/* Job execution and handling for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify
|
||||||
@ -45,8 +45,6 @@ char default_shell[] = "/bin/sh";
|
|||||||
|
|
||||||
#if defined(HAVE_SYS_WAIT) || !defined(USG)
|
#if defined(HAVE_SYS_WAIT) || !defined(USG)
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <sys/time.h>
|
|
||||||
#include <sys/resource.h>
|
|
||||||
|
|
||||||
#ifndef wait3
|
#ifndef wait3
|
||||||
extern int wait3 ();
|
extern int wait3 ();
|
||||||
@ -759,7 +757,7 @@ load_too_high ()
|
|||||||
static int lossage = 0;
|
static int lossage = 0;
|
||||||
/* Complain only once for the same error. */
|
/* Complain only once for the same error. */
|
||||||
if (lossage == 0 || errno != lossage)
|
if (lossage == 0 || errno != lossage)
|
||||||
perror_with_name ("getloadavg", "");
|
perror_with_name ("cannot enforce load limit", "getloadavg");
|
||||||
lossage = errno;
|
lossage = errno;
|
||||||
load = 0;
|
load = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user