[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Eli Schwartz
Subject: bash-20200417 snapshot breaks examples/loadables/push.c
Date: Mon, 20 Apr 2020 16:02:55 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

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:

+       - wait_for: now takes a second argument, a flags word
+       - 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

[Prev in Thread] Current Thread [Next in Thread]