Displaying 20 results from an estimated 1000 matches similar to: "[FOR REVIEW ONLY] guestfish: Enable grouping in string lists"
2009 Sep 11
1
[PATCH] guestfish: Enable grouping in string lists
This change adds the ability to group entries in a string list with single
quotes. So the string:
"'foo bar'"
becomes 1 token rather than 2. Consequently single quotes must now be escaped:
"\'"
resolves to a literal single quote.
Incidentally, this change also alters another, probably unintentional behaviour
of the previous implementation, in that tokens are
2009 Nov 20
1
fix new failures from latest-from-gnulib syntax-check
There's a new syntax check rule from gnulib.
It requires that you write e.g., exit (EXIT_SUCCESS), not exit (0).
And the same for 1/EXIT_FAILURE and any other constants.
There were a lot of violations, including a few false positives,
so I started with the exemptions (see the .x-sc file below).
Then I converted the vast majority automatically, with this:
maint: use EXIT_SUCCESS and
2009 Sep 24
1
enabling more syntax-checks
The first c-set cleans up the list of excluded syntax-checks.
The second enables the sc_avoid_ctype_macros test and changes
each use of a ctype macro like isspace to c_isspace.
This makes it so such tests (often parsing-related) is locale-independent.
Otherwise, in some odd corner cases (combination of non-C locale
and perverted inputs), I suspect that libguestfs tools would mistakenly
accept
2006 Aug 02
2
[PATCH][RFC] permit domU userspace to watch xenstore
Hello,
This patch allows userspace tools on a domU to setup a watch on
the xenstore. It does this by intercepting XS_WATCH requests written
to /proc/xen/xenbus and then re-submitting the request to the in-kernel
xenstore interface, in
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c. When a callback
occurs, an in-kernel function is invoked, which then reconstructs a
response in the format
2020 Feb 21
0
function(x) !is.na(x) & x "is_true(.)" etc. was: [R] How to index..
Diverted from R-help to R-devel,
as I've changed the focus to consider adding new functions to R :
>>>>> peter dalgaard
>>>>> on Fri, 21 Feb 2020 10:46:16 +0100 writes:
> It has isTRUE, but that is not vectorized, and in fact explicitly tests length==1, so
>> isTRUE(c(TRUE,FALSE,NA))
> [1] FALSE
>> isTRUE(c(TRUE,TRUE,
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
Per discussion on IRC, here are two changes to
convert all TABs-as-indentation to spaces.
The first one is the fully-automated conversion.
However, note that the command mentioned uses a file
(the .x-sc* one) that is added only in the following patch.
The second patch adds rules to help keep things that way:
Document and enforce the new spaces-only indentation policy.
* cfg.mk
2003 Jul 05
2
Unhelpful error message when matching hosts in access list [PATCH]
Greetings,
As previously reported by me to the Debian bug tracking system:
----------------------------------------------------------------------
An access list in rsyncd.conf may contain hostnames as well as
addresses. It may contain several patterns to match against.
address_match (in access.c) does this by trying to match hostname and
address against each of the patterns until a match is
2012 Aug 22
1
Reshaping dataframes
Hi,
I have a data set with variables that are _not_ missing at random. Now I
use a package for learning a Bayesian Network which won't accept NA as a
value. From a database I query data.frames with k,k+n,k+2n, ... variables
(there are always at least k variables as leftmost columns). Using
rbind.fill from the reshape package on two data frames I would get a data
frame like
trg_type
2002 May 07
0
Fixing exclude/exclude wildcard handling
Here's a first cut at replacing the fnmatch() call with some code that
knows how to distinguish "**" from "*" and also knows how to match at
the tail-end of the path (at any point following a slash). The new
function is based on Rich Salz's wildmat() code, which means that it
doesn't currently handle "[::alpha::]" style character classes. If we
want that
2009 Jun 21
0
[PATCH] nv50: better insn generation
Don't use extra TEMPs unnecessarily in some cases.
---
src/gallium/drivers/nv50/nv50_program.c | 120 +++++++++++++++---------------
1 files changed, 60 insertions(+), 60 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index d7ab28a..5594560 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++
2004 Feb 01
1
innetgr revised netgroup patch against 2.6.0
innetgr.. much easier..
Had a look for the user section but didn't find it in my 15 seconds of
looking..
--- access.c 2003-07-30 16:12:27.000000000 +1000
+++ ../rsync-2.6.0-Linux/access.c 2004-02-01 23:21:12.000000000 +1100
@@ -22,10 +22,21 @@
*/
#include "rsync.h"
+#include <netdb.h>
static int match_hostname(char *host, char *tok)
{
+ char
2003 May 03
0
Storing rsync secrets in LDAP
Hi, a few months ago I posted a message about using LDAP to store rsync secrets in LDAP. I received a response about patching the rsync source code with a patch file. I am now finally getting around to doing this, and when I tried to use the patch command 'patch --verbose ./rsync-2.5.6/authenticate.c rsync-ldap.patch' , it gives me the following error:
Hmm... Looks like a unified diff
2004 Feb 06
0
Restrict logon to groups of workstations II
After sending my first email, I tried to modify auth/auth_sam.c to
allow groups of workstations to the workstations list. And, for my
surprise (?!) it was quite easy. And worked fine. I use LDAP as sam
backed, and for unix accounts and groups database. I create a test group
"stations" and putted there into two of my workstations. Then I defined
the "sambaUserWorkstations"
2019 Jan 25
0
[klibc:update-dash] [PARSER] Simplify EOF/newline handling in list parser
Commit-ID: 807d37fa7f3b25884946c789ea6458f19647abf0
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=807d37fa7f3b25884946c789ea6458f19647abf0
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Tue, 28 Oct 2014 17:22:16 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] [PARSER] Simplify
2020 Mar 28
0
[klibc:update-dash] dash: [PARSER] Simplify EOF/newline handling in list parser
Commit-ID: a5a6a6ba303805417242138104643d8c40d71d00
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=a5a6a6ba303805417242138104643d8c40d71d00
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Tue, 28 Oct 2014 17:22:16 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: [PARSER]
2004 Jan 31
1
netgroups patch for rsync 2.6.0
G'day,
I figured some others might benefit from this patch. It allows you to use
the samba style @netgroup names in hosts allow and hosts deny.
I've tested it on solaris and linux with no apparent problems..
I'll get rid of the static string in a couple of days when I have to worry
about trying to get this into prod .. but with any luck someone else may have
done that for me.. :)
2001 Jan 29
0
Failed to set socket option
Hi,
I run a Veritas cluster server with two different samba's 2.0.7 compiled with SUNWspro 4.0 (gcc 2.95 leads to the same results)
on Solaris 7 UltraSPARC 60 server.
One compiled with --prefix=/opt/samba-test the other with --prefix=/opt/samba-eng.
To avoid using 127.0.0.1 or 0.0.0.0 when both smbd's running on the same cluster host I set this in both smbd.conf
2001 Sep 30
0
Exclude sets generated with -C
Hi guys,
I recently stumbled across what I think is an rsync bug. The problem
was I was trying to rsync from one CVS checkout, to another, and was
using rsync -Cavz to do the job. In this CVS module, there happens to
be two sub-directories with the names of "core" and "tags"
respectively, which were ignored, since these names matched the
default CVS ignore list.
When rsync
2004 May 29
1
[patch] Filename conversion
Hi,
One feature missing from rsync, and requested on this list before, is
on-the-fly conversion of filename character encoding. For example, I
often need to sync files having Hebrew filenames from a UTF-8 system
(Linux) to an ISO8859-8 system (Cygwin on Windows 2000 using the
non-Unicode Win32 interface). Other circumstances surely abound.
Attached is a patch against rsync 2.6.2 that adds an
2003 Feb 12
2
rsync & ldap authentication
Hi,
I'm trying to get rsync 2.5.6 to authenticate users via openldap-2.0.23. I was looking through the mailing list archives and found a patch for rsync-2.4.6 that does this for me. I was just wondering if this is still valid, or if there has been a new patch or new implementation that has superceded this patch. Any help would be great. The message I am referring to is as follows: