Changeset 247 for trunk/src/sh_hash.c
- Timestamp:
- Sep 17, 2009, 10:22:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_hash.c
r227 r247 820 820 } 821 821 822 sh_fin_fd = fdopen( get_the_fd(fd), "rb");822 sh_fin_fd = fdopen(dup(get_the_fd(fd)), "rb"); 823 823 if (!sh_fin_fd) 824 824 { … … 1128 1128 #if defined(WITH_GPG) || defined(WITH_PGP) 1129 1129 extern int get_the_fd (SL_TICKET ticket); 1130 FILE * fin_cp ;1130 FILE * fin_cp = NULL; 1131 1131 1132 1132 char * buf = NULL; … … 1243 1243 fdTmp = open_tmp(); 1244 1244 1245 fin_cp = fdopen( get_the_fd(fd), "rb");1245 fin_cp = fdopen(dup(get_the_fd(fd)), "rb"); 1246 1246 buf = SH_ALLOC(FGETS_BUF); 1247 1247
Note:
See TracChangeset
for help on using the changeset viewer.