search for: _dup2

Displaying 20 results from an estimated 29 matches for "_dup2".

Did you mean: dup2
2011 Oct 16
0
[LLVMdev] llvm and stream error
Here is the code of the functions: int getStream()     {            int fd = _dup(fileno(stdout));            freopen("tmp","w",stdout);            return fd;     } void freeStream(int fd) {        _dup2(fd,fileno(stdout));        close(fd); } The code of main program: printf(“start tets”); int fd = getStream(); printf(“redirection”); freeStream(fd); This is a part of large program which uses llvm The problem I get after freeStream(fd): LLVM ERROR: IO failure on output stream. I understand that...
2010 Jan 22
0
Wine release 1.1.37
...sprintf_s. comctl32/listview: Issue LVM_DELETEALLITEMS from WM_DESTROY. kernel32: Return error on second attempt to free a module. netapi31: Add basic support for NetServerGetInfo. msi: Correct the setting of environment variables. Jeff Zaroyko (2): msvcrt/tests: Test _dup2 for failure when second arg is negative. msvcrt: Check if argument passed to _dup2 is positive. Juan Lang (1): secur32: Report an error if libgnutls isn't found. Julius Schwartzenberg (7): avifil32/tests: Initial test data and simple test for avifil32. avifil32/tests:...
2020 Aug 20
0
[PATCH nbdkit 12/13] wrapper: Port the wrapper to run on Windows.
...iff --git a/common/utils/windows-compat.h b/common/utils/windows-compat.h index 74241a19..0fcb20d2 100644 --- a/common/utils/windows-compat.h +++ b/common/utils/windows-compat.h @@ -103,6 +103,9 @@ extern int win_send (int fd, const void *buf, size_t len, int flags); #define dup _dup #define dup2 _dup2 +/* setenv replacement. */ +#define setenv(k, v, replace) _putenv_s ((k), (v)); + /* Unfortunately quite commonly used at the moment. Make it a common * macro so we can easily find places which need porting. * diff --git a/server/fuzzer.c b/server/fuzzer.c index c28a1798..4bbb0061 100644 --...
2002 Dec 25
1
Trouble installing samba
...gt; checking for strcasecmp... no > checking for fcvt... no > checking for fcvtl... no > checking for symlink... no > checking for readlink... no > checking for syslog... no > checking for vsyslog... no > checking for syscall... no > checking for _dup... no > checking for _dup2... no > checking for _opendir... no > checking for _readdir... no > checking for _seekdir... no > checking for _telldir... no > checking for _closedir... no > checking for __dup... no > checking for __dup2... no > checking for __opendir... no > checking for __readdir... n...
1999 Oct 26
0
Solaris 7 not compiling HEAD code
...no checking for yp_get_default_domain... yes checking for getpwanam... no checking for srandom... yes checking for random... yes checking for srand... yes checking for rand... yes checking for setenv... no checking for mmap64... yes checking for syscall... yes checking for _dup... yes checking for _dup2... yes checking for _opendir... yes checking for _readdir... yes checking for _seekdir... yes checking for _telldir... yes checking for _closedir... yes checking for __dup... no checking for __dup2... no checking for __opendir... no checking for __readdir... no checking for __seekdir... no checking...
2001 Nov 07
1
Configuring 2.2.2 (or 2.0.7) on Digital Unix 4.0f fails - "No locking"
...for srand... yes checking for rand... yes checking for setenv... yes checking for usleep... yes checking for strcasecmp... yes checking for fcvt... yes checking for fcvtl... no checking for symlink... yes checking for readlink... yes checking for syscall... yes checking for _dup... no checking for _dup2... no checking for _opendir... no checking for _readdir... no checking for _seekdir... no checking for _telldir... no checking for _closedir... no checking for __dup... yes checking for __dup2... yes checking for __opendir... yes checking for __readdir... yes checking for __seekdir... yes checking...
2002 Oct 21
1
compilation probs...
...cking for setenv... no checking for usleep... no checking for strcasecmp... no checking for fcvt... no checking for fcvtl... no checking for symlink... no checking for readlink... no checking for syslog... no checking for vsyslog... no checking for syscall... no checking for _dup... no checking for _dup2... no checking for _opendir... no checking for _readdir... no checking for _seekdir... no checking for _telldir... no checking for _closedir... no checking for __dup... no checking for __dup2... no checking for __opendir... no checking for __readdir... no checking for __seekdir... no checking for _...
2002 Oct 29
1
Problem running ./configure
...cking for setenv... no checking for usleep... no checking for strcasecmp... no checking for fcvt... no checking for fcvtl... no checking for symlink... no checking for readlink... no checking for syslog... no checking for vsyslog... no checking for syscall... no checking for _dup... no checking for _dup2... no checking for _opendir... no checking for _readdir... no checking for _seekdir... no checking for _telldir... no checking for _closedir... no checking for __dup... no checking for __dup2... no checking for __opendir... no checking for __readdir... no checking for __seekdir... no checking for _...
2003 Jun 02
2
./configure --with-pam fails allways
...hecking for fcvt configure:5809: checking for fcvtl configure:5809: checking for symlink configure:5809: checking for readlink configure:5864: checking for syslog configure:5864: checking for vsyslog configure:5921: checking for syscall configure:5977: checking for _dup configure:5977: checking for _dup2 configure:5977: checking for _opendir configure:5977: checking for _readdir configure:5977: checking for _seekdir configure:5977: checking for _telldir configure:5977: checking for _closedir configure:6032: checking for __dup configure:6032: checking for __dup2 configure:6032: checking for __opendi...
2002 Nov 21
0
please can someone help me?
...r setenv... no checking for usleep... yes checking for strcasecmp... yes checking for fcvt... yes checking for fcvtl... no checking for symlink... yes checking for readlink... yes checking for syslog... yes checking for vsyslog... no checking for syscall... yes checking for _dup... yes checking for _dup2... yes checking for _opendir... yes checking for _readdir... yes checking for _seekdir... yes checking for _telldir... yes checking for _closedir... yes checking for __dup... no checking for __dup2... no checking for __opendir... yes checking for __readdir... no checking for __seekdir... no checkin...
2002 Jul 26
1
creating unicode_map.437 and unicode_map.ISO8859-1?
Hello, I am running HP-UX 11 with Samba 2.2.5 binaries for HPUX and I keep getting the error that Samba can't find the unicode_map.xxx file. Well, I notice that all I have in /usr/local/samba/lib/codepages is codepage type files, not unicode. Why do the binaries not include a compiled make_unicodemap? I did download the source and found the .c file for the command. When I try to run
2002 Oct 11
0
[Fwd: samba-2.2.5 in Tru64 unix v4.0e]
...s checking for fcvt... (cached) yes checking for fcvtl... (cached) no checking for symlink... (cached) yes checking for readlink... (cached) yes checking for syslog... (cached) yes checking for vsyslog... (cached) no checking for syscall... (cached) yes checking for _dup... (cached) no checking for _dup2... (cached) no checking for _opendir... (cached) no checking for _readdir... (cached) no checking for _seekdir... (cached) no checking for _telldir... (cached) no checking for _closedir... (cached) no checking for __dup... (cached) yes checking for __dup2... (cached) yes checking for __opendir... (...
2001 Jan 26
10
Please Help
I've downloaded the binary Samba 2.0.7 for AIX. I have no idea how to install this critter. Can anyone walk me thru this step by step? I think once i have it running, I'll be able to configure it based on the info at samba.org. It's just getting it running that troubles me. I have some experience with *nix, but not with compliling (sorry, no C compliler on system) and installing
2002 Jul 01
5
./configure --with-pam
...checking for fcvt... (cached) yes checking for fcvtl... (cached) no checking for symlink... (cached) yes checking for readlink... (cached) yes checking for syslog... (cached) yes checking for vsyslog... (cached) yes checking for syscall... (cached) yes checking for _dup... (cached) no checking for _dup2... (cached) no checking for _opendir... (cached) no checking for _readdir... (cached) no checking for _seekdir... (cached) no checking for _telldir... (cached) no checking for _closedir... (cached) no checking for __dup... (cached) no checking for __dup2... (cached) yes checking for __opendir... (c...
2004 Jan 15
2
Installation Problem !!!
...ing for vsyslog... yes checking for timegm... yes checking for setlocale... yes checking for nl_langinfo... yes checking for setbuffer... yes checking for shmget... yes checking for shm_open... no checking for backtrace_symbols... yes checking for syscall... yes checking for _dup... no checking for _dup2... no checking for _opendir... no checking for _readdir... no checking for _seekdir... no checking for _telldir... no checking for _closedir... no checking for __dup... no checking for __dup2... yes checking for __opendir... no checking for __readdir... no checking for __seekdir... no checking for...
2002 May 06
1
A make problem with Samba 2.2.4
...r setenv... yes checking for usleep... yes checking for strcasecmp... yes checking for fcvt... yes checking for fcvtl... no checking for symlink... yes checking for readlink... yes checking for syslog... yes checking for vsyslog... no checking for syscall... yes checking for _dup... no checking for _dup2... no checking for _opendir... no checking for _readdir... no checking for _seekdir... no checking for _telldir... no checking for _closedir... no checking for __dup... yes checking for __dup2... yes checking for __opendir... yes checking for __readdir... yes checking for __seekdir... yes checking...
2005 Aug 10
2
Compiling smbtorture
...s checking for shmget... yes checking for shm_open... no checking for backtrace_symbols... yes checking libexc.h usability... no checking libexc.h presence... no checking for libexc.h... no checking for trace_back_stack in -lexc... no checking for syscall... yes checking for _dup... no checking for _dup2... no checking for _opendir... no checking for _readdir... no checking for _seekdir... no checking for _telldir... no checking for _closedir... no checking for __dup... no checking for __dup2... yes checking for __opendir... no checking for __readdir... no checking for __seekdir... no checking for...
2018 Dec 06
3
Build error while upgrading samba 4.9.3
...ound Checking for macro _dup : not found Checking for __dup : not found Checking for macro __dup : not found Checking for _dup2 : not found Checking for macro _dup2 : not found Checking for __dup2 : ok Checking for endmntent...
2008 Jul 08
0
Report this to samba-technical@samba.org, ldap_initialize error
...ibexc.h... no checking libunwind.h usability... no checking libunwind.h presence... no checking for libunwind.h... no checking for backtrace_symbols... no checking for trace_back_stack in -lexc... no checking for GPFS GPL libs... no checking for libunwind... no checking for _dup... yes checking for _dup2... yes checking for _opendir... yes checking for _readdir... yes checking for _seekdir... yes checking for _telldir... yes checking for _closedir... yes checking for __dup... no checking for __dup2... no checking for __opendir... no checking for __readdir... no checking for __seekdir... no checking...
2003 Jan 28
1
can't create user entries in smbpasswd
...checking for fcvt... (cached) yes checking for fcvtl... (cached) no checking for symlink... (cached) yes checking for readlink... (cached) yes checking for syslog... (cached) yes checking for vsyslog... (cached) yes checking for syscall... (cached) yes checking for _dup... (cached) yes checking for _dup2... (cached) yes checking for _opendir... (cached) yes checking for _readdir... (cached) yes checking for _seekdir... (cached) yes checking for _telldir... (cached) yes checking for _closedir... (cached) yes checking for __dup... (cached) no checking for __dup2... (cached) no checking for __opendir....