File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ int main(int argc, char **argv)
42
42
exit(result);
43
43
}
44
44
],[
45
- ac_cv_flush_io= " no "
45
+ ac_cv_flush_io= no
46
46
],[
47
- ac_cv_flush_io= " yes"
47
+ ac_cv_flush_io= yes
48
48
],[
49
- ac_cv_flush_io= " no "
49
+ ac_cv_flush_io= no
50
50
])])
51
51
if test " $ac_cv_flush_io " = " yes" ; then
52
52
AC_DEFINE(HAVE_FLUSHIO, 1, [Define if flush should be called explicitly after a buffered io.])
@@ -159,12 +159,12 @@ main() {
159
159
160
160
main () {
161
161
# if HAVE_CRYPT
162
- char salt[25 ], answer[70];
162
+ char salt[30 ], answer[70];
163
163
164
164
salt[0]=' $' ; salt[1]=' 2' ; salt[2]=' a' ; salt[3]=' $' ; salt[4]=' 0' ; salt[5]=' 7' ; salt[6]=' $' ; salt[7]=' \0' ;
165
- strcat(salt," rasmuslerd" );
165
+ strcat(salt," rasmuslerd............ " );
166
166
strcpy(answer,salt);
167
- strcpy(& answer[16 ]," O............gl95GkTKn53Of.H4YchXl5PwvvW.5ri " );
167
+ strcpy(& answer[29 ]," nIdrcHdxcUxWomQX9j6kvERCFjTg7Ra " );
168
168
exit (strcmp(( char * )crypt("rasmuslerdorf", salt), answer)) ;
169
169
# else
170
170
exit(0);
You can’t perform that action at this time.
0 commit comments