search for: __builtin__

Displaying 10 results from an estimated 10 matches for "__builtin__".

Did you mean: __builtin_
2019 Dec 03
5
clang and -D_FORTIFY_SOURCE=1
...fortify_source_requirements.rst TL;DR: clang does provide a similar compile-time checking as gcc, but no runtime checking. To assert that I wrote a small test suite: https://github.com/serge-sans-paille/fortify-test-suite And indeed, clang doesn't pass it, mostly because it turns call to __builtin__(.*)_chk into calls to __builtin__\1. We need to support the runtime behavior of the following builtins: - __builtin___memcpy_chk - __builtin___memmove_chk - __builtin___mempcpy_chk - __builtin___memset_chk - __builtin___snprintf_chk - __builtin___sprintf_chk - __builtin___stpcpy_chk - __builtin__...
2018 Jun 27
1
Re: [PATCH v3] v2v: -o rhv-upload: Use Unix domain socket to access imageio (RHBZ#1588088).
...are id: name 'builtin_open' is not defined > > We are paying the price of python :-) Ah, that's a typo. The Python 3 version is meant to use builtins.open. However confusingly I was testing the Python 2 version which has a RHEL-only patch that does: -import builtins +from __builtin__ import open as builtin_open (https://github.com/libguestfs/libguestfs/commit/e5826e63b53a0aadc8a8d5261ebfca843d0e4068) Because I wasn't expecting the Python 3 version to work, I didn't notice this error. And yes you're right, Strong Typing FTW. It's why we use OCaml where pos...
2019 Dec 04
2
[cfe-dev] clang and -D_FORTIFY_SOURCE=1
> Are you sure you've diagnosed the issue correctly? __builtin___memcpy_chk works correctly, as far as I know. 100% sure. Let's have a look at the output of #include <string.h> static char dest[10]; char* square(int n) { memcpy(dest, "hello", n); return dest; } compiled with -D_FORTIFY_SOURCE=1 -O1 : https://godbolt.org/z/U...
2007 Jul 13
0
Dconf trouble
.../etc/cron.weekly/dconf", line 142, in dzopen return gzip.open(filename, arg) File "/usr/lib/python2.3/gzip.py", line 49, in open return GzipFile(filename, mode, compresslevel) File "/usr/lib/python2.3/gzip.py", line 94, in __init__ fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb') IOError: [Errno 2] No such file or directory: '/dconf-fs11-20070610-042246.log.gz'
2015 Aug 20
1
Fwd: ABRT Daemon/sosreport disaster
...ule named argparse : :Traceback (most recent call last): : File "/usr/libexec/abrt-action-generate-machine-id", line 24, in <module> : from argparse import ArgumentParser :ImportError: No module named argparse : :Local variables in innermost frame: :__builtins__: <module '__builtin__' (built-in)> :__file__: '/usr/libexec/abrt-action-generate-machine-id' :__package__: None :sys: <module 'sys' (built-in)> :__name__: '__main__' :__doc__: 'This module provides algorithms for generating Machine IDs.\n' -- Robert Inder,...
2013 Feb 19
0
[LLVMdev] [RFC] NoBuiltin Attribute
On Feb 18, 2013, at 4:49 PM, Bill Wendling <wendling at apple.com> wrote: >> Hi Bill, >> >> I think the concept of this patch makes sense, but the implementation does not. >> >> I have: >> >> void foo() { >> printf("hello\n"); >> } >> >> and I build with -fno-builtin-puts. If I understand correctly, *foo* will
2013 Feb 19
5
[LLVMdev] [RFC] NoBuiltin Attribute
On Feb 18, 2013, at 4:45 PM, Chris Lattner <clattner at apple.com> wrote: > > On Feb 18, 2013, at 1:54 PM, Bill Wendling <wendling at apple.com> wrote: > >> Hi LLVMites! >> >> This patch adds the 'nobuiltin' attribute to to LLVM. This is needed during LTO, which right now ignores this attribute and command line flag. I want to make this an
2018 Mar 12
1
[PATCH RHEL 7] RHEL 7: -o rhv-upload: Use Python 2 instead of Python
For interest only, here is the patch required to make -o rhv-upload work with Python 2 (for RHEL 7). I don't think we want this upstream. A couple of remarks: * It's supposed to be possible to add ‘coding: utf-8’ to the top of .py files to make Python 2 accept that the file is UTF-8 (otherwise it gives an error on loading). However I added this and it didn't appear to make any
2018 Jun 26
2
Re: [PATCH v3] v2v: -o rhv-upload: Use Unix domain socket to access imageio (RHBZ#1588088).
On Tue, Jun 26, 2018 at 4:25 PM Richard W.M. Jones <rjones@redhat.com> wrote: > In the case where virt-v2v runs on the same server as the imageio > daemon that we are talking to, it may be possible to optimize access > using a Unix domain socket. > > This is only an optimization. If it fails or if we're not running on > the same server it will fall back to the usual
2010 May 17
0
strace log
...DONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.5/logging/copy_reg.py", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.5/logging/copy_reg.pyc", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib/python2.5/logging/__builtin__", 0x7ffffffea440) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.5/logging/__builtin__.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.5/logging/__builtin__module.so", O_RDONLY) = -1 ENOENT (No such file or directory) open(&quot...