Commit 0e247961 authored by Christophe Massiot's avatar Christophe Massiot

* HACKING : documentation for the automake crash

* http.c : fixed a problem with seeking with large files
parent eddf1236
$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
----------------------
......
......@@ -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
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment