aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/rndunix.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-02-16 13:16:33 +0000
committerWerner Koch <[email protected]>1999-02-16 13:16:33 +0000
commite1a1b3fc90af66a5db5ee92514b0a7c52e49d1ed (patch)
tree31dd54ac26b4c3fc30cc93d66161e72bf4cf7927 /cipher/rndunix.c
parentSee ChangeLog: Sat Feb 13 14:13:04 CET 1999 Werner Koch (diff)
downloadgnupg-e1a1b3fc90af66a5db5ee92514b0a7c52e49d1ed.tar.gz
gnupg-e1a1b3fc90af66a5db5ee92514b0a7c52e49d1ed.zip
See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner Koch
Diffstat (limited to 'cipher/rndunix.c')
-rw-r--r--cipher/rndunix.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cipher/rndunix.c b/cipher/rndunix.c
index 0132cd901..b7381a55c 100644
--- a/cipher/rndunix.c
+++ b/cipher/rndunix.c
@@ -401,11 +401,8 @@ slow_poll(FILE *dbgfp, int dbgall, size_t *nbytes )
fd_set fds;
#if defined( __hpux )
size_t maxFD = 0;
- int pageSize = 4096; /* PHUX doesn't have getpagesize() */
- #elif defined( _M_XENIX ) || defined( __aux )
- int maxFD = 0, pageSize = 4096;/* Nor do others, but they get fd right */
#else
- int maxFD = 0, pageSize = getpagesize();
+ int maxFD = 0;
#endif /* OS-specific brokenness */
int bufPos, i, usefulness = 0;