search for: sys_typ

Displaying 20 results from an estimated 30 matches for "sys_typ".

Did you mean: sys_tmp
2017 Mar 01
2
[PATCH libguestfs] Use AC_HEADER_MAJOR to find definitions of major, minor, makedev.
Note this requires either the following fix in autoconf: http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=e17a30e98 OR gnulib sys_types module plus gnulib commit a512e041120e9012e69afa2f5c3adc196ec4999a (any gnulib more recent than Sep 2016) which corrects the AC_HEADER_MAJOR macro in a similar way. --- bootstrap | 1 + cat/ls.c | 7 +++++++ daemon/mknod.c | 6 ++++++ diff/diff.c...
2002 Jan 06
2
More OS X issues
...OS X work is reading this, feel free to tell me where/how I've screwed up =) The first problem is that it couldn't find MacTypes.h in the path. MacTypes.h is simply a one line file that includes <CoreServices/CoreServices.h>, so I just replaced the MacTypes.h with that. In addition, sys_types.h was attempting to include <alloca.h>, which doesn't seem to exist. Is that only included with MetroWerks? I'm using PB/GCC. Brian Hook, President Pyrogon, Inc. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/...
2017 Mar 01
3
[PATCH supermin 0/2] Use AC_HEADER_MAJOR to find definitions of major, minor, makedev.
Quite a complex fix in the end, see the comment in the second commit. Rich.
2017 Jun 12
0
AIX lacks getopt_long
...ulib-tool --dry-run --import getopt-posix Module list with included dependencies (indented): absolute-header extensions extern-inline getopt-posix gettext-h include_next snippet/arg-nonnull snippet/c++defs snippet/warn-on-use ssize_t stddef sys_types unistd File list: lib/arg-nonnull.h lib/c++defs.h lib/getopt-cdefs.in.h lib/getopt-core.h lib/getopt-ext.h lib/getopt-pfx-core.h lib/getopt-pfx-ext.h lib/getopt.c lib/getopt.in.h lib/getopt1.c lib/getopt_int.h lib/gettext.h lib/stddef.in.h lib/sys_ty...
2014 Dec 15
2
Replace atoi and atol with strtol strtoul:Need Help
Hello, I am working on replacing atoi () and atol() functions with strtol() and strtoul() . I came across many files which uses statement like these time_t secs= atoi(data_span.c_str()), here time_t Datatype is not known but wikipedia says that it is integer so is it necessary to replace atoi with strtol over here ?? And is their any document which helps me what each file function does like
2017 Mar 03
0
Re: [PATCH libguestfs] Use AC_HEADER_MAJOR to find definitions of major, minor, makedev.
On Wednesday, 1 March 2017 13:20:02 CET Richard W.M. Jones wrote: > Note this requires either the following fix in autoconf: > > http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=e17a30e98 > > OR gnulib sys_types module plus gnulib > commit a512e041120e9012e69afa2f5c3adc196ec4999a (any gnulib more > recent than Sep 2016) which corrects the AC_HEADER_MAJOR macro in a > similar way. > --- Theoretically LGTM -- OTOH, couldn't the common #if..etc chain be put in some common headers, e.g. gues...
2017 Jan 11
2
Broken OS after upgrade
Hi, I have broken my OS (FreeBSD) after upgrade, making me unable to compile dovecot the usual way so I am seeking a 3rd eye. The config.log is at : http://bit.ly/2jE5djl Hoping someone can help me figure out what is broken. During configure, it fails with: checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files...
2019 Sep 18
2
[PATCH] build: remove unused gnulib modules
...full-write futimens -getaddrinfo getline getprogname gitlog-to-changelog @@ -143,22 +138,18 @@ mkstemps netdb netinet_in nonblocking -openat perror pipe2 pread -ptsname_r read-file readlink select setenv sleep socket -stat-time strchrnul strerror strndup -symlinkat sys_select sys_types sys_wait diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 49dbf1998..7c71920c4 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -225,13 +225,9 @@ guestfsd_LDADD = \ $(HIVEX_LIBS) \ $(SD_JOURNAL_LIBS) \ $(top_builddir)/gnulib/lib/.libs/libgnu.a \ - $(GETADDRINFO_LIB) \...
2014 Dec 16
2
Replace atoi and atol with strtol strtoul:Need Help
...> > strtol over here ?? > > The time_t type is a standard one - ISO C only says it's a "arithmetic > type" (so it could potentially be a double) but POSIX says it's an > "integer type": > > http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html > > While that would allow it to be unsigned, in practice it seems to be a > signed integer, and it is 64 bit on modern systems (since a signed 32 > bit integer with the Unix epoch can only represent dates up to 2038). > > You missed out a relevant part of line, which in...
2019 Sep 18
0
Re: [PATCH] build: remove unused gnulib modules
...emps > netdb > netinet_in > nonblocking > -openat > perror > pipe2 > pread > -ptsname_r > read-file > readlink > select > setenv > sleep > socket > -stat-time > strchrnul > strerror > strndup > -symlinkat > sys_select > sys_types > sys_wait > diff --git a/daemon/Makefile.am b/daemon/Makefile.am > index 49dbf1998..7c71920c4 100644 > --- a/daemon/Makefile.am > +++ b/daemon/Makefile.am > @@ -225,13 +225,9 @@ guestfsd_LDADD = \ > $(HIVEX_LIBS) \ > $(SD_JOURNAL_LIBS) \ > $(top_builddir)/gnulib...
2019 Sep 23
0
[PATCH v2 5/5] build: remove unused gnulib modules
...e hash hash-pjw human -iconv ignore-value intprops lock @@ -141,24 +133,18 @@ memmem mkdtemp mkstemps netdb -netinet_in nonblocking -openat perror pipe2 pread -ptsname_r -read-file readlink select setenv sleep socket -stat-time strchrnul strerror strndup -symlinkat sys_select sys_types sys_wait @@ -166,9 +152,6 @@ tls vasprintf vc-list-files warnings -xalloc -xalloc-die -xgetcwd xstrtol xstrtoll xvasprintf diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 49dbf1998..7c71920c4 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -225,13 +225,9 @@ guestfsd_...
2017 Aug 14
3
[PATCH] builder: templates: debian: use single-partition layout
The previously selected 'atomic' recipe resulted in 2GB swap in a 6GB volume. Also, we don't really need the boot partition, so just create a partition using the whole disk space. --- builder/templates/debian.preseed | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/builder/templates/debian.preseed b/builder/templates/debian.preseed index
2017 Jul 07
2
[PATCH v3] v2v: docs: VDSM location of virt-v2v log file.
See this bug for background information: https://bugzilla.redhat.com/show_bug.cgi?id=1350465 Thanks: Tomáš Golembiovský --- v2v/virt-v2v.pod | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod index e68d75cf8..87dba240b 100644 --- a/v2v/virt-v2v.pod +++ b/v2v/virt-v2v.pod @@ -1909,18 +1909,32 @@ that
2017 Aug 12
2
[PATCH] configure: Further split blocks of text in the script output.
Commit 0a94cae15bae7cecb725e78e485708694d347612 added useful headings to parts of the configure script. This refactors the code by adding a common macro (‘HEADING’), and also changes the output so it's clearer at a glance: --- Checking for Haskell --- checking for ghc... (cached) ghc --- Checking for PHP --- checking for php... (cached) php checking for phpize... (cached) phpize
2017 Jun 27
0
[PATCH v3 3/5] threads: Use thread-local storage for errors.
...lib/guestfs-internal.h | 25 +++---- lib/handle.c | 11 +-- m4/.gitignore | 1 + 5 files changed, 180 insertions(+), 54 deletions(-) diff --git a/bootstrap b/bootstrap index 77a95a25b..4e3d4bc51 100755 --- a/bootstrap +++ b/bootstrap @@ -95,6 +95,7 @@ symlinkat sys_select sys_types sys_wait +tls vasprintf vc-list-files warnings diff --git a/lib/errors.c b/lib/errors.c index def1d3c89..b0c678d77 100644 --- a/lib/errors.c +++ b/lib/errors.c @@ -51,26 +51,150 @@ #include "guestfs.h" #include "guestfs-internal.h" +/* How errors and error handlers wor...
2019 Nov 27
5
[v2v PATCH v2 0/5] Various build cleanups
Brought to you by the "I haven't rebuilt the libguestfs universe in a while" saga -- now with working test suite. Pino Toscano (5): build: remove extra gnulib submodule build: remove extra checks and submodules build: stop using gnulib in test-harness build: remove unused gnulib modules Remove extra entries from podfiles .gitmodules | 3 -- Makefile.am
2019 Sep 23
6
[PATCH v2 0/5] remove unused gnulib modules
This is an extended version of: https://www.redhat.com/archives/libguestfs/2019-September/msg00178.html It adds a couple of simple code changes, so it makes it possible to drop more modules. In addition, more unused modules were dropped. Pino Toscano (5): tests: switch away from xgetcwd daemon: move read_whole_file to common utils daemon: switch from read_file to read_whole_file daemon:
2019 Nov 27
6
[v2v PATCH 0/5] Various build cleanups
Brought to you by the "I haven't rebuilt the libguestfs universe in a while" saga. Pino Toscano (5): build: remove extra gnulib submodule build: remove extra checks and submodules build: stop using gnulib in test-harness build: remove unused gnulib modules Remove extra entries from podfiles .gitmodules | 3 -- Makefile.am | 2 - bootstrap
2019 Nov 27
7
[PATCH v3 0/6] remove unused build stuff
This is an extended version of: https://www.redhat.com/archives/libguestfs/2019-September/msg00288.html Apparently I forgot it on my tree, so I'm posting that series again, adding an extra cleanup more due to the v2v/common splits. Pino Toscano (6): tests: switch away from xgetcwd daemon: move read_whole_file to common utils daemon: switch from read_file to read_whole_file daemon:
2017 Jun 27
9
[PATCH v3 0/5] threads: Add support for thread-safe handle.
Previously posted in 2015: v1: https://www.redhat.com/archives/libguestfs/2015-June/msg00048.html v2: https://www.redhat.com/archives/libguestfs/2015-June/msg00118.html I have rebased and tidied up the patches, fixing a few spelling mistakes, but they are broadly the same as before. I also ran all the tests, which pass. As with the previous versions, this makes a change to the API, where you