Article delegate-en/826 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A825@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Win32 Debug, bug
06 Jun 2000 20:51:46 GMT ysato@etl.go.jp (Yutaka Sato)


Hi,

On 06/07/00(00:48) you David Akdikmen <pgqbqbdyi-qjyh54itfoxr.ml@ml.delegate.org> wrote
in <_A825@delegate-en.ML_>
 |Under "Debug", it GPF's in dupv(..). For some silly reason, arv[arc] != 0
 |for Debug mode under windows, it is some weirdo value used to catch illegal
 |de-references.

I'll fix my silly code in "delegated.c:move_envarg()" as enclosed.
Thank you.

Cheers,
Yutaka
--
Yutaka Sato <ysato@etl.go.jp> http://www.etl.go.jp/~ysato/   @ @ 
Computer Science Division, Electrotechnical Laboratory      ( - )
1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan            _<   >_


*** delegate6.1.12/src/delegated.c	Fri May 26 16:06:42 2000
--- delegated.c	Wed Jun  7 05:41:17 2000
***************
*** 4577,4588 ****
--- 4577,4589 ----
  	nav = (char**)malloc(sizeof(char*)*(ac+1));
  	nav[0] = av[0];
  	for( ai = 1; ai < ac; ai++ ){
  		as = av[ai];
  		nav[ai] = strdup(as);
  	}
+ 	nav[ac] = 0;
  
  	/*
  	 * some inherent support for ps-title.
  	 * can be with non-writable argv and environ
  	 */
  	if( proc_title("start") == 0 )

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V