* src/libvlc.[ch]: made the description of the translation option more explicit.
* file.c: file input (file: access plug-in)
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: file.c,v 1.18 2003/04/16 11:47:08 gbazin Exp $
+ * $Id: file.c,v 1.19 2003/05/08 15:58:56 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
# include <io.h>
#endif
+/* stat() support for large files on win32 */
+#if defined( WIN32 ) && !defined( UNDER_CE )
+#define stat(a,b) _stati64(a,b)
+#define fstat(a,b) _fstati64(a,b)
+#endif
+
/*****************************************************************************
* Exported prototypes
*****************************************************************************/
char * psz_name = p_input->psz_name;
#ifdef HAVE_SYS_STAT_H
int i_stat;
+#if defined( WIN32 ) && !defined( UNDER_CE )
+ struct _stati64 stat_info;
+#else
struct stat stat_info;
+#endif
#endif
_input_socket_t * p_access_data;
vlc_bool_t b_stdin, b_kfir = 0;
if ( p_input->stream.p_selected_area->i_size != 0
&& (p_access_data->i_nb_reads % INPUT_FSTAT_NB_READS) == 0 )
{
+#if defined( WIN32 ) && !defined( UNDER_CE )
+ struct _stati64 stat_info;
+#else
struct stat stat_info;
+#endif
if ( fstat( p_access_data->_socket.i_handle, &stat_info ) == -1 )
{
# ifdef HAVE_ERRNO_H
* libvlc.c: main libvlc source
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
- * $Id: libvlc.c,v 1.83 2003/05/08 14:15:36 titer Exp $
+ * $Id: libvlc.c,v 1.84 2003/05/08 15:58:44 gbazin Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
/* Reset the default domain */
SetLanguage( psz_translation );
+ /* Translate "C" to the language code: "fr", "en_GB", "nl", "ru"... */
+ msg_Dbg( p_vlc, "translation test: code is \"%s\"", _("C") );
+
textdomain( PACKAGE );
module_EndBank( p_vlc );
* libvlc.h: main libvlc header
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
- * $Id: libvlc.h,v 1.62 2003/05/08 14:15:36 titer Exp $
+ * $Id: libvlc.h,v 1.63 2003/05/08 15:58:44 gbazin Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
#define TRANSLATION_TEXT N_("Translation")
#define TRANSLATION_LONGTEXT N_( \
- "This option allows you to set the language of the interface " \
- "(e.g. 'fr', 'de'...). If not specified, the system language is " \
- "auto-detected." )
+ "This option allows you to set the language of the interface or disable " \
+ "the translation alltogether " \
+ "(e.g. 'C' (for disable), 'fr', 'de', 'en_GB', ...). " \
+ "The system language is auto-detected if nothing is specified here." )
#define COLOR_TEXT N_("Color messages")
#define COLOR_LONGTEXT N_( \