Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16197

bash-20200417 snapshot breaks examples/loadables/push.c

From Eli Schwartz <eschwartz@archlinux.org>
Newsgroups gnu.bash.bug
Subject bash-20200417 snapshot breaks examples/loadables/push.c
Date 2020-04-20 16:02 -0400
Message-ID <mailman.826.1587412989.3066.bug-bash@gnu.org> (permalink)
References <4d7621f9-f3ad-7d9a-b685-d4f6c0df7f0b@archlinux.org>

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

bash-20200417 snapshot breaks examples/loadables/push.c Eli Schwartz <eschwartz@archlinux.org> - 2020-04-20 16:02 -0400

csiph-web