Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make make(1): indent job.h with tabs instead of spaces
details: https://anonhg.NetBSD.org/src/rev/97fa4323e4d8
branches: trunk
changeset: 957917:97fa4323e4d8
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Dec 15 16:30:55 2020 +0000
description:
make(1): indent job.h with tabs instead of spaces
diffstat:
usr.bin/make/job.h | 64 +++++++++++++++++++++++++++---------------------------
1 files changed, 32 insertions(+), 32 deletions(-)
diffs (97 lines):
diff -r d2a36a0df0d7 -r 97fa4323e4d8 usr.bin/make/job.h
--- a/usr.bin/make/job.h Tue Dec 15 16:24:17 2020 +0000
+++ b/usr.bin/make/job.h Tue Dec 15 16:30:55 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: job.h,v 1.69 2020/12/12 10:21:50 rillig Exp $ */
+/* $NetBSD: job.h,v 1.70 2020/12/15 16:30:55 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -118,11 +118,11 @@
#endif
typedef enum JobStatus {
- JOB_ST_FREE = 0, /* Job is available */
- JOB_ST_SET_UP = 1, /* Job is allocated but otherwise invalid */
- /* XXX: What about the 2? */
- JOB_ST_RUNNING = 3, /* Job is running, pid valid */
- JOB_ST_FINISHED = 4 /* Job is done (ie after SIGCHILD) */
+ JOB_ST_FREE = 0, /* Job is available */
+ JOB_ST_SET_UP = 1, /* Job is allocated but otherwise invalid */
+ /* XXX: What about the 2? */
+ JOB_ST_RUNNING = 3, /* Job is running, pid valid */
+ JOB_ST_FINISHED = 4 /* Job is done (ie after SIGCHILD) */
} JobStatus;
/* A Job manages the shell commands that are run to create a single target.
@@ -137,44 +137,44 @@
* that was just remade, marking them as ready to be made next if all
* other dependencies are finished as well. */
typedef struct Job {
- /* The process ID of the shell running the commands */
- int pid;
+ /* The process ID of the shell running the commands */
+ int pid;
- /* The target the child is making */
- GNode *node;
+ /* The target the child is making */
+ GNode *node;
- /* If one of the shell commands is "...", all following commands are
- * delayed until the .END node is made. This list node points to the
- * first of these commands, if any. */
- StringListNode *tailCmds;
+ /* If one of the shell commands is "...", all following commands are
+ * delayed until the .END node is made. This list node points to the
+ * first of these commands, if any. */
+ StringListNode *tailCmds;
- /* This is where the shell commands go. */
- FILE *cmdFILE;
+ /* This is where the shell commands go. */
+ FILE *cmdFILE;
- int exit_status; /* from wait4() in signal handler */
+ int exit_status; /* from wait4() in signal handler */
- JobStatus status;
+ JobStatus status;
- Boolean suspended;
+ Boolean suspended;
- /* Ignore non-zero exits */
- Boolean ignerr;
- /* Output the command before or instead of running it. */
- Boolean echo;
- /* Target is a special one. */
- Boolean special;
+ /* Ignore non-zero exits */
+ Boolean ignerr;
+ /* Output the command before or instead of running it. */
+ Boolean echo;
+ /* Target is a special one. */
+ Boolean special;
- int inPipe; /* Pipe for reading output from job */
- int outPipe; /* Pipe for writing control commands */
- struct pollfd *inPollfd; /* pollfd associated with inPipe */
+ int inPipe; /* Pipe for reading output from job */
+ int outPipe; /* Pipe for writing control commands */
+ struct pollfd *inPollfd; /* pollfd associated with inPipe */
#define JOB_BUFSIZE 1024
- /* Buffer for storing the output of the job, line by line. */
- char outBuf[JOB_BUFSIZE + 1];
- size_t curPos; /* Current position in outBuf. */
+ /* Buffer for storing the output of the job, line by line. */
+ char outBuf[JOB_BUFSIZE + 1];
+ size_t curPos; /* Current position in outBuf. */
#ifdef USE_META
- struct BuildMon bm;
+ struct BuildMon bm;
#endif
} Job;
Home |
Main Index |
Thread Index |
Old Index