diff --git a/HACKING b/HACKING index d7eb783fc3530d36275a035f3f896a4d17a679bf..c5425dfb622f5bb2c22e9f6de0c2aa6ea36af06f 100644 --- a/HACKING +++ b/HACKING @@ -1,4 +1,4 @@ -$Id: HACKING,v 1.5 2002/09/30 11:05:32 sam Exp $ +$Id: HACKING,v 1.6 2002/10/07 21:58:40 massiot Exp $ Hacking vlc =========== @@ -23,6 +23,12 @@ you can check out a CVS tree on an OS that provides these tools (such as a recent Linux distribution), run bootstrap, and then copy the whole tree to your retarded OS. +There is a possibility that, at some point, automake might segfault. The +reason is unsufficient stack size, and can be easily fixed with the +`ulimit` command (or an equivalent) available in most shells. For instance +on bash 2.0, the following command solves the automake crash on Mac OS X : +ulimit -s 20000 + The bootstrap sequence ---------------------- diff --git a/modules/access/http.c b/modules/access/http.c index 468867476380ffb28fc339865f20dd63c6388b8c..a4f07e6b00ff994a35e353a307d5f67dc668040e 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -2,7 +2,7 @@ * http.c: HTTP access plug-in ***************************************************************************** * Copyright (C) 2001, 2002 VideoLAN - * $Id: http.c,v 1.4 2002/09/30 11:05:34 sam Exp $ + * $Id: http.c,v 1.5 2002/10/07 21:58:40 massiot Exp $ * * Authors: Christophe Massiot <massiot@via.ecp.fr> * @@ -118,10 +118,9 @@ static int HTTPConnect( input_thread_t * p_input, off_t i_tell ) { snprintf( psz_buffer, sizeof(psz_buffer), "%s" - "Range: bytes=%d%d-\r\n" + "Range: bytes=%lld-\r\n" HTTP_USERAGENT HTTP_END, - p_access_data->psz_buffer, - (u32)(i_tell>>32), (u32)i_tell ); + p_access_data->psz_buffer, i_tell ); } else {