Displaying 4 results from an estimated 4 matches for "write_to".
2019 Jul 01
0
[PATCH 1/6] p2v: move kernel config to perl script
...gt;auth.identity.file_needs_update = 1;
+
+ /* Undocumented command line parameter used for testing command line
+ * parsing.
+ */
+ p = get_cmdline_key (cmdline, "p2v.dump_config_and_exit");
+ if (p) {
+ print_config (c, stdout);
+ exit (EXIT_SUCCESS);
+ }
+}
+EOF
+}
+
+sub write_to {
+ my $fn = shift;
+ if (defined($output)) {
+ open(my $fh, '>', $output) or die "Could not open file '$output': $!";
+ $fn->($fh, @_);
+ close($fh);
+ } else {
+ $fn->(*STDOUT, @_);
+ }
+}
+
+if ($filename eq 'config.c') {
+ write_to(\&a...
2003 May 18
1
Problems with the pyvorbis Python wrapper under Windows
Hi!
The following Python code does what is excepted under Linux:
>>> from ogg.vorbis import *
>>> com=VorbisFile('01.ogg').comment()
>>> com['title']='foo'
>>> com.write_to('01.ogg')
but under Windows I get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
IOError: [Errno 17] File exists
(I checked the permissions of 01.ogg, 'twas writable (as it resides on a
fat32 filesys...))
Is here something I...
2019 Jul 01
8
[PATCH 0/6] p2v: start making it independent
As preliminary steps in splitting virt-p2v to an own repository,
start making p2v more independent within libguestfs. This is
accomplished by the following changes:
- generate the p2v kernel config sources & docs at build time using a
Perl script, rather than the generator (so no need for OCaml when
building from git, and no generated sources in dist tarballs)
- create two local test
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is
time to remove it from libguestfs.
[1] https://github.com/libguestfs/virt-p2v
[2] http://download.libguestfs.org/virt-p2v/
Pino Toscano (2):
Remove virt-p2v
Remove remaining virt-p2v bits
.gitignore | 4 -
Makefile.am | 7 +-
bash/Makefile.am