chiark
/
gitweb
/
~mdw
/
fwd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0b0da98
)
Track @lbuf@ changes in mLib.
author
mdw
<mdw>
Sun, 13 Jan 2002 14:49:03 +0000
(14:49 +0000)
committer
mdw
<mdw>
Sun, 13 Jan 2002 14:49:03 +0000
(14:49 +0000)
exec.c
patch
|
blob
|
blame
|
history
diff --git
a/exec.c
b/exec.c
index e73500d947987b77c5e53bed5d21e496c2adf4f8..28c9cd8df43d83d8c2a06070701b15b2a1df0c95 100644
(file)
--- a/
exec.c
+++ b/
exec.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: exec.c,v 1.
4 2001/02/03 20:30
:03 mdw Exp $
+ * $Id: exec.c,v 1.
5 2002/01/13 14:49
:03 mdw Exp $
*
* Source and target for executable programs
*
*
* Source and target for executable programs
*
@@
-29,6
+29,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: exec.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: exec.c,v $
+ * Revision 1.5 2002/01/13 14:49:03 mdw
+ * Track @lbuf@ changes in mLib.
+ *
* Revision 1.4 2001/02/03 20:30:03 mdw
* Support re-reading config files on SIGHUP.
*
* Revision 1.4 2001/02/03 20:30:03 mdw
* Support re-reading config files on SIGHUP.
*
@@
-507,7
+510,7
@@
static void x_tidy(xargs *xa, xopts *xo)
/* --- @attach@ --- */
/* --- @attach@ --- */
-static void xept_error(char */*p*/, void */*v*/);
+static void xept_error(char */*p*/,
size_t /*len*/,
void */*v*/);
static void xept_attach(endpt *e, reffd *in, reffd *out)
{
static void xept_attach(endpt *e, reffd *in, reffd *out)
{
@@
-742,6
+745,7
@@
static void xept_chld(int n, void *p)
/* --- @xept_error@ --- *
*
* Arguments: @char *p@ = pointer to string read from stderr
/* --- @xept_error@ --- *
*
* Arguments: @char *p@ = pointer to string read from stderr
+ * @size_t len@ = length of the string
* @void *v@ = pointer to by endpoint
*
* Returns: ---
* @void *v@ = pointer to by endpoint
*
* Returns: ---
@@
-749,7
+753,7
@@
static void xept_chld(int n, void *p)
* Use: Handles error reports from a child process.
*/
* Use: Handles error reports from a child process.
*/
-static void xept_error(char *p, void *v)
+static void xept_error(char *p,
size_t len,
void *v)
{
xept *xe = v;
if (p)
{
xept *xe = v;
if (p)