Displaying 20 results from an estimated 5000 matches similar to: "[PATCH] Add internal documentation to C files."
[PATCH v1 INCOMPLETE] tests: Implement script to check documented tool options match actual options.
2016 Jul 18
0
[PATCH v1 INCOMPLETE] tests: Implement script to check documented tool options match actual options.
pod-arg-check.pl is run as part of the tests to ensure the
documentation matches the options that the tool implements and vice
versa.
This commit includes scripts to run the tests and various fixes to the
manual pages to ensure that the tests pass.
---
cat/Makefile.am | 5 +-
cat/test-docs.sh | 26 ++++++++
cat/virt-cat.pod | 4 +-
cat/virt-ls.pod | 4 +-
2019 Nov 26
0
[PATCH libguestfs 1/3] podwrapper: __INCLUDE:file.pod__ and __VERBATIM:file.txt__ in POD files.
The current method of adding multiple --insert or --verbatim
parameters to the podwrapper command is not very easy to use because
it involves modifying the Makefile.am in every place where this is
used, plus under po-docs/$language/Makefile.am. It's better if the
POD file itself can do the inclusion.
This enhances support so that the special sequences
__INCLUDE:file.pod__
or
2018 Jul 31
0
[PATCH nbdkit 3/4] Add map filter.
Serve an arbitrary map of regions of the underlying plugin.
---
common-rules.mk | 1 +
configure.ac | 1 +
filters/map/Makefile.am | 61 +++
filters/map/map.c | 256 +++++++++
filters/map/maptype.c | 493 ++++++++++++++++++
filters/map/maptype.h
2016 Jul 18
2
[PATCH] tests: Implement script to check documented tool options match actual options.
podcheck.pl is run as part of the tests to perform various
checks on the documentation and the tool.
Currently we check only that the documented options matches the
options that the tool implements and vice versa. This commit would
also allow us (in future) to check --help, --long-options,
--short-options, --version output.
This commit includes scripts to run the tests and various fixes to the
2005 Mar 16
0
tftpd remap rules
Hi,
Without this patch, I get a "remap rules cannot be inverted" error
message with any remap rule:
--- tftp-hpa-0.40/tftpd/remap.c.old 2005-03-16 16:34:34.000000000 -0500
+++ tftp-hpa-0.40/tftpd/remap.c 2005-03-16 16:22:49.000000000 -0500
@@ -275,6 +275,7 @@
int lineno = 0;
int err = 0;
+ memset(this_rule, '\0', sizeof(struct rule));
while ( lineno++, fgets(line,
2016 Aug 04
0
[PATCH] build: Add silent rules for podwrapper.
Also quietens the podwrapper script itself, as there is no reason to
print 'wrote <output>' for each output file.
---
m4/guestfs_perl.m4 | 2 +-
podwrapper.pl.in | 6 +++---
subdir-rules.mk | 3 +++
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/m4/guestfs_perl.m4 b/m4/guestfs_perl.m4
index 249772c..be688b4 100644
--- a/m4/guestfs_perl.m4
+++
2010 Mar 06
1
ssh-keyscan bug (not really exploitable)
ssh-keyscan may, under very specific circumstances, be vulnerable to
something akin to a buffer overflow. It's probably impossible to
exploit, though, if only because ssh-keyscan is not usually run on very
large untrusted input files.
ssh-keyscan uses an fgets() wrapper that uses an unsigned int to keep
track of the length of a buffer holding the current line. On machines
with sufficient
2019 Dec 11
2
[PATCH 1/2] podcheck: __INCLUDE:file.pod__ and __VERBATIM:file.txt__ in POD files.
Make sure the pod checker script can deal with the newer additions of
podwrapper.pl.
Followup of commit 46e59e9535c2fcd1c188464b5249a249f22af1a0.
---
podcheck.pl | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/podcheck.pl b/podcheck.pl
index 527a2e47d..795fe0e9b 100755
--- a/podcheck.pl
+++ b/podcheck.pl
@@ -83,6 +83,15 @@ used where the POD includes
2019 Aug 20
2
[nbdkit PATCH v2] main: Add option to disable SR advertisement
When we added support for .extents, we had nbdkit unconditionally
support structured replies if the client requests them, and the
plugin's .can_extents has no impact on what the server advertises.
However, while the plugin API doesn't care whether the client
requested SR, there are still integration situations where not
advertising SR can be useful (such as comparison on what a client does
2007 Nov 11
1
ftp-server patch - restrict user to directory
Hi,
please find a patch against openssh-4.7p1
This patch:
1) Allows for an optional configuration file
2) Allows a user to be restricted to a directory and it's children.
Enjoy
--
Alain Williams
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information:
2019 Jun 04
0
[PATCH libnbd v2 3/4] api: Implement concurrent writer.
Callers may now optionally set up a concurrent writer thread. The
outline of this idea is explained here:
https://www.redhat.com/archives/libguestfs/2019-June/msg00010.html
The change is quite small, but here are some points which are true but
may not be obvious:
* All writes return immediately with success (unless we run out of
memory), and writes never block.
* When going down the READY
2019 Jun 03
1
Re: [PATCH libnbd discussion only 4/5] api: Implement concurrent writer.
On 6/3/19 10:29 AM, Richard W.M. Jones wrote:
> ---
> docs/libnbd.pod | 73 +++++++++++++++++++++++++++++++++++++++++++++
> generator/generator | 52 +++++++++++++++++++++++++++-----
> lib/handle.c | 32 ++++++++++++++++++++
> lib/internal.h | 7 +++++
> lib/socket.c | 22 +++++++++++---
> podwrapper.pl.in | 3 +-
> 6 files changed, 177
2009 Feb 17
5
Problems in Compiling MFC
1) i'm facing problem while compiling MFC code
when "winemaker" command is given i get these lines
admin at XXX:~/.wine/drive_c/windows/system32/MFC> winemaker --lower-uppercase .
Winemaker 0.6.0
Copyright 2000 Francois Gouget <fgouget at codeweavers.com> for CodeWeavers
closedir() attempted on invalid dirhandle DIRECTORY at /usr/local/bin/winemaker line 1054.
closedir()
2011 Jul 05
0
[PATCH] losetup: use stdout and return 0 for -h
From: Karel Zak <kzak at redhat.com>
ported to klibc losetup version from util-linux
108591d2b7860ca0b8d27d114bed1e504a31fa72,
also add -h option. -maks
Reported-by: Kamalesh Babulal <kamalesh at linux.vnet.ibm.com>
Signed-off-by: Karel Zak <kzak at redhat.com>
Signed-off-by: maximilian attems <max at stro.at>
---
Other patches might be useful too, that one just
2019 Jun 03
0
[PATCH libnbd discussion only 4/5] api: Implement concurrent writer.
---
docs/libnbd.pod | 73 +++++++++++++++++++++++++++++++++++++++++++++
generator/generator | 52 +++++++++++++++++++++++++++-----
lib/handle.c | 32 ++++++++++++++++++++
lib/internal.h | 7 +++++
lib/socket.c | 22 +++++++++++---
podwrapper.pl.in | 3 +-
6 files changed, 177 insertions(+), 12 deletions(-)
diff --git a/docs/libnbd.pod b/docs/libnbd.pod
index
2019 Aug 23
2
[nbdkit PATCH 3/3] plugins: Add .can_fast_zero hook
Allow plugins to affect the handling of the new NBD_CMD_FLAG_FAST_ZERO
flag, then update affected plugins. In particular, in-memory plugins
are always fast; the full plugin is better served by omitting .zero
and relying on .pwrite fallback; nbd takes advantage of libnbd
extensions proposed in parallel to pass through support; and
v2 language bindings expose the choice to their scripts.
The
2019 Jul 01
0
[PATCH 1/6] p2v: move kernel config to perl script
Instead of generating the p2v kernel config using the OCaml generator,
create a Perl script to do this job, mostly at build time. This is done
to rely less on the generator for p2v, and because the generation of
these sources is quick enough that it can be done at build time (instead
of shipping the generated sources in dist tarballs).
The generate-p2v-config.pl mimics what
2014 Sep 27
1
[PATCH 2/2] readlink: Add -f option
This is needed to support mounting non-root filesystems in
initramfs-tools.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
initramfs-tools 0.117 only works with busybox; this should allow it to
work with klibc again.
Ben.
--- a/usr/utils/readlink.c
+++ b/usr/utils/readlink.c
@@ -7,24 +7,45 @@ const char *progname;
static __noreturn usage(void)
{
- fprintf(stderr,
2016 Jan 06
0
[klibc:master] readlink: Add -f option
Commit-ID: 4d9db8a092aee0dfaebb65e0b4f054a40d92cbd9
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=4d9db8a092aee0dfaebb65e0b4f054a40d92cbd9
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Wed, 6 Jan 2016 01:09:16 +0000
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 5 Jan 2016 17:48:48 -0800
[klibc] readlink: Add -f option
2019 Aug 12
0
[PATCH libnbd 7/7] api: Remove the valid_flag from all callbacks.
The freeing feature can now be done by associating a free callback
with a closure's user_data, so having the valid_flag is no longer
necessary and it can be completely removed.
This mostly reverts commit 2d9b98e96772e282d51dafac07f16387dadc8afa.
---
TODO | 2 -
docs/libnbd.pod | 64 ++--------------
examples/glib-main-loop.c |