Sorry I just messed up with git..A new one again<br><br><div class="gmail_quote">On Thu, Jul 29, 2010 at 2:28 PM, Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org">jb@videolan.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">On Thu, Jul 29, 2010 at 01:46:48AM -0700, Pankaj yadav wrote :<br>
> -#if 0<br>
>  /** Signals **/<br>
>  #include <signal.h><br>
><br>
> @@ -253,7 +252,6 @@ error:<br>
>      LOG("Blocked", "%d, %p, %p", signum, act, old);<br>
>      return -1;<br>
>  }<br>
> -#endif<br>
Why ?<br>
<br>
> -static void exit_timeout (int signum)<br>
> -{<br>
> -    (void) signum;<br>
> -    signal (SIGINT, SIG_DFL);<br>
> -}<br>
Why?<br>
<br>
> +#ifndef SYMBIAN<br>
>      if (signal_ignored (SIGHUP)) /* <- needed to handle nohup properly */<br>
>          sigdelset (&set, SIGHUP);<br>
>      sigdelset (&set, SIGPIPE);<br>
> @@ -225,16 +235,9 @@ int main( int i_argc, const char *ppsz_argv[] )<br>
>      do<br>
>          sigwait (&set, &signum);<br>
>      while (signum == SIGCHLD);<br>
> -<br>
> -    /* Restore default signal behaviour after 3 seconds */<br>
> -    sigemptyset (&set);<br>
> -    sigaddset (&set, SIGINT);<br>
> -    sigaddset (&set, SIGALRM);<br>
> -    signal (SIGINT, SIG_IGN);<br>
> -    signal (SIGALRM, exit_timeout);<br>
> -    pthread_sigmask (SIG_UNBLOCK, &set, NULL);<br>
> -    alarm (3);<br>
> -<br>
> +#else<br>
> +    symbian_libvlc_Wait((libvlc_int_t*)vlc);<br>
> +#endif<br>
<br>
Why removing those lines?<br>
<br>
Best Regards,<br>
<font color="#888888"><br>
--<br>
Jean-Baptiste Kempf<br>
<a href="http://www.jbkempf.com/" target="_blank">http://www.jbkempf.com/</a><br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Pankaj Yadav<br><br>Open Source Enthusiast<br>