Review Request 124818: Fix update-mime-database crash.

arrowdodger arrowdodger 6yearold at
Thu Aug 20 09:32:51 UTC 2015

This is an automatically generated e-mail. To reply, visit:

(Updated Aug. 20, 2015, 12:32 p.m.)

Review request for kdewin.


Updated patch.

Fix update-mime-info by updating dirent.c/dirent.h from kdewin project.

Repository: emerge


VS was picking wrong function types for opendir/readdir because there was no prototypes for them in dirent.h, which lead to crash.
The second crash was due to writing 8-byte intptr_t value returned by _findfirst() into a 4-byte long variable.
No idea how it was working before.

Diffs (updated)

  portage/win32libs/shared-mime-info/dirent.h b98296a 
  portage/win32libs/shared-mime-info/dirent.c 2ca945a 
  portage/win32libs/shared-mime-info/ 6eda428 




arrowdodger arrowdodger

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Kde-windows mailing list