search for: strtoull

Displaying 20 results from an estimated 189 matches for "strtoull".

2014 Mar 09
1
PATCH: strtoull
For MSVS, share/compat.h redefines strtoull as _strtoui64, and there's no need in local__strtoull(). -------------- next part -------------- A non-text attachment was scrubbed... Name: strtoull.patch Type: application/octet-stream Size: 936 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20140310/b959...
2016 Jun 22
4
Help building llvm on freebsd 8.4
.../spangeni/llvm/llvm-3.8.0.src/lib/TableGen/TGLexer.cpp:393:48: error: 'strtoll' was not declared in this scope CurIntVal = strtoll(NumStart, nullptr, 16); ^ /home/spangeni/llvm/llvm-3.8.0.src/lib/TableGen/TGLexer.cpp:398:60: error: 'strtoull' was not declared in this scope CurIntVal = (int64_t)strtoull(NumStart, nullptr, 16); ^ /home/spangeni/llvm/llvm-3.8.0.src/lib/TableGen/TGLexer.cpp:414:47: error: 'strtoll' was not declared in this scope CurIntV...
2018 Sep 12
4
smbclient for SCO OpenServer 5.0.7
...ter way to have resolved these issues. Resolving link failures was a bit more involved. An S_ISSOCK() macro was not supplied by system /usr/include files, but this was able to be worked around with a minor edit. There was also an issue that /usr/include files did not document provided strtoll or strtoull functions though it both showed up in a strings search of libc and libstdc++ shared objects in /usr/lib. For purposes of compiling only smbclient, though, it appeared that maybe only strtoull was required. lib/replace/replace.c did not suffice with respect to providing workarounds. I resorted to i...
2004 Dec 20
2
1.0-test59 on OpenBSD: Undefined symbol `_strtoull' referenced
Hello, dovecot-1.0-test59 compilation fails on an old OpenBSD version with: var-expand.c:19: Undefined symbol `_strtoull' referenced from text segment collect2: ld returned 1 exit status *** Error code 1 Stop in /root/dovecot-1.0-test59/src/auth (line 392 of Makefile). [...] OpenBSD should have strtoull starting from about version 3.2.
2006 Jun 11
1
Quotas and LDAP
...t: --- quota-maildir.c.orig 2006-06-11 19:15:55.000000000 +0200 +++ quota-maildir.c 2006-06-11 19:16:13.000000000 +0200 @@ -526,7 +526,7 @@ for (; *args != '\0'; args++) { if (strncmp(*args, "storage=", 8) == 0) { - size = strtoull(*args + 8, NULL, 10) * 1024; + size = strtoull(*args + 8, NULL, 10); if (size != 0) root->message_bytes_limit = size; root->master_message_limits = TRUE; Thanks Stephan -- | Those that bit...
2012 Apr 17
1
[PATCH 2/2] replace local_strtoull with _strtoui64 in windows
...------------------ 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/include/share/compat.h b/include/share/compat.h index ff5c8af..8ad3698 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -61,9 +61,10 @@ #if defined(_MSC_VER) #define strtoll _strtoi64 +#define strtoull _strtoui64 #endif -#if defined(_MSC_VER) +#if defined(_MSC_VER) #define restrict __restrict #endif diff --git a/src/metaflac/options.c b/src/metaflac/options.c index 43e1f6c..0f227da 100644 --- a/src/metaflac/options.c +++ b/src/metaflac/options.c @@ -25,6 +25,7 @@ #include "utils.h&q...
2016 Jun 23
2
Help building llvm on freebsd 8.4
...en/TGLexer.cpp:393:48: > error: 'strtoll' was not declared in this scope > > CurIntVal = strtoll(NumStart, nullptr, 16); > > ^ > > /home/spangeni/llvm/llvm-3.8.0.src/lib/TableGen/TGLexer.cpp:398:60: > error: 'strtoull' was not declared in this scope > > CurIntVal = (int64_t)strtoull(NumStart, nullptr, 16); > > ^ > > /home/spangeni/llvm/llvm-3.8.0.src/lib/TableGen/TGLexer.cpp:414:47: > error: 'strtoll' was not de...
2018 Sep 12
0
smbclient for SCO OpenServer 5.0.7
...es. > > Resolving link failures was a bit more involved. An S_ISSOCK() macro was not > supplied by system /usr/include files, but this was able to be worked around > with a minor edit. > > There was also an issue that /usr/include files did not document provided > strtoll or strtoull functions though it both showed up in a strings search of > libc and libstdc++ shared objects in /usr/lib. For purposes of compiling > only smbclient, though, it appeared that maybe only strtoull was required. > lib/replace/replace.c did not suffice with respect to providing workarounds....
2018 Sep 12
1
smbclient for SCO OpenServer 5.0.7
...lving link failures was a bit more involved. An S_ISSOCK() macro was not >> supplied by system /usr/include files, but this was able to be worked around >> with a minor edit. >> >> There was also an issue that /usr/include files did not document provided >> strtoll or strtoull functions though it both showed up in a strings search of >> libc and libstdc++ shared objects in /usr/lib. For purposes of compiling >> only smbclient, though, it appeared that maybe only strtoull was required. >> lib/replace/replace.c did not suffice with respect to providing w...
2007 Jan 23
1
Maildir Quota backend
Hi, I've noticed that in the maildir backend for the quota plugin the quota limit is being read in kilobytes. In the quota-maildir.c at maildir_quota_init() , line 550 (rc18) if (strncmp(*args, "storage=", 8) == 0) { size = strtoull(*args + 8, NULL, 10) * 1024; if (size != 0) root->message_bytes_limit = size; root->master_message_limits = TRUE; } The value that's being read from storage is supposed to be in kB, at least that's what I understand from the wiki, and then the value of size is stored in b...
2006 Feb 25
1
[PATCH] fix mkelf32 when cross compiling on i386 for x86-64
Use strtoull to parse the final_exec_addr value from the command line. Whe cross compiling on i386 for x86-64 unsigned long is 32 bit, which leads to final_exec_addr being truncated to 32 bits by strtoul, which leads to grub refusing to load the resulting image. Please apply. Signed-Off-By: Muli Ben-Yehuda &lt...
2006 Mar 17
1
[PATCH] OpenSSL RNG initialization
...-0000 1.266 +++ configure.in 10 Mar 2006 17:15:01 -0000 @@ -358,7 +358,8 @@ AC_CHECK_FUNCS(fcntl flock lockf inet_aton sigaction getpagesize madvise \ strcasecmp stricmp vsnprintf vsyslog writev pread \ setrlimit setproctitle seteuid setreuid setegid setresgid \ - strtoull strtouq setpriority quotactl getmntent kqueue kevent) + strtoull strtouq setpriority quotactl getmntent kqueue kevent \ + getrusage) dnl * I/O loop function have_ioloop=no Index: src/lib/lib.h =================================================================== RCS file: /home/cvs/d...
2008 Jul 29
2
[LLVMdev] llvm-gcc linking errors
...irast.o(.text+0x10f0): In function `getchar': : multiple definition of `getchar' main.o(.text+0x1330): first defined here trirast.o(.text+0x1110): In function `vprintf': : multiple definition of `vprintf' main.o(.text+0x1350): first defined here trirast.o(.text+0x1140): In function `strtoull': : multiple definition of `strtoull' main.o(.text+0x1380): first defined here trirast.o(.text+0x1170): In function `strtoll': : multiple definition of `strtoll' main.o(.text+0x13b0): first defined here trirast.o(.text+0x11a0): In function `strtold': : multiple definition of `st...
2018 Aug 17
1
Re: [PATCH v3 1/4] mltools: Rename Yajl module as JSON_parser and move to common/mltools.
...sant. > > Currently we're OK as long as disk sizes don't exceed 8 petabytes, if > my quick calculation is correct. The problem comes anywhere that qemu outputs an unsigned 64-bit number as unsigned AND where that value is larger than INT64_MAX (jansson uses strtoll, rather than strtoull). But since disk sizes cannot exceed off_t, which is a signed 64-bit number, it does not matter whether qemu outputs those as signed or unsigned - they will still be parseable as a signed number. Thus, you are correct that disk sizes in qemu output won't trigger the Jansson limitation. -...
2007 Apr 12
2
[PATCH] Make com32 printf obey width-restriction on %s
...o strcmp.o strcpy.o strdup.o strerror.o strlen.o \ - strncasecmp.o strncat.o strncmp.o strncpy.o strndup.o \ + strncasecmp.o strncat.o strncmp.o strncpy.o strndup.o strnlen.o \ strntoimax.o strntoumax.o strrchr.o strsep.o strspn.o strstr.o \ strtoimax.o strtok.o strtol.o strtoll.o strtoul.o strtoull.o \ strtoumax.o vfprintf.o vprintf.o vsnprintf.o vsprintf.o \ --- syslinux-3.36/com32/lib/vsnprintf.c.orig 2007-02-10 21:47:08.000000000 +0100 +++ syslinux-3.36/com32/lib/vsnprintf.c 2007-04-12 12:08:54.000000000 +0200 @@ -362,7 +362,7 @@ case 's': /* String */ sarg = va_arg(a...
2006 May 10
1
Floating Point Exception
I have a Fedora Core server running: Fedora Core release 4 (Stentz) kernel version: 2.6.15-1.1833_FC4smp ( I have also tried kernel version: 2.6.16-1.2108_FC4smp) I compiled the ocfs2 and ocfs2-tools using the following steps: # MODULES: tar zxvpf ocfs2-1.2.1.tar.gz cd ocfs2-1.2.1 ./configure make make install # TOOLS: tar zxf ocfs2-tools-1.2.1.tar.gz cd ocfs2-tools-1.2.1 ./configure
2005 May 12
0
Using string from stdlib in winemaker
...ib:161: error: Syntaxfehler before `.' token /usr/include/c++/3.3/cstdlib:161: error: Syntaxfehler before `.' token /usr/include/c++/3.3/cstdlib:172: error: `atoll' not declared /usr/include/c++/3.3/cstdlib:173: error: `strtoll' not declared /usr/include/c++/3.3/cstdlib:174: error: `strtoull' not declared /usr/include/c++/3.3/cstdlib:176: error: `strtof' not declared /usr/include/c++/3.3/cstdlib:177: error: `strtold' not declared /usr/include/c++/3.3/cstdlib:178: error: Fehler beim Parsen before `}' token /usr/include/c++/3.3/cstdlib:183: error: `lldiv_t' not declar...
2005 Dec 15
2
Patch: More of kqueue() support.
...hval, notify=) @@ -312,7 +312,7 @@ dnl * after -lsocket and -lnsl tests, in AC_CHECK_FUNCS(fcntl flock lockf inet_aton sigaction getpagesize madvise \ strcasecmp stricmp vsnprintf vsyslog writev pread \ setrlimit setproctitle seteuid setreuid setegid setresgid \ - strtoull strtouq setpriority quotactl getmntent) + strtoull strtouq setpriority quotactl getmntent kqueue kevent) dnl * I/O loop function have_ioloop=no @@ -329,12 +329,17 @@ if test "$ioloop" = "epoll"; then fi if test "$ioloop" = "kqueue"; then - AC_...
2012 Aug 02
2
[LLVMdev] Proposal to merge SimplifyLibCalls into InstCombiner
..._memcpy_chk, __mempcpy_chk, __memset_chk, __strcpy_chk, __stpcpy_chk, __strncpy_chk, __stpncpy_chk, __strcat_chk, __strncat_chk. 2. `SimplifyLibCalls`: strcat, strncat, strchar, strrchr, strcmp, strncmp, strcpy, strncpy, strlen, strpbrk, strtol, strtod, strtof, strtoul, strtoll, strtold, strtoull, strtold, strtoull, strspn, strcspn, strstr, memcmp, memcpy, memmove, memset, __strcpy_chk, cosf, cos, cosl, powf, pow, powl, llvm.pow.f32, llvm.pow.f64, llvm.pow.f80, llvm.pow.f128, llvm.pow.ppcf128, exp21, exp2, exp2f, llvm.exp2.ppcf128, llvm.exp2.f128, llvm.exp2.f80, llvm.exp2.f64, l...
2008 Aug 16
1
Minimal COM32 Root Module
...o realloc.o seed48.o snprintf.o \ sprintf.o srand48.o sscanf.o strcasecmp.o \ strdup.o strerror.o strlen.o \ strnlen.o \ strncasecmp.o strncat.o strncmp.o strndup.o \ stpcpy.o stpncpy.o \ strntoimax.o strntoumax.o strrchr.o strstr.o \ strtoimax.o strtol.o strtoll.o strtoul.o strtoull.o \ strtoumax.o vprintf.o vsprintf.o \ asprintf.o vasprintf.o strlcat.o \ vsscanf.o zalloc.o \ \ sys/x86_init_fpu.o math/pow.o math/strtod.o Thank you! Stefan Bucur