Re: [PATCH 1/4] Port more functions etc. to C23

2023-03-28 Thread Chet Ramey
On 3/26/23 7:50 PM, Paul Eggert wrote: Port more function definitions and declarations to C23. This includes adding a return type when it defaulted to int. Add some casts to and from GENERIC_LIST * that are needed now that the list functions are prototyped. Thanks for this work, it's much appre

Re: [sorry for dups] Re: why difference between interactive+script doing same thing?

2023-03-28 Thread L A Walsh
On 2023/03/27 16:52, Greg Wooledge wrote: Each function has its own private set of positional parameters ("$@" array) independent of the main script's "$@". If you want the funtion to see a copy of the script's arguments, you need to pass "$@" to it. --- Yeah, forgot that. Fact was in area