Displaying 20 results from an estimated 44 matches for "_posix_c_source".
Did you mean:
d_posix_c_source
2019 Aug 09
0
[PATCH] Switch to utimensat for newer POSIX versions
...+++++--
3 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/include/share/compat.h b/include/share/compat.h
index f3041655..a063c083 100644
--- a/include/share/compat.h
+++ b/include/share/compat.h
@@ -112,9 +112,13 @@
#include <sys/utime.h> /* for utime() */
#endif
#else
+#if _POSIX_C_SOURCE >= 200809L
+#include <fcntl.h>
+#else
#include <sys/types.h> /* some flavors of BSD (like OS X) require this to get time_t */
#include <utime.h> /* for utime() */
#endif
+#endif
#if defined _MSC_VER
# if _MSC_VER >= 1800
@@ -160,11 +164,15 @@
#define flac_fopen fo...
2019 Mar 18
2
compile question on CentOS 7
I am trying to use the fnmatch() function in a C program and pass as the
3rd arg (options) of case insensitive search...
When I use the value FNM_CASEFOLD it does not work...
I'm confused on what to send to fnmatch() to do a case insensitive search.
Any pointers ? Thanks.
Jerry
2016 Aug 01
4
OpenSSH 7.3p1 can't be build on Solaris 10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
configure:17280: result: no
configure:17300: checking for mblen
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
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 be found in Interix'
UNIX Application Migration Guide, chapter 10. An excerpt:
"To add or isolate...
2004 Jul 15
2
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...0xffffffff /* max value for unsigned int */
#define LONG_MIN (-2147483647L-1) /* minimum (signed) long */
#define LONG_MAX 2147483647L /* maximum (signed) long */
#define ULONG_MAX 0xffffffffUL /* maximum unsigned long */
#if defined(_ALL_SOURCE) \
|| (__STDC__ - 0 == 0) && !defined(_POSIX_C_SOURCE) \
&& !defined(_XOPEN_SOURCE)
/*
* Minimum and maximum values for 64-bit types
* Define all the various well-known flavors of symbols
*
*/
#define ULLONG_MAX ((u_quad_t)0-1) /* 0xffffffffffffffff */
#define LLONG_MAX ((quad_t)(ULLONG_MAX>>1)) /* 0x7fffffff...
2008 May 29
0
xproto-7.0.13
...:
Use winsock2.h
Use Sleep() instead of sleep() on windows
James Cloos (2):
Fix typo in XF86Keysym.h
Add more dead key syms
Jeremy Huddleston (3):
Apple: Cleaned up some Apple definitions
Apple: Define _DARWIN_C_SOURCE otherwise _XOPEN_SOURCE, _POSIX_SOURCE, or _POSIX_C_SOURCE will cause fd_mask to not be defined due to the strict namespace
Apple: Added a comment to explain _DARWIN_C_SOURCE
Markus Kuhn (1):
Added comment to slightly discourage the definition of ever more Unicode keysyms
Peter Hutterer (2):
Add GenericEvent and xGenericEvent definition...
2004 Jul 05
0
[LLVMdev] CommandLine.cpp:189: error: `strdup' undeclared
...;t belong to the ordinary function prototypes
as extern char * __cdecl strcpy(char *, const char *);.
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) */
My version of GCC is Interix gcc 3.3.
/Henrik
_________________________________________________________________
F� alle de nye og sjove ikoner med MSN Messenger http://www.m...
2004 Jul 14
0
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...0xffffffff /* max value for unsigned int */
#define LONG_MIN (-2147483647L-1) /* minimum (signed) long */
#define LONG_MAX 2147483647L /* maximum (signed) long */
#define ULONG_MAX 0xffffffffUL /* maximum unsigned long */
#if defined(_ALL_SOURCE) \
|| (__STDC__ - 0 == 0) && !defined(_POSIX_C_SOURCE) \
&& !defined(_XOPEN_SOURCE)
/*
* Minimum and maximum values for 64-bit types
* Define all the various well-known flavors of symbols
*
*/
#define ULLONG_MAX ((u_quad_t)0-1) /* 0xffffffffffffffff */
#define LLONG_MAX ((quad_t)(ULLONG_MAX>>1)) /* 0x7fffffff...
2003 May 09
1
building R 1.7.0 with gcc 3.2.3 on Solaris
With gcc 3.2.3 on SunOS 5.8 and R 1.7.0, configure fails for me unless I
set LDFLAGS ( LDFLAGS=-L/apps/asd/unix/gnu/gcc/3.2.3/SunOS5.8/lib ).
With that set it appears that configure succeeds (i.e. no error messages
on the console), but config.log contains messages
configure:4099: checking for gcc option to accept ANSI C
configure:4160: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
2004 Jul 15
0
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...gned int */
>
> #define LONG_MIN (-2147483647L-1) /* minimum (signed) long */
> #define LONG_MAX 2147483647L /* maximum (signed) long */
> #define ULONG_MAX 0xffffffffUL /* maximum unsigned long */
>
> #if defined(_ALL_SOURCE) \
> || (__STDC__ - 0 == 0) && !defined(_POSIX_C_SOURCE) \
> && !defined(_XOPEN_SOURCE)
> /*
> * Minimum and maximum values for 64-bit types
> * Define all the various well-known flavors of symbols
> *
> */
> #define ULLONG_MAX ((u_quad_t)0-1) /* 0xffffffffffffffff */
> #define LLONG_MAX ((quad...
2007 Sep 04
1
CPAN error
...e 33.
Constant subroutine __USE_REENTRANT undefined at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/features.ph line 23, <STDIN>
line 33.
Constant subroutine _POSIX_SOURCE undefined at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/features.ph line 48, <STDIN>
line 33.
Constant subroutine _POSIX_C_SOURCE undefined at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/features.ph line 50, <STDIN>
line 33.
Constant subroutine _XOPEN_SOURCE undefined at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/features.ph line 52, <STDIN>
line 33.
Constant subroutine _XOPEN_SOURCE_EXTENDED undefined at
/usr/...
2012 Sep 12
3
[RFC][PATCH] Btrfs-progs: Fix compiler warnings on PPC64.
...mds-scrub.c | 2 ++
convert.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.
*/
+...
2019 Jul 03
1
[libnbd PATCH] tests: Make errors more robust under load
When run under valgrind, the 'errors' test would sometimes fail
because a single NBD_CMD_WRITE managed to actually send() the entire
packet to the server without blocking the state machine. To make
things more robust, switch to a server which is serialized (memory is
parallel, but sh is serial), and which intentionally does not read a
second command until the first is processed, then
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
...RETSIGTYPE
SEEKDIR_RETURNS_VOID
SIZEOF_INT
SIZEOF_LONG
SIZEOF_SHORT
STAT_STATVFS64
STAT_ST_BLOCKSIZE
STDC_HEADERS
STRING_STATIC_MODULES
SYSCONF_SC_NGROUPS_MAX
TIME_WITH_SYS_TIME
USE_SETREUID
WITH_AIO
WITH_SENDFILE
WITH_SYSLOG
WITH_WINBIND
WORDS_BIGENDIAN
_POSIX_C_SOURCE
_POSIX_SOURCE
charset_CP437_init
charset_CP850_init
inline
loff_t
static_init_auth
static_init_charset
static_init_idmap
static_init_pdb
static_init_rpc
static_init_vfs
vfs_audit_init
vfs_cap_init
vfs_default_quota_init
vfs_expand_msdfs_init
vfs_extd_...
2007 Sep 24
2
Where is the tdbsam password database file?
...X
SYSCONF_SC_NPROCESSORS_ONLN
SYSCONF_SC_PAGESIZE
TIME_WITH_SYS_TIME
USE_SETRESUID
WITH_ADS
WITH_AUTOMOUNT
WITH_CIFSMOUNT
WITH_PAM
WITH_PAM_MODULES
WITH_QUOTAS
WITH_SENDFILE
WITH_SYSLOG
WITH_WINBIND
_FILE_OFFSET_BITS
_GNU_SOURCE
_LARGEFILE64_SOURCE
_POSIX_C_SOURCE
_POSIX_SOURCE
_XOPEN_SOURCE_EXTENDED
auth_script_init
charset_CP437_init
charset_CP850_init
idmap_ad_init
idmap_rid_init
offset_t
static_decl_auth
static_decl_charset
static_decl_idmap
static_decl_nss_info
static_decl_pdb
static_decl_rpc
static_decl_vfs...
2005 May 07
0
force group broken in 3.0.14?
..._SHORT
STAT_STATVFS64
STAT_ST_BLOCKSIZE
STDC_HEADERS
STRING_STATIC_MODULES
SYSCONF_SC_NGROUPS_MAX
TIME_WITH_SYS_TIME
USE_SETRESUID
WITH_ADS
WITH_PAM
WITH_QUOTAS
WITH_SENDFILE
WITH_SMBMOUNT
WITH_SYSLOG
WITH_WINBIND
_FILE_OFFSET_BITS
_GNU_SOURCE
_LARGEFILE64_SOURCE
_POSIX_C_SOURCE
_POSIX_SOURCE
charset_CP437_init
charset_CP850_init
idmap_rid_init
offset_t
static_init_auth
static_init_charset
static_init_idmap
static_init_pdb
static_init_rpc
static_init_vfs
vfs_audit_init
vfs_cap_init
vfs_default_quota_init
vfs_expand_msdfs_init
vfs_extd_audit_...
2017 Jun 08
0
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
...NF_SC_PAGESIZE
SYSLOG_FACILITY
TIME_T_MAX
TIME_WITH_SYS_TIME
USE_SETEUID
WITH_ADS
WITH_AIO
WITH_CIFSMOUNT
WITH_PAM
WITH_PAM_MODULES
WITH_PROFILE
WITH_QUOTAS
WITH_SENDFILE
WITH_SYSLOG
WITH_WINBIND
_FILE_OFFSET_BITS
_GNU_SOURCE
_LARGEFILE64_SOURCE
_POSIX_C_SOURCE
_POSIX_SOURCE
auth_script_init
charset_CP437_init
charset_CP850_init
idmap_rid_init
offset_t
static_decl_auth
static_decl_charset
static_decl_gpext
static_decl_idmap
static_decl_nss_info
static_decl_pdb
static_decl_perfcount
static_decl_rpc
static_decl_v...
2007 Jun 05
1
Samba unable to connect to ldap
...STDC_HEADERS
STRING_STATIC_MODULES
SYSCONF_SC_NGROUPS_MAX
SYSCONF_SC_NPROCESSORS_ONLN
SYSCONF_SC_PAGESIZE
TIME_WITH_SYS_TIME
USE_SETRESUID
WITH_ADS
WITH_CIFSMOUNT
WITH_QUOTAS
WITH_SENDFILE
WITH_WINBIND
_FILE_OFFSET_BITS
_GNU_SOURCE
_LARGEFILE64_SOURCE
_POSIX_C_SOURCE
_POSIX_SOURCE
_XOPEN_SOURCE_EXTENDED
auth_script_init
charset_CP437_init
charset_CP850_init
offset_t
static_decl_auth
static_decl_charset
static_decl_idmap
static_decl_nss_info
static_decl_pdb
static_decl_rpc
static_decl_vfs
static_init_auth
static_init_...
2011 Dec 13
8
[PATCH] xenpaging: remove XOPEN_SOURCE
# HG changeset patch
# User Roger Pau Monne <roger.pau@entel.upc.edu>
# Date 1323768129 -3600
# Node ID 7697ee23b08b8eaca9aee4f6b79cf550a490bef7
# Parent 8a84f53376862427f254a017cb52c928dbdd3d32
xenpaging: remove XOPEN_SOURCE
The XOPEN_SOURCE define was breaking the compilation under NetBSD.
I''ve removed it becasue it is not necessary (at least under NetBSD).
If it is necessary
2007 Jul 17
2
swfdec new version
Hi,
Firstly thanks for great job done with swfdec.
I had recognized swfdec at gtk.org site. Last week i decided to integrate
it to gtk+webcore browser.
And i successfully did it with version 0.4.5
Even thought it is integrated and works fine there are some problems with
swfdec. I want to ask some questions about it. Also yesterday i saw the last
release 0.5 And i have some questions about it.