search for: _xopen_source

Displaying 20 results from an estimated 81 matches for "_xopen_source".

2011 Dec 13
8
[PATCH] xenpaging: remove XOPEN_SOURCE
...8a84f5337686 -r 7697ee23b08b tools/xenpaging/xenpaging.c --- a/tools/xenpaging/xenpaging.c Tue Dec 13 09:49:55 2011 +0100 +++ b/tools/xenpaging/xenpaging.c Tue Dec 13 10:22:09 2011 +0100 @@ -18,7 +18,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _XOPEN_SOURCE 600 #define _GNU_SOURCE #include <inttypes.h>
2014 Sep 18
4
[PATCH] remove _BSD_SOURCE definition
...at samsung.com> --- dos/getsetsl.c | 1 - libinstaller/fs.c | 1 - libinstaller/syslxmod.c | 1 - 3 files changed, 3 deletions(-) diff --git a/dos/getsetsl.c b/dos/getsetsl.c index 5260a2a..ba32b15 100644 --- a/dos/getsetsl.c +++ b/dos/getsetsl.c @@ -4,7 +4,6 @@ */ #define _XOPEN_SOURCE 500 /* Required on glibc 2.x */ -#define _BSD_SOURCE #include <inttypes.h> #include <string.h> #include <stddef.h> diff --git a/libinstaller/fs.c b/libinstaller/fs.c index 179629e..e5a854c 100644 --- a/libinstaller/fs.c +++ b/libinstaller/fs.c @@ -17,7 +17,6 @@ */ #define...
2016 Aug 01
4
OpenSSH 7.3p1 can't be build on Solaris 10
...configure:17356: gcc -o conftest -O3 -m64 -mtune=native -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -D_XOPEN_SOURCE -m64 -Wl,-z,now -fstack-protector-strong -pie conftest.c -lnsl -lz -lsocket >&5 In file included from /usr/include/limits.h:17:0, from /opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/limits.h:168, from /opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/in...
2002 May 20
6
3.2.2p1 build problem on Irix6.5
On Irix 6.5.15m with version 7.3 of the development tools, monitor_fdpass.c won't compile after a normal configure because SCM_RIGHTS isn't defined. In sys/socket.h it's protected by #ifdef _XOPEN_SOURCE but if I define _XOPEN_SOURCE, I get a storm of IPV6-related errors. Defining SCM_RIGHTS explicitly does allow it to build. I can't immediately figure out how to fix this properly.
2004 Jul 06
1
[LLVMdev] CommandLine.cpp:189: error: `strdup' undeclared
Hi > >Are you able to explain below meaning to me? > >#if defined(_ALL_SOURCE) \ > || (defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE_EXTENDED==1)) \ > || (__STDC__ - 0 == 0 && !defined(_POSIX_C_SOURCE)) >extern char* __cdecl strdup(const char *); >#endif /* defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE_EXTENDED == 1) */ > (RTFM) Some of the above macros and their meaning can...
2007 Feb 24
1
Bigcrypt password patch
..._LEN below). This is necessary, + * as the returned pointer points to "static data that are overwritten + * by each call", (XPG3: XSI System Interface + Headers pg 109), and + * this is a drop in replacement for crypt(); + * + * Andy Phillips <atp at mssl.ucl.ac.uk> + */ + #define _XOPEN_SOURCE 4 @@ -16,2 +46,17 @@ #include "mycrypt.h" +#include <string.h> +#include <stdlib.h> + +/* + * Max cleartext password length in segments of 8 characters this + * function can deal with (16 segments of 8 chars= max 128 character + * password). + */ + +#define MAX_PASS_LEN...
2017 Jan 15
4
OpenSSH 7.4 p1 still can't be build without patch on Solaris 10
Hi, OpenSSH 7.4 p1 still can't be build without patch on Solaris 10 (attached). Pls, may be possible to add conditional compilation/configuration to avoid manual actions before build? May be, in portable version? Otherwise seems OpenSSH stops be portable on all platforms. Thank you, WBR, Yuri. -- What is the fundamental difference between the programmer and by a fag? Fag never become
2007 Oct 23
2
beta 1.1-3 compile fails on solaris 9 sparc, cc.
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/SUNWconn/crypto/include -xjobs=4 -c file-set-size.c "/usr/include/sys/resource.h", line 126: incomplete struct/union/enum timeval: ru_utime "file-set-size.c", line 26: warning: implicit function declaration: ftruncate "file-set-size.c", line 38: warning: implicit function declaration: pwrite cc: acomp failed for
2006 Dec 08
3
build error: strerror() ...
Hi, changeset 12809 gives me this: xc_private.c: In function ‘safe_strerror’: xc_private.c:500: warning: return makes pointer from integer without a cast make[3]: *** [xc_private.o] Error 1 cheers, Gerd -- Gerd Hoffmann <kraxel@suse.de> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2005 May 22
0
[patch 04/12] make POLLRDNORM visible
According to poll(2), POLLRDNORM is only available ifdef _XOPEN_SOURCE. Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl> Index: exec/ipconfig/main.c =================================================================== --- exec.orig/ipconfig/main.c 2005-05-21 13:09:54.000000000 +0200 +++ exec/ipconfig/main.c 2005-05-21 13:18:45.000000000 +0200 @@ -1,6 +1...
2014 Sep 18
0
[PATCH] remove _BSD_SOURCE definition
...at samsung.com> --- dos/getsetsl.c | 1 - libinstaller/fs.c | 1 - libinstaller/syslxmod.c | 1 - 3 files changed, 3 deletions(-) diff --git a/dos/getsetsl.c b/dos/getsetsl.c index 5260a2a..ba32b15 100644 --- a/dos/getsetsl.c +++ b/dos/getsetsl.c @@ -4,7 +4,6 @@ */ #define _XOPEN_SOURCE 500 /* Required on glibc 2.x */ -#define _BSD_SOURCE #include <inttypes.h> #include <string.h> #include <stddef.h> diff --git a/libinstaller/fs.c b/libinstaller/fs.c index 179629e..e5a854c 100644 --- a/libinstaller/fs.c +++ b/libinstaller/fs.c @@ -17,7 +17,6 @@ */ #define...
2003 Apr 21
1
Using on AIX
Hi, I'm trying to install dovecot-0.99.9-test6 with gcc-3.2.2 under AIX (4.3.3) and found some problems. First, I need to define _XOPEN_SOURCE_EXTENDED to 1 in src/lib/fdpass.c and src/auth/mycrypt.c or undefine it to compile successfully. When I define _XOPEN_SOURCE_EXTENDED to 1, I get the following error while connecting: dovecot: Apr 21 17:56:44 Info: Dovecot starting up imap-login: Apr 21 17:57:19 Fatal: fd_send(5) failed: Bad file...
2014 Sep 25
3
[PATCH] define _DEFAULT_SOURCE for glibc-2.20
...k at samsung.com> --- dos/getsetsl.c | 2 ++ libinstaller/fs.c | 2 ++ libinstaller/syslxmod.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/dos/getsetsl.c b/dos/getsetsl.c index 5260a2a..c6e6ae7 100644 --- a/dos/getsetsl.c +++ b/dos/getsetsl.c @@ -5,6 +5,8 @@ #define _XOPEN_SOURCE 500 /* Required on glibc 2.x */ #define _BSD_SOURCE +/* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */ +#define _DEFAULT_SOURCE 1 #include <inttypes.h> #include <string.h> #include <stddef.h> diff --git a/libinstaller/fs.c b/libinstaller/fs.c index 179629e.....
2014 Sep 24
0
[PATCH] remove _BSD_SOURCE definition
On Thu, Sep 18, 2014 at 12:34 AM, Chanho Park <chanho61.park at samsung.com> wrote: > The _BSD_SOURCE was deprecated since glibc-2.20. _DEFAULT_SOURCE can be > used instead of _BSD_SOURCE. However, there is no need to include > _BSD_SOURCE because the sources only have inline functions and calls > memcmp/cpy functions. Testing this myself on my build boxes, I see no issue. The
2007 Jul 14
3
Strange C programming problem
I've got this little program I wrote to test something, and it keeps giving the wrong result. I'm not inexperienced in C, but I can't believe strtof (et al) are broken, so I must be doing something wrong. However, I've spent hours looking at this and comparing it to the man pages and don't see what I'm doing wrong. strtod() and strtold() also give equally wrong results.
2012 Sep 12
3
[RFC][PATCH] Btrfs-progs: Fix compiler warnings on PPC64.
....c | 1 + kerncompat.h | 6 ++++++ mkfs.c | 1 + 5 files changed, 11 insertions(+), 0 deletions(-) diff --git a/cmds-receive.c b/cmds-receive.c index a8be6fa..6cb51fe 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -20,6 +20,7 @@ #define _POSIX_C_SOURCE 200809 #define _XOPEN_SOURCE 700 #define _BSD_SOURCE +#define __KERNEL__ #include <unistd.h> #include <stdint.h> diff --git a/cmds-scrub.c b/cmds-scrub.c index 24be20f..7f6aa68 100644 --- a/cmds-scrub.c +++ b/cmds-scrub.c @@ -16,6 +16,8 @@ * Boston, MA 021110-1307, USA. */ +#define __KERNEL__ + #include...
2003 Apr 08
2
OpenSSH 3.6.1p1 on NCR MP-RAS v4.3, several weird terminal problems
...1p1-customized/includes.h *** openssh-3.6.1p1/includes.h Sun Oct 20 20:50:26 2002 --- openssh-3.6.1p1-customized/includes.h Mon Apr 7 17:32:04 2003 *************** *** 104,110 **** --- 104,114 ---- #ifdef HAVE_SYS_TIME_H # include <sys/time.h> /* For timersub */ #endif + #define _XOPEN_SOURCE + #define _XOPEN_SOURCE_EXTENDED 1 #include <sys/resource.h> + #undef _XOPEN_SOURCE_EXTENDED + #undef _XOPEN_SOURCE #ifdef HAVE_SYS_SELECT_H # include <sys/select.h> #endif Other than that, things *appeared* to compile and install fine. Then I logged in to this NCR MP-RAS mach...
2002 May 29
2
OpenSSH 3.2.3p1 won't compile under IRIX 6.5.14
Previously 3.2.2 would not compile under Solaris, then 3.2.3 came out with a bug fix for the problem. Now 3.2.3 won't compile under IRIX 6.5.14. I've tried using both gcc 3.0.1 and the IRIX MIPSpro 7.1 compilers. I've been compiling previous versions of OpenSSH for years using these same compilers (we haven't updated the MIPSpro compiler for 3 years, and I've been using it on
2004 Aug 06
0
solved: building icecast2 on OpenBSD
Hi, <p>the following steps are necessary to successfully compile Icecast2 (as of today) on OpenBSD. This workaround is based on Karl Heyes' findings that _XOPEN_SOURCE is the root of all evil, at least on OBSD: 1. "autoconf version problems" OpenBSD 3.2: change all "autoconf" in autogen.sh to "autoconf-new" OpenBSD 3.3: $ export AUTOCONF_VERSION=2.52 2. configure.in line 14: replace _XOPEN_SOURCE with _XOPEN_SOURCE_EXTENDED...
2002 Jun 20
0
[Bug 280] New: make failed on IRIX - SCM_RIGHTS unknown
...cmsg_type = SCM_RIGHTS; ^ cc-1020 cc: ERROR File = monitor_fdpass.c, Line = 117 The identifier "SCM_RIGHTS" is undefined. if (cmsg->cmsg_type != SCM_RIGHTS) ^ I checked /usr/include/sys/socket.h and found: ... #ifdef _XOPEN_SOURCE /* "Socket"-level control message types: */ #define SCM_RIGHTS 0x01 /* access rights (array of int) */ #endif /* _XOPEN_SOURCE */ ... Thus I tried this cc command with an additional -D_XOPEN_SOURCE, but this fails with a lot more (21) errors like: "ulong is undefined...