Changeset 0e247961c06da6d71e82a1736bb43790603fc647
- Timestamp:
- 10/07/02 23:58:40
(6 years ago)
- Author:
- Christophe Massiot <massiot@videolan.org>
- git-committer:
- Christophe Massiot <massiot@videolan.org> 1034027920 +0000
- git-parent:
[eddf123620abac25909f3e7b669f5ed34cd62405]
- git-author:
- Christophe Massiot <massiot@videolan.org> 1034027920 +0000
- Message:
* HACKING : documentation for the automake crash
* http.c : fixed a problem with seeking with large files
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2799d36 |
r0e24796 |
|
| 1 | | $Id: HACKING,v 1.5 2002/09/30 11:05:32 sam Exp $ |
|---|
| | 1 | $Id: HACKING,v 1.6 2002/10/07 21:58:40 massiot Exp $ |
|---|
| 2 | 2 | |
|---|
| 3 | 3 | Hacking vlc |
|---|
| … | … | |
| 23 | 23 | as a recent Linux distribution), run bootstrap, and then copy the whole |
|---|
| 24 | 24 | tree to your retarded OS. |
|---|
| | 25 | |
|---|
| | 26 | There is a possibility that, at some point, automake might segfault. The |
|---|
| | 27 | reason is unsufficient stack size, and can be easily fixed with the |
|---|
| | 28 | `ulimit` command (or an equivalent) available in most shells. For instance |
|---|
| | 29 | on bash 2.0, the following command solves the automake crash on Mac OS X : |
|---|
| | 30 | ulimit -s 20000 |
|---|
| 25 | 31 | |
|---|
| 26 | 32 | |
|---|
| r2799d36 |
r0e24796 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001, 2002 VideoLAN |
|---|
| 5 | | * $Id: http.c,v 1.4 2002/09/30 11:05:34 sam Exp $ |
|---|
| | 5 | * $Id: http.c,v 1.5 2002/10/07 21:58:40 massiot Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Christophe Massiot <massiot@via.ecp.fr> |
|---|
| … | … | |
| 119 | 119 | snprintf( psz_buffer, sizeof(psz_buffer), |
|---|
| 120 | 120 | "%s" |
|---|
| 121 | | "Range: bytes=%d%d-\r\n" |
|---|
| | 121 | "Range: bytes=%lld-\r\n" |
|---|
| 122 | 122 | HTTP_USERAGENT HTTP_END, |
|---|
| 123 | | p_access_data->psz_buffer, |
|---|
| 124 | | (u32)(i_tell>>32), (u32)i_tell ); |
|---|
| | 123 | p_access_data->psz_buffer, i_tell ); |
|---|
| 125 | 124 | } |
|---|
| 126 | 125 | else |
|---|