Displaying 18 results from an estimated 18 matches for "poptgetoptarg".
2016 Aug 24
3
[Bug 12173] New: memory leak around poptGetOptArg()
https://bugzilla.samba.org/show_bug.cgi?id=12173
Bug ID: 12173
Summary: memory leak around poptGetOptArg()
Product: rsync
Version: 3.0.6
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter: cielartisan at gmail.com
QA Co...
2002 Nov 11
0
Regular Expression support
...&safe_symlinks , 0, 0, 0 },
{"help", 'h', POPT_ARG_NONE, 0, 'h', 0, 0 },
{"backup", 'b', POPT_ARG_NONE, &make_backups , 0, 0, 0 },
@@ -469,19 +477,35 @@
break;
case OPT_EXCLUDE:
- add_exclude(poptGetOptArg(pc), 0);
+ add_exclude(poptGetOptArg(pc), 0, 0);
break;
case OPT_INCLUDE:
- add_exclude(poptGetOptArg(pc), 1);
+ add_exclude(poptGetOptArg(pc), 1, 0);
break;
case OPT_EXCLUDE_FROM:
- add_exclude_file(poptGetOptArg(pc), 1, 0);
+ add_exclude_file(poptGetOptArg(pc), 1, 0, 0...
2004 Apr 15
0
Multiple compare-dest args
...checksum_seed = FIXED_CHECKSUM_SEED;
break;
+ case OPT_COMPARE_DEST:
+#if HAVE_LINK
+ if (num_comp_dest >= MAX_COMP_DEST-1) {
+ rprintf(FERROR, "ERROR: %s\n", "too many --compare-dest args given");
+ return 0;
+ }
+ compare_dest[num_comp_dest] = (char *)poptGetOptArg(pc);
+ num_comp_dest++;
+ break;
+#else
+ snprintf(err_buf, sizeof err_buf,
+ "hard links are not supported on this %s\n",
+ am_server ? "server" : "client");
+ rprintf(FERROR, "ERROR: %s", err_buf);
+ return 0;
+#endif
+
case OPT_LINK_DE...
2006 Apr 26
2
--link-dest and file/dir transfer to remote rsync daemon
Hi NG,
I want to do incremental backups to a remote server running rsyncd
(because daemonless transfer via ssh often hangs!). In contrast to
transfer via ssh (without remote rsyncd) this doesn't seem possible, or
do I miss something?
Imagine I want to incrementally backup `mydir' to the backup space
`backup' on e remote server `alpha' running an rsync daemon. rsyncd on
2002 Aug 02
1
[patch] --link-dest
...POPT_ARG_NONE, &do_compression , 0, 0, 0 },
{"daemon", 0, POPT_ARG_NONE, &am_daemon , 0, 0, 0 },
@@ -591,6 +593,19 @@
/* popt stores the filename in batch_prefix for us */
read_batch = 1;
break;
+ case OPT_LINK_DEST:
+#if HAVE_LINK
+ compare_dest = poptGetOptArg(pc);
+ link_dest = 1;
+ break;
+#else
+ snprintf(err_buf,sizeof(err_buf),
+ "hard links are not supported on this %s\n",
+ am_server ? "server" : "client");
+ rprintf(FERROR,"ERROR: hard links not supported on this platf...
2016 Dec 15
0
memory leak 4.4.5. but where and is it fixed already?
... 2002 649 1352 40 87 293
-/+ buffers/cache: 267 1734
Swap: 1895 0 1895
A drop of about 80Mb ( but only 2 days uptime )
I did see :
https://bugzilla.samba.org/show_bug.cgi?id=12173 ( Rsync .. memory leak around poptGetOptArg()
But i dont know how this is samba related.
https://bugzilla.samba.org/show_bug.cgi?id=11985 but i dont use CTDB.
https://bugzilla.samba.org/show_bug.cgi?id=7902 Memory problems in pidl python bindings maybe ?
https://bugzilla.samba.org/show_bug.cgi?id=11901 Reparenting in a dest...
2005 Jan 31
1
[patch] add "--ignore" option
...0 },
{"help", 'h', POPT_ARG_NONE, 0, 'h', 0, 0 },
{"backup", 'b', POPT_ARG_NONE, &make_backups, 0, 0, 0 },
@@ -656,20 +661,26 @@
XFLG_DEF_INCLUDE);
break;
+ case OPT_IGNORE:
+ add_filter(&filter_list, poptGetOptArg(pc),
+ XFLG_DEF_IGNORE);
+ break;
+
case OPT_EXCLUDE_FROM:
case OPT_INCLUDE_FROM:
+ case OPT_IGNORE_FROM:
arg = poptGetOptArg(pc);
if (sanitize_paths)
arg = sanitize_path(NULL, arg, NULL, 0);
if (server_filter_list.head) {
char *cp = (char *)arg;
clean_fnam...
2002 Mar 08
1
[PATCH][RFC] space saving incrementals
..., 'z', POPT_ARG_NONE, &do_compression},
{"daemon", 0, POPT_ARG_NONE, &am_daemon},
@@ -535,6 +543,19 @@
/* popt stores the filename in batch_prefix for us */
read_batch = 1;
break;
+ case OPT_LINK_DEST:
+#if HAVE_LINK
+ compare_dest = poptGetOptArg(pc);
+ link_dest = 1;
+ break;
+#else
+ snprintf(err_buf,sizeof(err_buf),
+ "hard links are not supported on this %s\n",
+ am_server ? "server" : "client");
+ rprintf(FERROR,"ERROR: hard links not supported on this platf...
2002 Mar 22
1
[PATCH] --link-dest option
...POPT_ARG_NONE, &do_compression , 0, 0, 0 },
{"daemon", 0, POPT_ARG_NONE, &am_daemon , 0, 0, 0 },
@@ -562,6 +564,19 @@
/* popt stores the filename in batch_prefix for us */
read_batch = 1;
break;
+ case OPT_LINK_DEST:
+#if HAVE_LINK
+ compare_dest = poptGetOptArg(pc);
+ link_dest = 1;
+ break;
+#else
+ snprintf(err_buf,sizeof(err_buf),
+ "hard links are not supported on this %s\n",
+ am_server ? "server" : "client");
+ rprintf(FERROR,"ERROR: hard links not supported on this platf...
2020 Feb 06
0
[PATCH] Add support for zstd compression
...rgc_p, const char ***argv_p)
do_compression++;
break;
+ case 'Z':
+#ifdef HAVE_LIBZSTD
+ do_compression_zstd++;
+#else
+ snprintf(err_buf, sizeof err_buf,
+ "Support for zstd is not enabled.\n");
+ return 0;
+#endif
+ break;
+
case 'M':
arg = poptGetOptArg(pc);
if (*arg != '-') {
@@ -1856,7 +1877,12 @@ int parse_arguments(int *argc_p, const char ***argv_p)
exit_cleanup(0);
}
- if (do_compression || def_compress_level != NOT_SPECIFIED) {
+ if (do_compression && do_compression_zstd) {
+ snprintf(err_buf, sizeof(err_buf), &qu...
2004 Feb 09
1
[patch] Add `--link-by-hash' option.
...t;compress", 'z', POPT_ARG_NONE, &do_compression, 0, 0, 0 },
{"daemon", 0, POPT_ARG_NONE, &am_daemon, 0, 0, 0 },
@@ -585,6 +588,18 @@
return 0;
#endif
+ case OPT_LINK_BY_HASH:
+#if HAVE_LINK
+ link_by_hash_dir = (char *)poptGetOptArg(pc);
+ break;
+#else
+ snprintf(err_buf, sizeof err_buf,
+ "hard links are not supported on this %s\n",
+ am_server ? "server" : "client");
+ rprintf(FERROR, "ERROR: %s", err_buf);
+ return 0;
+#endif
+
default:
/* FIXME: If --daemon...
2004 Jan 17
1
--delete-sent-files (AKA --move-files)
..., 0, OPT_EXCLUDE, 0, 0 },
@@ -498,6 +502,11 @@ int parse_arguments(int *argc, const cha
delete_mode = 1;
break;
+ case OPT_DELETE_SENT_FILES:
+ delete_sent_files = 1;
+ need_messages_from_generator = 1;
+ break;
+
case OPT_EXCLUDE:
add_exclude(&exclude_list, poptGetOptArg(pc),
ADD_EXCLUDE);
@@ -902,6 +911,9 @@ void server_options(char **args,int *arg
args[ac++] = "--from0";
}
}
+
+ if (delete_sent_files)
+ args[ac++] = "--delete-sent-files";
*argc = ac;
}
Index: proto.h
--- proto.h 15 Jan 2004 07:42:23 -0000 1.172
+++ prot...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 4).
...;compress", 'z', POPT_ARG_NONE, &do_compression, 0, 0, 0 },
{"daemon", 0, POPT_ARG_NONE, &daemon_opt, 0, 0, 0 },
@@ -577,6 +580,19 @@
return 0;
#endif
+ case OPT_LINK_BY_HASH:
+#if HAVE_LINK
+ link_by_hash_dir = (char *)poptGetOptArg(pc);
+ checksum_seed = FIXED_CHECKSUM_SEED;
+ break;
+#else
+ snprintf(err_buf, sizeof err_buf,
+ "hard links are not supported on this %s\n",
+ am_server ? "server" : "client");
+ rprintf(FERROR, "ERROR: %s", err_buf);
+ return 0;
+#endif
+...
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
...;compress", 'z', POPT_ARG_NONE, &do_compression, 0, 0, 0 },
{"daemon", 0, POPT_ARG_NONE, &daemon_opt, 0, 0, 0 },
@@ -577,6 +580,18 @@
return 0;
#endif
+ case OPT_LINK_BY_HASH:
+#if HAVE_LINK
+ link_by_hash_dir = (char *)poptGetOptArg(pc);
+ checksum_seed = FIXED_CHECKSUM_SEED;
+ break;
+#else
+ snprintf(err_buf, sizeof err_buf,
+ "hard links are not supported on this %s\n",
+ am_server ? "server" : "client");
+ rprintf(FERROR, "ERROR: %s", err_buf);
+ return 0;
+#endif...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 5).
...;compress", 'z', POPT_ARG_NONE, &do_compression, 0, 0, 0 },
{"daemon", 0, POPT_ARG_NONE, &daemon_opt, 0, 0, 0 },
@@ -577,6 +580,19 @@
return 0;
#endif
+ case OPT_LINK_BY_HASH:
+#if HAVE_LINK
+ link_by_hash_dir = (char *)poptGetOptArg(pc);
+ checksum_seed = FIXED_CHECKSUM_SEED;
+ break;
+#else
+ snprintf(err_buf, sizeof err_buf,
+ "hard links are not supported on this %s\n",
+ am_server ? "server" : "client");
+ rprintf(FERROR, "ERROR: %s", err_buf);
+ return 0;
+#endif
+...
2004 Feb 16
1
[patch] Add `--link-by-hash' option (rev 2).
...;compress", 'z', POPT_ARG_NONE, &do_compression, 0, 0, 0 },
{"daemon", 0, POPT_ARG_NONE, &daemon_opt, 0, 0, 0 },
@@ -577,6 +580,18 @@
return 0;
#endif
+ case OPT_LINK_BY_HASH:
+#if HAVE_LINK
+ link_by_hash_dir = (char *)poptGetOptArg(pc);
+ checksum_seed = FIXED_CHECKSUM_SEED;
+ break;
+#else
+ snprintf(err_buf, sizeof err_buf,
+ "hard links are not supported on this %s\n",
+ am_server ? "server" : "client");
+ rprintf(FERROR, "ERROR: %s", err_buf);
+ return 0;
+#endif...
2005 Mar 24
5
Samba 3.0.13 Available for Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
==============================================================
Blanking someone is an incredibly powerful
thing to do in civilized society.
-- Bernard Black
==============================================================
Release Announcement
====================
This is the latest
2004 Mar 10
4
HFS+ resource forks: WIP patch included
..., POPT_ARG_INT, &bwlimit, 0, 0, 0 },
{"address", 0, POPT_ARG_STRING, &bind_address, 0, 0, 0 },
{"backup-dir", 0, POPT_ARG_STRING, &backup_dir, 0, 0, 0 },
@@ -516,6 +520,16 @@
case OPT_INCLUDE_FROM:
add_exclude_file(&exclude_list, poptGetOptArg(pc),
MISSING_FATAL, ADD_INCLUDE);
+ break;
+
+ case OPT_HFS_MODE:
+ if ( (strcmp(hfs_mode,"none") != 0) &&
+ (strcmp(hfs_mode,"darsplit") != 0) ) {
+ snprintf(err_buf, sizeof err_buf,
+ "unsupported hfs-mode: \"%s\"\n",hfs_mode);...