[Devel] [ openser-Patches-1606005 ] change process name to differntiate the threads

Dan Pascu dan at ag-projects.com
Thu Nov 30 18:28:08 CET 2006


On Thursday 30 November 2006 15:28, Klaus Darilion wrote:
> Hi Dan!
>
> The problem is, that the string can't be longer than the original
> string (at least in the program sample I found). Maybe it is possible
> to redirect the argv pointer but I'm not a programmer :-(

I think you can malloc a new string with the proper length and replace the 
one from the argv list with the one you created.

-- 
Dan



More information about the Devel mailing list