Re: Bug in $(shell ...) I can't understand

2022-02-06 Thread Dmitry V. Levin
On Sun, Feb 06, 2022 at 03:21:39PM -0500, Paul Smith wrote: > On Sun, 2022-02-06 at 20:18 +0300, Dmitry V. Levin wrote: > > 4175643 write(2, "/bin/sh: bad-program: command no"..., > > 40) = 40 > > 4175640 <... read resumed>"/bin/sh: bad-program: co

Re: Bug in $(shell ...) I can't understand

2022-02-06 Thread Dmitry V. Levin
On Sun, Feb 06, 2022 at 11:23:03AM -0500, Paul Smith wrote: > OK, someone posted a question to SO and that led me to an hour or more > of banging my head against a wall trying to understand what's > happening... and I can't. > > The problem is that the user would like to invoke $(shell ...) and >

[bug #56701] Do not allow -j without a number

2019-08-26 Thread Dmitry V. Levin
Follow-up Comment #4, bug #56701 (project make): FWIW, nproc(1) is part of GNU coreutils, it is based on nproc module from gnulib, so the way it works is probably as much portable as one can get. If GNU make was using gnulib directly, it would cost just a single invocation of num_processors.

[bug #56701] Do not allow -j without a number

2019-08-26 Thread Dmitry V. Levin
Follow-up Comment #2, bug #56701 (project make): Let's try to fix this issue and avoid introducing any regressions. For example, if -j is given without an argument and no -l option is provided, behave as if -j -l $(nproc) was specified. ___

Re: need help on "make -j" parameter, it will let the system hung easily.

2012-12-15 Thread Dmitry V. Levin
On Sat, Dec 15, 2012 at 09:35:18AM -0500, Paul Smith wrote: > On Fri, 2012-12-14 at 17:07 +0200, Eli Zaretskii wrote: > > Does it even make sense to use -j with no arguments? Should we > > perhaps remove that possibility, or have some internal sane limit, > > like twice the number of cores, say? >

Re: need help on "make -j" parameter, it will let the system hung easily.

2012-12-14 Thread Dmitry V. Levin
On Fri, Dec 14, 2012 at 05:50:17PM +0200, Eli Zaretskii wrote: > > From: "Wang, Warner" > > CC: "Bug-make@gnu.org" > > Date: Fri, 14 Dec 2012 15:42:04 + > > > > btw there is an internal limit, which is 4096 jobs, either on my mainframe > > or PC. If I use "-j 4097" it will complain: > >

Re: make and backslash-newline's

2006-01-03 Thread Dmitry V. Levin
On Thu, Dec 29, 2005 at 02:37:03AM +0100, Alfred M. Szmidt wrote: >I have some surprisingly good statistics. In ALT Linux Sisyphus >(repository with 5000+ source packages) percentage of packages > > You have fallen for the trap [...] It's full name (ALT GNU/*/Linux Sisyphus) is too long

Re: make and backslash-newline's

2005-12-28 Thread Dmitry V. Levin
On Thu, Dec 29, 2005 at 01:51:50AM +0100, Alfred M. Szmidt wrote: > I'll think about it some more maybe compile a bunch of stuff with the > make from alpha, still a bit pissed at the fool who added a beta make > to Debian since the old Makefile do make sense IMHO. I have some surprisingly good sta

Re: GNU make 3.81beta3 released

2005-06-28 Thread Dmitry V. Levin
Hi, On Tue, Jun 28, 2005 at 12:11:19AM -0400, [EMAIL PROTECTED] wrote: > I've released GNU make 3.81beta3. Many bugs have been fixed and some > new features added. My main immediate goal is to get everyone to test > all the ports, and especially work out what to do about the various > DOS/Window

Re: CVS make showed 'INTERNAL: reap_children' error

2005-04-10 Thread Dmitry V. Levin
On Sat, Apr 09, 2005 at 11:33:11AM -0400, Paul D. Smith wrote: > %% "Art Haas" <[EMAIL PROTECTED]> writes: > > ah> The current CVS make produced the fatal error in the job.c file > ah> this morning while the 'make install' process of installing the > ah> latest GCC build was happening. The i

I: [PATCH] make-3.81beta2 func_shell segfault fix

2005-02-17 Thread Dmitry V. Levin
Hi, The `shell' function implementation contains a long-standing potential null dereference bug, proposed fix is attached. -- ldv 2004-04-16 Dmitry V. Levin <[EMAIL PROTECTED]> * function.c (func_shell): When initializing error_prefix, check that reading file

I: [PATCH] make-3.81beta1 func_shell segfault fix

2004-04-16 Thread Dmitry V. Levin
Hi, The `shell' function implementation contains a long-standing potential null dereference bug, proposed patch is attached. -- ldv 2004-04-16 Dmitry V. Levin <[EMAIL PROTECTED]> * function.c (func_shell): When initializing error_prefix, check that reading file

I: patch against SEGV in function.c

2000-06-26 Thread Dmitry V. Levin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings! There is an ancient SEGV bug in file function.c which have a trivial fix (attached). Strange why it haven't been fixed yet... Regards, Dmitry +-----+ Dmi