Changeset 752 for trunk/server/lib/replace
- Timestamp:
- Nov 29, 2012, 2:06:31 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 746,748
- Property svn:mergeinfo changed
-
trunk/server/lib/replace/poll.c
r745 r752 31 31 #include "replace.h" 32 32 #include "system/select.h" 33 34 #ifdef __OS2__ 33 #ifdef HAVE_SYS_TIME_H 35 34 #include <sys/time.h> 35 #endif 36 #ifdef HAVE_SYS_IOCTL_H 36 37 #include <sys/ioctl.h> 37 38 #endif … … 45 46 nfds_t i; 46 47 47 if ( fds == NULL) {48 if ((fds == NULL) && (nfds != 0)) { 48 49 errno = EFAULT; 49 50 return -1; -
trunk/server/lib/replace/replace.h
r745 r752 803 803 #endif 804 804 805 #if !defined(getpass) 806 #ifdef REPLACE_GETPASS 807 #if defined(REPLACE_GETPASS_BY_GETPASSPHRASE) 808 #define getpass(prompt) getpassphrase(prompt) 809 #else 810 #define getpass(prompt) rep_getpass(prompt) 811 char *rep_getpass(const char *prompt); 812 #endif 813 #endif 814 #endif 815 805 816 #endif /* _LIBREPLACE_REPLACE_H */ -
trunk/server/lib/replace/system/passwd.h
r745 r752 68 68 #endif 69 69 70 #if defined(REPLACE_GETPASS) && !defined(__OS2__) 70 #if !defined(getpass) 71 #ifdef REPLACE_GETPASS 71 72 #if defined(REPLACE_GETPASS_BY_GETPASSPHRASE) 72 73 #define getpass(prompt) getpassphrase(prompt) … … 74 75 #define getpass(prompt) rep_getpass(prompt) 75 76 char *rep_getpass(const char *prompt); 77 #endif 76 78 #endif 77 79 #endif
Note:
See TracChangeset
for help on using the changeset viewer.