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
01e293f1
Commit
01e293f1
authored
Jan 13, 2009
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use "use warnings" rather than -w on the #! line.
parent
8051aa5a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
6 deletions
+13
-6
patch-update
packaging/patch-update
+2
-1
release-rsync
packaging/release-rsync
+2
-1
var-checker
packaging/var-checker
+2
-1
git-set-file-times
support/git-set-file-times
+2
-1
instant-rsyncd
support/instant-rsyncd
+3
-1
mnt-excl
support/mnt-excl
+2
-1
No files found.
packaging/patch-update
View file @
01e293f1
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This script is used to turn one or more of the "patch/*" branches
# This script is used to turn one or more of the "patch/*" branches
# into one or more diffs in the "patches" directory. Pass the option
# into one or more diffs in the "patches" directory. Pass the option
# --gen if you want generated files in the diffs. Pass the name of
# --gen if you want generated files in the diffs. Pass the name of
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# diffs.
# diffs.
use
strict
;
use
strict
;
use
warnings
;
use
Getopt::
Long
;
use
Getopt::
Long
;
my
$patches_dir
=
'patches'
;
my
$patches_dir
=
'patches'
;
...
...
packaging/release-rsync
View file @
01e293f1
#!/usr/bin/perl
-w
#!/usr/bin/perl
use
strict
;
use
strict
;
use
warnings
;
# This script expects the directory ~/samba-rsync-ftp to exist and to be a
# This script expects the directory ~/samba-rsync-ftp to exist and to be a
# copy of the /home/ftp/pub/rsync dir on samba.org. When the script is done,
# copy of the /home/ftp/pub/rsync dir on samba.org. When the script is done,
...
...
packaging/var-checker
View file @
01e293f1
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This script checks the *.c files for extraneous "extern" variables,
# This script checks the *.c files for extraneous "extern" variables,
# for vars that are defined but not used, and for inconsistent array
# for vars that are defined but not used, and for inconsistent array
# sizes. Run it from inside the main rsync directory.
# sizes. Run it from inside the main rsync directory.
use
strict
;
use
strict
;
use
warnings
;
my
%
add_syscall_c
=
map { $_ => 1 } qw( t_stub.c t_unsafe.c tls.c trimslas
h
.
c
);
my
%
add_syscall_c
=
map { $_ => 1 } qw( t_stub.c t_unsafe.c tls.c trimslas
h
.
c
);
my
%
add_compat_c
=
map { $_ => 1 } qw( t_stub.c tls.c trimslas
h
.
c
wildtest
.
c
);
my
%
add_compat_c
=
map { $_ => 1 } qw( t_stub.c tls.c trimslas
h
.
c
wildtest
.
c
);
...
...
support/git-set-file-times
View file @
01e293f1
#!/usr/bin/perl
-w
#!/usr/bin/perl
use
strict
;
use
strict
;
use
warnings
;
# Sets mtime and atime of files to the latest commit time in git.
# Sets mtime and atime of files to the latest commit time in git.
#
#
...
...
support/instant-rsyncd
View file @
01e293f1
#!/bin/bash
-e
#!/bin/bash
# instant-rsyncd lets you quickly set up and start a simple, unprivileged rsync
# instant-rsyncd lets you quickly set up and start a simple, unprivileged rsync
# daemon with a single module in the current directory. I've found it
# daemon with a single module in the current directory. I've found it
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
# and once to log in to test the daemon.
# and once to log in to test the daemon.
# -- Matt McCutchen <matt@mattmccutchen.net>
# -- Matt McCutchen <matt@mattmccutchen.net>
set
-e
dir
=
"
$(
pwd
)
"
dir
=
"
$(
pwd
)
"
echo
echo
...
...
support/mnt-excl
View file @
01e293f1
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This script takes a command-line arg of a source directory
# This script takes a command-line arg of a source directory
# that will be passed to rsync, and generates a set of excludes
# that will be passed to rsync, and generates a set of excludes
# that will exclude all mount points from the list. This is
# that will exclude all mount points from the list. This is
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
# awk '{print $2}' /proc/mounts | rsync -f 'merge,/- -' host:/dir /dest/
# awk '{print $2}' /proc/mounts | rsync -f 'merge,/- -' host:/dir /dest/
use
strict
;
use
strict
;
use
warnings
;
use
Cwd
'abs_path'
;
use
Cwd
'abs_path'
;
my
$file
=
'/proc/mounts'
;
my
$file
=
'/proc/mounts'
;
...
...
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