Displaying 9 results from an estimated 9 matches for "gnu_getopt".
2015 Sep 07
0
gnu_getopt.h / errors Interix 3.5 / xapian-core-1.2.21 / Eric Lindblad
gnu_getopt.h by Eric Lindblad 07-09-2015
http://www.ericlindblad.blogspot.com
Subsequent to the compile of libxapian.so.22.6.8 and libxapian.a
there are executable source files using gnu_getopt.h which has
an #ifdef __CYGWIN__, perhaps that file would need attention in
order for compile to proceed on my modi...
2010 Apr 16
1
Failure compiling 1.0.19 on OSX 10.5.8
...undef -Wshadow
-Wstrict-null-sentinel -fvisibility=hidden -g -O2 -MT
bin/bin_quartzcompact-quartzcompact.o -MD -MP -MF
bin/.deps/bin_quartzcompact-quartzcompact.Tpo -c -o
bin/bin_quartzcompact-quartzcompact.o `test -f 'bin/quartzcompact.cc' ||
echo './'`bin/quartzcompact.cc
./common/gnu_getopt.h:71: error: ?optarg? is already declared in this scope
./common/gnu_getopt.h:72: error: ?optind? is already declared in this scope
./common/gnu_getopt.h:73: error: ?opterr? is already declared in this scope
./common/gnu_getopt.h:74: error: ?optopt? is already declared in this scope
make[2]: *** [b...
2012 Oct 19
3
[PATCH] pygrub: Add option to list grub entries
...sxp|simple|simple0] <image>" %(sys.argv[0],)
def copy_from_image(fs, file_to_read, file_type, output_directory,
not_really):
@@ -736,8 +746,8 @@ if __name__ == "__main__":
dataoff += len(data)
try:
- opts, args = getopt.gnu_getopt(sys.argv[1:], ''qinh::'',
- ["quiet", "interactive", "not-really", "help",
+ opts, args = getopt.gnu_getopt(sys.argv[1:], ''qilnh::'',
+ ["quiet&q...
2006 Mar 23
0
Re: [Xen-changelog] Improve error handling, in particular fixing the ProtocolError that is thrown
...ht (c) 2005-2006 XenSource Ltd.
> #
> # Authors:
> # Sean Dague <sean at dague dot net>
> @@ -38,7 +38,7 @@
> from xen.xm.opts import *
>
> import console
> -
> +import xen.xend.XendClient
> from xen.xend.XendClient import server
>
> # getopt.gnu_getopt is better, but only exists in Python 2.3+. Use
> @@ -1111,7 +1111,10 @@
> except SystemExit:
> sys.exit(1)
> except xmlrpclib.Fault, ex:
> - print "Error: %s" % ex.faultString
> + if ex.faultCode == xen.xend.XendClien...
2008 Sep 04
5
xm dump-core options are useless
This cset:
changeset: 11473:0008fca70351
date: Thu Sep 14 08:19:38 2006 +0100
description:
xm dump command add on
xm dump-core [-L|--live][-C| --crash] <domID> [output path]
Didn''t actually implement anything. Worse, it looks like we don''t even
pause the domain, so it''s always live (not good). What''s going on?
regards
john
2007 May 04
0
[PATCH] 3/4 "nemesis" scheduling domains for Xen
...def xm_sched_credit(args):
cap)
else:
result = server.xend.domain.sched_credit_set(domid, weight, cap)
+ if result != 0:
+ err(str(result))
+
+def xm_sdom(args):
+ opts = {}
+ try:
+ (options, params) = getopt.gnu_getopt(args, ''arefd:s:'',
+ [''--add'', ''--remove'', ''--sched'', ''--flags'', ''--dom='', ''sdom=''])
+ except getopt.GetoptError, opterr:
+ err(opterr)
+ usage('...
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
...|--quiet] [-i|--interactive] [-n|--not-really] [--output=] [--kernel=] [--ramdisk=] [--args=] [--entry=] [--output-directory=] [--output-format=sxp|simple|simple0] <image>" %(sys.argv[0],)
@@ -732,9 +744,9 @@ if __name__ == "__main__":
try:
opts, args = getopt.gnu_getopt(sys.argv[1:], ''qinh::'',
- ["quiet", "interactive", "not-really", "help",
+ ["quiet", "interactive", "not-really", "help",...
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
Fix for pygrub path on Solaris.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py
+++ b/tools/python/xen/xend/XendDomainInfo.py
@@ -37,7 +37,7 @@ from xen.util.blkif import blkdev_uname_
from xen.util.blkif import blkdev_uname_to_file
from xen.util
2006 Mar 07
8
[PATCH] xm,xend: flesh out xm sched-sedf
...# and at most a domid up to 5 options with values
+ arg_check(args, "sched-sedf", 1, 11)
+ domid = args[0]
+ # drop domid from args since get_opt doesn''t recognize it
+ args = args[1:]
+
+ opts = {}
+ try:
+ (options, params) = getopt.gnu_getopt(args, ''p:s:l:e:w:'',
+ [''period='', ''slice='', ''latency='', ''extratime='', ''weight=''])
+ except getopt.GetoptError, opterr:
+ err(opterr)
+ sys.exit(1)
+
+ for (...