Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > [PATCH] Consolidate EOL functions to new libsvn_subr/eol.c

subversion
Discussion topic

Back to topic list

[PATCH] Consolidate EOL functions to new libsvn_subr/eol.c

Author e_wong
Full name Edmund Wong
Date 2009-08-12 10:10:23 PDT
Message Hi,

This is my first attempt at a 'large' patch
(in terms of # of files affected).

Edmund

Log:

[[[

Moved the EOL functions from the
libsvn_subr/subst.c library to libsvn_subr/eol.c
and from include/svn_subst.h to
include/private/svn_​eol_private.h. This is to
allow future consolidation of EOL functions to
be placed in the new files instead of being
placed all over the place.

Changed patch.c, subst-tests.c and diff-file.c
to reflect the change in libraries for
svn_subst_find_eol_start(), svn_subst_detect_eol(),
and svn_subst_detect_file_eol().

Updated the build.conf to include the new private
header (svn_eol_private.h).

* build.conf:
  (msvc-export) : Added private\svn_eol_private.h to end of list.
  
* subversion/libsvn_di​ff/diff-file.c:
  Include private/svn_eol_private.h"

* subversion/libsvn_subr/eol.c
  New.

* subversion/include/p​rivate/svn_eol_priva​te.h
  New.
    
* subversion/libsvn_subr/subst.c:
  (svn_subst_find_eol_start,
   svn_subst_detect_eol,
   svn_subst_detect_file_eol): Moved ...
  
* subversion/libsvn_subr/eol.c
  (svn_subst_find_eol_start,
   svn_subst_detect_eol,
   svn_subst_detect_file_eol): ...to here.
  
* subversion/include/svn_subst.h
  (svn_subst_find_eol_start,
   svn_subst_detect_eol,
   svn_subst_detect_file_eol): Move ...
   
* subversion/include/p​rivate/svn_eol_priva​te.h
  (svn_subst_find_eol_start,
   svn_subst_detect_eol,
   svn_subst_detect_file_eol): ... to here.
   
* subversion/libsvn_cl​ient/patch.c
   Included private/svn_eol_private.h
   
* subversion/tests/lib​svn_subr/subst-test.​c
   Included private/svn_eol_private.h.

Patch by Edmund Wong <ed {at} kdtc.net>

]]]
Attachments

« Previous message in topic | 1 of 4 | Next message in topic »

Messages

Show all messages in topic

[PATCH] Consolidate EOL functions to new libsvn_subr/eol.c e_wong Edmund Wong 2009-08-12 10:10:23 PDT
     Re: [PATCH] Consolidate EOL functions to new libsvn_subr/eol.c e_wong Edmund Wong 2009-08-12 10:13:46 PDT
         Re: [PATCH] Consolidate EOL functions to new libsvn_subr/eol.c julianfoad Julian Foad 2009-08-12 10:20:22 PDT
             Re: [PATCH] Consolidate EOL functions to new libsvn_subr/eol.c e_wong Edmund Wong 2009-08-12 17:46:11 PDT
Messages per page: