Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
49d5cf13
Commit
49d5cf13
authored
Aug 20, 2013
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use liblongpath if available
parent
0f5111f7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
0 deletions
+27
-0
configure.ac
configure.ac
+8
-0
flist.c
flist.c
+3
-0
rsync.h
rsync.h
+8
-0
syscall.c
syscall.c
+4
-0
xattrs.c
xattrs.c
+4
-0
No files found.
configure.ac
View file @
49d5cf13
...
@@ -487,6 +487,14 @@ AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
...
@@ -487,6 +487,14 @@ AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
dnl AC_MSG_NOTICE([Looking in libraries: $LIBS])
dnl AC_MSG_NOTICE([Looking in libraries: $LIBS])
# longpath support - see https://code.uplex.de/liblongpath/liblongpath
# as long as rsync is single threaded, we can use _unsafe
# NOTE: CHANGE THIS WHEN GOING MULTI-THREADED!
AC_LIB_HAVE_LINKFLAGS([longpath_unsafe], [], [#include <longpath/longpath.h>])
if test x$HAVE_LIBLONGPATH_UNSAFE = xyes; then
LIBS="$LIBS $LIBLONGPATH_UNSAFE"
fi
AC_CHECK_FUNCS(inet_ntop, , [AC_LIBOBJ(lib/inet_ntop)])
AC_CHECK_FUNCS(inet_ntop, , [AC_LIBOBJ(lib/inet_ntop)])
AC_CHECK_FUNCS(inet_pton, , [AC_LIBOBJ(lib/inet_pton)])
AC_CHECK_FUNCS(inet_pton, , [AC_LIBOBJ(lib/inet_pton)])
...
...
flist.c
View file @
49d5cf13
...
@@ -25,6 +25,9 @@
...
@@ -25,6 +25,9 @@
#include "rounding.h"
#include "rounding.h"
#include "inums.h"
#include "inums.h"
#include "io.h"
#include "io.h"
#if defined HAVE_LIBLONGPATH_UNSAFE
#include <longpath/longpath_redefine_defs.h>
#endif
extern
int
am_root
;
extern
int
am_root
;
extern
int
am_server
;
extern
int
am_server
;
...
...
rsync.h
View file @
49d5cf13
...
@@ -280,6 +280,10 @@ enum delret {
...
@@ -280,6 +280,10 @@ enum delret {
#include "config.h"
#include "config.h"
#if defined HAVE_LIBLONGPATH_UNSAFE
#include <longpath/longpath_redefine_pre.h>
#endif
/* The default RSYNC_RSH is always set in config.h. */
/* The default RSYNC_RSH is always set in config.h. */
#include <stdio.h>
#include <stdio.h>
...
@@ -1289,3 +1293,7 @@ char *getpass(const char *prompt);
...
@@ -1289,3 +1293,7 @@ char *getpass(const char *prompt);
#ifdef MAINTAINER_MODE
#ifdef MAINTAINER_MODE
const
char
*
get_panic_action
(
void
);
const
char
*
get_panic_action
(
void
);
#endif
#endif
#if defined HAVE_LIBLONGPATH_UNSAFE
#include <longpath/longpath_redefine_post.h>
#endif
syscall.c
View file @
49d5cf13
...
@@ -33,6 +33,10 @@
...
@@ -33,6 +33,10 @@
#include <sys/syscall.h>
#include <sys/syscall.h>
#endif
#endif
#if defined HAVE_LIBLONGPATH_UNSAFE
#include <longpath/longpath_redefine_post.h>
#endif
extern
int
dry_run
;
extern
int
dry_run
;
extern
int
am_root
;
extern
int
am_root
;
extern
int
am_sender
;
extern
int
am_sender
;
...
...
xattrs.c
View file @
49d5cf13
...
@@ -26,6 +26,10 @@
...
@@ -26,6 +26,10 @@
#ifdef SUPPORT_XATTRS
#ifdef SUPPORT_XATTRS
#if defined HAVE_LIBLONGPATH_UNSAFE
#include <longpath/longpath_redefine_post.h>
#endif
extern
int
dry_run
;
extern
int
dry_run
;
extern
int
am_root
;
extern
int
am_root
;
extern
int
am_sender
;
extern
int
am_sender
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment