Displaying 9 results from an estimated 9 matches for "__malloc__".
Did you mean:
__malloc
2023 Feb 15
2
[libnbd PATCH v3 02/29] generator/C.ml: use space consistently in func. and func.-like macro calls
...;#if defined(__GNUC__) && LIBNBD_GCC_VERSION >= 120000 /* gcc >= 12.0 */\n";
+ pr "#if defined (__GNUC__) && LIBNBD_GCC_VERSION >= 120000 /* gcc >= 12.0 */\n";
pr "#define LIBNBD_ATTRIBUTE_ALLOC_DEALLOC(fn) \\\n";
- pr " __attribute__((__malloc__, __malloc__(fn, 1)))\n";
+ pr " __attribute__ ((__malloc__, __malloc__ (fn, 1)))\n";
pr "#else\n";
pr "#define LIBNBD_ATTRIBUTE_ALLOC_DEALLOC(fn)\n";
pr "#endif\n";
@@ -454,7 +454,7 @@ let
pr "#define LIBNBD_HAVE_NBD_CLOSE 1\n";...
2015 Feb 17
2
[LLVMdev] [PATCH 1/2 v3] configure: add visibility macro detection to configure
...\
> #define PRINTFLIKE(f, a)
> #endif
>
> +#ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY
> +#define HIDDEN __attribute__((visibility("hidden")))
> +#else
> +#define HIDDEN
> +#endif
> +
> #ifdef HAVE_FUNC_ATTRIBUTE_MALLOC
> #define MALLOCLIKE __attribute__((__malloc__))
> #else
> --
> 2.2.2
>
2007 Oct 18
0
[PATCH] Use credentials and permissions on control socket where available
...l_common.h | 1 +
src/tincctl.c | 38 ++++++++++++++++++++++++++++++++++----
4 files changed, 47 insertions(+), 7 deletions(-)
diff --git a/configure.in b/configure.in
index 670e855..6b13eb3 100644
--- a/configure.in
+++ b/configure.in
@@ -114,7 +114,7 @@ AC_STRUCT_TM
tinc_ATTRIBUTE(__malloc__)
-AC_CHECK_TYPES([socklen_t, struct ether_header, struct arphdr, struct ether_arp, struct in_addr, struct addrinfo, struct ip, struct icmp, struct in6_addr, struct sockaddr_in6, struct ip6_hdr, struct icmp6_hdr, struct nd_neighbor_solicit, struct nd_opt_hdr], , ,
+AC_CHECK_TYPES([socklen_t, struc...
2015 Feb 17
7
[LLVMdev] [PATCH 0/2 v3] add visibility hidden to tls entry points
Patch 1 adds a check for the compilers visibility macro to configure.ac.
Patch 2 avoids redefined symbol errors in clang of the tls entry points.
Based on a suggestion from Rafael Ávila de Espíndola <rafael.espindola at gmail.com>
in http://llvm.org/bugs/show_bug.cgi?id=19778.
Tested with gcc 4.9 and clang 3.6(rc)
Marc Dietrich (2):
configure: add visibility macro detection to configure
2009 May 15
2
Trouble with Tinc at make level
...6.h... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working __malloc__ attribute... no
checking for socklen_t... yes
checking for struct ether_header... yes
checking for struct arphdr... yes
checking for struct ether_arp... yes
checking for struct in_addr... yes
checking for struct addrinfo... yes
checking for struct ip... yes
checking for struct icmp... yes
checking...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not
allocating RBP to any virtual register, the instances of RBP in function
foo are in the machine code when my register allocator starts.)
Function foo calls function bar. Register RBP is not saved across the
call, though it is live after the call. Function bar includes a virtual
register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...ibute__ ((__nothrow__));
extern FILE *tmpfile (void);
extern char *tmpnam (char *__s) __attribute__ ((__nothrow__));
extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__));
extern char *tempnam (__const char *__dir, __const char *__pfx)
__attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
extern int fclose (FILE *__stream);
extern int fflush (FILE *__stream);
extern int fflush_unlocked (FILE *__stream);
extern FILE *fopen (__const char *__restrict __filename,
__const char *__restrict __modes);
extern FILE *freopen (__const char *__restrict __filename,
__const cha...
2003 Aug 04
1
OpenBSD 3.2 and Release 1
...6.h... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be
included... yes
checking whether struct tm is in sys/time.h or
time.h... time.h
checking for working __malloc__ attribute... no
checking for socklen_t... yes
checking for struct arphdr... yes
checking for struct ether_arp... yes
checking for struct in_addr... yes
checking for struct addrinfo... yes
checking for struct ip... yes
checking for struct icmp... yes
checking for struct in6_addr... yes
checking for...
2007 Jul 21
2
tincctl patches
(Second try to send this. I wonder if the first one gotten eaten by a
spam filter; I'll link to patches instead of attaching them.)
Here are the tincctl patches I've been working on. They apply to
http://www.tinc-vpn.org/svn/tinc/branches/1.1@1545. I intend to commit
them once the crypto stuff's fixed. Since they're basically done, I'm
emailing them now for review and in case