Youness you are the best ! Thanks ! Anyway this method is obsolete according to Tcl/Tk documentation. So I will left this one like that and correct others... Phil
Le Sunday 31 December 2006 23:15, Youness Alaoui a écrit : > This would have been better : > > - Tcl_AppendResult(interp,capItem->requested_format->format_name); > + Tcl_AppendResult(interp,capItem->requested_format->format_name, (char *) > NULL); > > The AppendResult takes a list of strings and ends with a NULL argument. > Make sure all other uses of AppendResult are correctly done. > Thanks. > > KKRT > > On Sun, Dec 31, 2006 at 06:55:24AM -0800, [EMAIL PROTECTED] wrote: > > Revision: 7714 > > http://svn.sourceforge.net/amsn/?rev=7714&view=rev > > Author: lephilousophe > > Date: 2006-12-31 06:55:23 -0800 (Sun, 31 Dec 2006) > > > > Log Message: > > ----------- > > A try to fix this bad segfault... > > > > Modified Paths: > > -------------- > > trunk/amsn/utils/linux/capture/capture.c > > > > Modified: trunk/amsn/utils/linux/capture/capture.c > > =================================================================== > > --- trunk/amsn/utils/linux/capture/capture.c 2006-12-31 13:22:01 UTC > > (rev > > 7713) +++ trunk/amsn/utils/linux/capture/capture.c 2006-12-31 14:55:23 > > UTC (rev 7714) @@ -802,9 +802,9 @@ > > # endif > > ); > > > > - Tcl_ResetResult(interp); > > - Tcl_AppendResult(interp,capItem->requested_format->format_name); > > > > + > > Tcl_SetObjResult(interp,Tcl_NewStringObj(capItem->requested_format->forma > >t_name, -1)); + > > // Make sure to release the rgb_buffer if no converter is used so the > > next grab will not wait unnecessarily if (!capItem->handle) > > ng_release_video_buf(capItem->rgb_buffer); > > > > > > This was sent by the SourceForge.net collaborative development platform, > > the world's largest Open Source development site. > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your opinions on IT & business topics through brief surveys - and earn > > cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Amsn-commits mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/amsn-commits > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Amsn-devel mailing list > Amsn-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amsn-devel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Amsn-devel mailing list Amsn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-devel