In the latest devel push:

$ make -C examples/loadables/
make: Entering directory '/home/eschwartz/git/bash/examples/loadables'
gcc -fPIC -DHAVE_CONFIG_H -DSHELL   -g -O2 -Wno-parentheses
-Wno-format-security -I. -I.. -I../.. -I../../lib -I../../builtins -I.
-I../../include -I/home/eschwartz/git/bash
-I/home/eschwartz/git/bash/lib -I/home/eschwartz/git/bash/builtins  -c
-o push.o push.c
push.c: In function ‘push_builtin’:
push.c:95:17: error: too few arguments to function ‘wait_for’
   95 |       xstatus = wait_for (pid);
      |                 ^~~~~~~~
In file included from push.c:30:
../../jobs.h:283:12: note: declared here
  283 | extern int wait_for PARAMS((pid_t, int));
      |            ^~~~~~~~
make: *** [Makefile:100: push.o] Error 1
make: Leaving directory '/home/eschwartz/git/bash/examples/loadables'


From the changelog:

+{jobs,nojobs}.c,jobs.h
+       - wait_for: now takes a second argument, a flags word
+
+{execute_cmd,subst}.c
+       - wait_for: change all callers to add second argument to wait_for

Seems like one caller was missed. :)

-- 
Eli Schwartz
Arch Linux Bug Wrangler and Trusted User

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to