View | Details | Raw Unified | Return to bug 52627
Collapse All | Expand All

(-)a/native/src/info.c (+5 lines)
Lines 223-228 TCN_IMPLEMENT_CALL(jint, File, stat)(TCN_STDARGS, jobject finfo, Link Here
223
    TCN_ALLOC_CSTRING(fname);
223
    TCN_ALLOC_CSTRING(fname);
224
    apr_status_t rv;
224
    apr_status_t rv;
225
    apr_finfo_t info;
225
    apr_finfo_t info;
226
    memset(&info, 0, sizeof(info));
226
227
227
    UNREFERENCED(o);
228
    UNREFERENCED(o);
228
229
Lines 242-247 TCN_IMPLEMENT_CALL(jobject, File, getStat)(TCN_STDARGS, jstring fname, Link Here
242
    TCN_ALLOC_CSTRING(fname);
243
    TCN_ALLOC_CSTRING(fname);
243
    apr_status_t rv;
244
    apr_status_t rv;
244
    apr_finfo_t info;
245
    apr_finfo_t info;
246
    memset(&info, 0, sizeof(info));
245
    jobject finfo = NULL;
247
    jobject finfo = NULL;
246
248
247
    UNREFERENCED(o);
249
    UNREFERENCED(o);
Lines 265-270 TCN_IMPLEMENT_CALL(jint, File, infoGet)(TCN_STDARGS, jobject finfo, Link Here
265
    apr_file_t *f = J2P(file, apr_file_t *);
267
    apr_file_t *f = J2P(file, apr_file_t *);
266
    apr_status_t rv;
268
    apr_status_t rv;
267
    apr_finfo_t info;
269
    apr_finfo_t info;
270
    memset(&info, 0, sizeof(info));
268
271
269
    UNREFERENCED(o);
272
    UNREFERENCED(o);
270
273
Lines 281-286 TCN_IMPLEMENT_CALL(jobject, File, getInfo)(TCN_STDARGS, jint wanted, jlong file) Link Here
281
    apr_file_t *f = J2P(file, apr_file_t *);
284
    apr_file_t *f = J2P(file, apr_file_t *);
282
    apr_status_t rv;
285
    apr_status_t rv;
283
    apr_finfo_t  info;
286
    apr_finfo_t  info;
287
    memset(&info, 0, sizeof(info));
284
288
285
    UNREFERENCED(o);
289
    UNREFERENCED(o);
286
290
Lines 303-308 TCN_IMPLEMENT_CALL(jint, Directory, read)(TCN_STDARGS, jobject finfo, Link Here
303
    apr_dir_t *d = J2P(dir, apr_dir_t *);
307
    apr_dir_t *d = J2P(dir, apr_dir_t *);
304
    apr_status_t rv;
308
    apr_status_t rv;
305
    apr_finfo_t info;
309
    apr_finfo_t info;
310
    memset(&info, 0, sizeof(info));
306
311
307
    UNREFERENCED(o);
312
    UNREFERENCED(o);
308
313

Return to bug 52627