gnome-vfs r5505 - trunk



Author: tml
Date: Fri Sep 12 00:21:03 2008
New Revision: 5505
URL: http://svn.gnome.org/viewvc/gnome-vfs?rev=5505&view=rev

Log:
Run through dos2unix.

Modified:
   trunk/xdgmime.win32.diff

Modified: trunk/xdgmime.win32.diff
==============================================================================
--- trunk/xdgmime.win32.diff	(original)
+++ trunk/xdgmime.win32.diff	Fri Sep 12 00:21:03 2008
@@ -1,8 +1,8 @@
-Index: libgnomevfs/xdgmime.c
-===================================================================
---- libgnomevfs/xdgmime.c	(revision 5502)
-+++ libgnomevfs/xdgmime.c	(working copy)
-@@ -63,7 +63,7 @@
+Index: libgnomevfs/xdgmime.c
+===================================================================
+--- libgnomevfs/xdgmime.c	(revision 5502)
++++ libgnomevfs/xdgmime.c	(working copy)
+@@ -63,7 +63,7 @@
  XdgMimeCache **_caches = NULL;
  static int n_caches = 0;
  
@@ -11,7 +11,7 @@
  
  
  enum
-@@ -140,7 +140,7 @@
+@@ -140,7 +140,7 @@
  
    file_name = malloc (strlen (directory) + strlen ("/mime/mime.cache") + 1);
    strcpy (file_name, directory); strcat (file_name, "/mime/mime.cache");
@@ -20,7 +20,7 @@
      {
        XdgMimeCache *cache = _xdg_mime_cache_new_from_file (file_name);
  
-@@ -160,7 +160,7 @@
+@@ -160,7 +160,7 @@
  
    file_name = malloc (strlen (directory) + strlen ("/mime/globs2") + 1);
    strcpy (file_name, directory); strcat (file_name, "/mime/globs2");
@@ -29,7 +29,7 @@
      {
        _xdg_mime_glob_read_from_file (global_hash, file_name);
        xdg_dir_time_list_add (file_name, st.st_mtime);
-@@ -170,7 +170,7 @@
+@@ -170,7 +170,7 @@
        free (file_name);
        file_name = malloc (strlen (directory) + strlen ("/mime/globs") + 1);
        strcpy (file_name, directory); strcat (file_name, "/mime/globs");
@@ -38,7 +38,7 @@
          {
            _xdg_mime_glob_read_from_file (global_hash, file_name);
            xdg_dir_time_list_add (file_name, st.st_mtime);
-@@ -183,7 +183,7 @@
+@@ -183,7 +183,7 @@
  
    file_name = malloc (strlen (directory) + strlen ("/mime/magic") + 1);
    strcpy (file_name, directory); strcat (file_name, "/mime/magic");
@@ -47,7 +47,7 @@
      {
        _xdg_mime_magic_read_from_file (global_magic, file_name);
        xdg_dir_time_list_add (file_name, st.st_mtime);
-@@ -225,7 +225,7 @@
+@@ -225,7 +225,7 @@
    const char *xdg_data_dirs;
    const char *ptr;
  
@@ -56,7 +56,7 @@
    if (xdg_data_home)
      {
        if ((func) (xdg_data_home, user_data))
-@@ -235,7 +235,7 @@
+@@ -235,7 +235,7 @@
      {
        const char *home;
  
@@ -65,7 +65,7 @@
        if (home != NULL)
  	{
  	  char *guessed_xdg_home;
-@@ -252,9 +252,9 @@
+@@ -252,9 +252,9 @@
  	}
      }
  
@@ -77,7 +77,7 @@
  
    ptr = xdg_data_dirs;
  
-@@ -266,7 +266,7 @@
+@@ -266,7 +266,7 @@
        int stop_processing;
  
        end_ptr = ptr;
@@ -86,7 +86,7 @@
  	end_ptr ++;
  
        if (end_ptr == ptr)
-@@ -275,7 +275,7 @@
+@@ -275,7 +275,7 @@
  	  continue;
  	}
  
@@ -95,7 +95,7 @@
  	len = end_ptr - ptr;
        else
  	len = end_ptr - ptr + 1;
-@@ -305,7 +305,7 @@
+@@ -305,7 +305,7 @@
    struct stat st;
  
    /* If the file exists */
@@ -104,7 +104,7 @@
      {
        XdgDirTimeList *list;
  
-@@ -415,12 +415,10 @@
+@@ -415,12 +415,10 @@
  static int
  xdg_check_time_and_dirs (void)
  {
@@ -118,7 +118,7 @@
  
    if (current_time >= last_stat_time + 5)
      {
-@@ -512,7 +510,7 @@
+@@ -512,7 +510,7 @@
  
    if (!statbuf)
      {
@@ -127,7 +127,7 @@
  	return XDG_MIME_TYPE_UNKNOWN;
  
        statbuf = &buf;
-@@ -529,7 +527,7 @@
+@@ -529,7 +527,7 @@
    if (data == NULL)
      return XDG_MIME_TYPE_UNKNOWN;
          
@@ -136,11 +136,11 @@
    if (file == NULL)
      {
        free (data);
-Index: libgnomevfs/xdgmime.h
-===================================================================
---- libgnomevfs/xdgmime.h	(revision 5502)
-+++ libgnomevfs/xdgmime.h	(working copy)
-@@ -76,7 +76,7 @@
+Index: libgnomevfs/xdgmime.h
+===================================================================
+--- libgnomevfs/xdgmime.h	(revision 5502)
++++ libgnomevfs/xdgmime.h	(working copy)
+@@ -76,7 +76,7 @@
  #define _xdg_mime_unalias_mime_type           XDG_RESERVED_ENTRY(unalias_mime_type)  
  #endif
  
@@ -149,11 +149,11 @@
  #define XDG_MIME_TYPE_UNKNOWN xdg_mime_type_unknown
  
  const char  *xdg_mime_get_mime_type_for_data       (const void *data,
-Index: libgnomevfs/xdgmimealias.c
-===================================================================
---- libgnomevfs/xdgmimealias.c	(revision 5502)
-+++ libgnomevfs/xdgmimealias.c	(working copy)
-@@ -35,16 +35,7 @@
+Index: libgnomevfs/xdgmimealias.c
+===================================================================
+--- libgnomevfs/xdgmimealias.c	(revision 5502)
++++ libgnomevfs/xdgmimealias.c	(working copy)
+@@ -35,16 +35,7 @@
  #include <stdio.h>
  #include <assert.h>
  #include <string.h>
@@ -170,7 +170,7 @@
  typedef struct XdgAlias XdgAlias;
  
  struct XdgAlias 
-@@ -124,7 +115,7 @@
+@@ -124,7 +115,7 @@
    char line[255];
    int alloc;
  
@@ -179,11 +179,11 @@
  
    if (file == NULL)
      return;
-Index: libgnomevfs/xdgmimecache.c
-===================================================================
---- libgnomevfs/xdgmimecache.c	(revision 5502)
-+++ libgnomevfs/xdgmimecache.c	(working copy)
-@@ -37,7 +37,11 @@
+Index: libgnomevfs/xdgmimecache.c
+===================================================================
+--- libgnomevfs/xdgmimecache.c	(revision 5502)
++++ libgnomevfs/xdgmimecache.c	(working copy)
+@@ -37,7 +37,11 @@
  #include <fnmatch.h>
  #include <assert.h>
  
@@ -195,7 +195,7 @@
  
  #ifdef HAVE_MMAP
  #include <sys/mman.h>
-@@ -688,7 +692,7 @@
+@@ -688,7 +692,7 @@
  
    if (!statbuf)
      {
@@ -204,7 +204,7 @@
  	return XDG_MIME_TYPE_UNKNOWN;
  
        statbuf = &buf;
-@@ -705,7 +709,7 @@
+@@ -705,7 +709,7 @@
    if (data == NULL)
      return XDG_MIME_TYPE_UNKNOWN;
          
@@ -213,11 +213,11 @@
    if (file == NULL)
      {
        free (data);
-Index: libgnomevfs/xdgmimeglob.c
-===================================================================
---- libgnomevfs/xdgmimeglob.c	(revision 5502)
-+++ libgnomevfs/xdgmimeglob.c	(working copy)
-@@ -37,14 +37,6 @@
+Index: libgnomevfs/xdgmimeglob.c
+===================================================================
+--- libgnomevfs/xdgmimeglob.c	(revision 5502)
++++ libgnomevfs/xdgmimeglob.c	(working copy)
+@@ -37,14 +37,6 @@
  #include <string.h>
  #include <fnmatch.h>
  
@@ -232,7 +232,7 @@
  typedef struct XdgGlobHashNode XdgGlobHashNode;
  typedef struct XdgGlobList XdgGlobList;
  
-@@ -562,7 +554,7 @@
+@@ -562,7 +554,7 @@
    FILE *glob_file;
    char line[255];
  
@@ -241,11 +241,11 @@
  
    if (glob_file == NULL)
      return;
-Index: libgnomevfs/xdgmimeint.c
-===================================================================
---- libgnomevfs/xdgmimeint.c	(revision 5502)
-+++ libgnomevfs/xdgmimeint.c	(working copy)
-@@ -33,14 +33,6 @@
+Index: libgnomevfs/xdgmimeint.c
+===================================================================
+--- libgnomevfs/xdgmimeint.c	(revision 5502)
++++ libgnomevfs/xdgmimeint.c	(working copy)
+@@ -33,14 +33,6 @@
  #include <ctype.h>
  #include <string.h>
  
@@ -260,7 +260,7 @@
  static const char _xdg_utf8_skip_data[256] = {
    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
-@@ -52,7 +44,7 @@
+@@ -52,7 +44,7 @@
    3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,1,1
  };
  
@@ -269,7 +269,7 @@
  
  
  
-@@ -153,6 +145,23 @@
+@@ -153,6 +145,23 @@
      return base_name + 1;
  }
  
@@ -293,11 +293,11 @@
  xdg_unichar_t *
  _xdg_convert_to_ucs4 (const char *source, int *len)
  {
-Index: libgnomevfs/xdgmimeint.h
-===================================================================
---- libgnomevfs/xdgmimeint.h	(revision 5502)
-+++ libgnomevfs/xdgmimeint.h	(working copy)
-@@ -63,7 +63,7 @@
+Index: libgnomevfs/xdgmimeint.h
+===================================================================
+--- libgnomevfs/xdgmimeint.h	(revision 5502)
++++ libgnomevfs/xdgmimeint.h	(working copy)
+@@ -63,7 +63,7 @@
  					      (((xdg_uint32_t)(val) & 0x000000FFU) << 24))
  /* UTF-8 utils
   */
@@ -306,7 +306,7 @@
  #define _xdg_utf8_next_char(p) (char *)((p) + _xdg_utf8_skip[*(unsigned char *)(p)])
  #define _xdg_utf8_char_size(p) (int) (_xdg_utf8_skip[*(unsigned char *)(p)])
  
-@@ -74,4 +74,28 @@
+@@ -74,4 +74,28 @@
  void           _xdg_reverse_ucs4 (xdg_unichar_t *source, int len);
  const char    *_xdg_get_base_name (const char    *file_name);
  
@@ -335,11 +335,11 @@
 +#endif
 +
  #endif /* __XDG_MIME_INT_H__ */
-Index: libgnomevfs/xdgmimemagic.c
-===================================================================
---- libgnomevfs/xdgmimemagic.c	(revision 5502)
-+++ libgnomevfs/xdgmimemagic.c	(working copy)
-@@ -39,12 +39,12 @@
+Index: libgnomevfs/xdgmimemagic.c
+===================================================================
+--- libgnomevfs/xdgmimemagic.c	(revision 5502)
++++ libgnomevfs/xdgmimemagic.c	(working copy)
+@@ -39,12 +39,12 @@
  #include <errno.h>
  #include <limits.h>
  
@@ -356,7 +356,7 @@
  #endif
  
  #if !defined getc_unlocked && !defined HAVE_GETC_UNLOCKED
-@@ -798,7 +798,7 @@
+@@ -798,7 +798,7 @@
    FILE *magic_file;
    char header[12];
  
@@ -365,11 +365,11 @@
  
    if (magic_file == NULL)
      return;
-Index: libgnomevfs/xdgmimeparent.c
-===================================================================
---- libgnomevfs/xdgmimeparent.c	(revision 5502)
-+++ libgnomevfs/xdgmimeparent.c	(working copy)
-@@ -37,14 +37,6 @@
+Index: libgnomevfs/xdgmimeparent.c
+===================================================================
+--- libgnomevfs/xdgmimeparent.c	(revision 5502)
++++ libgnomevfs/xdgmimeparent.c	(working copy)
+@@ -37,14 +37,6 @@
  #include <string.h>
  #include <fnmatch.h>
  
@@ -384,7 +384,7 @@
  typedef struct XdgMimeParents XdgMimeParents;
  
  struct XdgMimeParents
-@@ -130,7 +122,7 @@
+@@ -130,7 +122,7 @@
    int i, alloc;
    XdgMimeParents *entry;
  



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]