http://bugs.winehq.org/show_bug.cgi?id=18166
Summary: dlls/ntdll/directory.c: implicit declaration of function 'getdirentries' Product: Wine Version: 1.1.19 Platform: PC OS/Version: NetBSD Status: NEW Keywords: patch, source Severity: major Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=20631) --> (http://bugs.winehq.org/attachment.cgi?id=20631) wrap getdirentries around getdents
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -o directory.o directory.c directory.c: In function 'wine_getdirentries': directory.c:1289: warning: implicit declaration of function 'getdirentries'
Apparently getdirentries is broken on NetBSD. Attached patch (based on one from their port) fixes it.
http://bugs.winehq.org/show_bug.cgi?id=18166
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor
http://bugs.winehq.org/show_bug.cgi?id=18166
--- Comment #1 from Austin English austinenglish@gmail.com 2009-05-28 22:11:42 --- Still present in git.
http://bugs.winehq.org/show_bug.cgi?id=18166
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #2 from André H. nerv@dawncrow.de 2011-03-26 11:38:53 CDT --- patch looks good (if it still works)
http://bugs.winehq.org/show_bug.cgi?id=18166
--- Comment #3 from butraxz@gmail.com 2013-09-15 07:50:25 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. If you are no longer able to put effort to this ticket, you can abandon it.
Is this still an issue with 1.7.2 or higher ?
https://bugs.winehq.org/show_bug.cgi?id=18166
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #4 from super_man@post.com --- patching file dlls/ntdll/directory.c Hunk #1 succeeded at 131 (offset 2 lines).
so not included.
1.7.50
https://bugs.winehq.org/show_bug.cgi?id=18166
--- Comment #5 from André H. nerv@dawncrow.de --- (In reply to super_man from comment #4)
patching file dlls/ntdll/directory.c Hunk #1 succeeded at 131 (offset 2 lines).
Howdy Austin, can you please rebase and resend?
https://bugs.winehq.org/show_bug.cgi?id=18166
--- Comment #6 from Austin English austinenglish@gmail.com --- (In reply to André H. from comment #5)
(In reply to super_man from comment #4)
patching file dlls/ntdll/directory.c Hunk #1 succeeded at 131 (offset 2 lines).
Howdy Austin, can you please rebase and resend?
https://source.winehq.org/patches/data/114266
https://bugs.winehq.org/show_bug.cgi?id=18166
--- Comment #7 from super_man@post.com --- Patch was rejected...
https://bugs.winehq.org/show_bug.cgi?id=18166
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |12fc123338f7af601d3fe76b168 | |a644fcd7e1362 Resolution|--- |FIXED
--- Comment #8 from Austin English austinenglish@gmail.com --- This is fixed by https://source.winehq.org/git/wine.git/commitdiff/12fc123338f7af601d3fe76b16...
https://bugs.winehq.org/show_bug.cgi?id=18166
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.10.
https://bugs.winehq.org/show_bug.cgi?id=18166
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=18166
--- Comment #10 from Michael Stefaniuc mstefani@redhat.com --- Remove 1.8.x target milestone from bugs that didn't make it into 1.8.x for one reason or another. This are all included in the stable 2.0 release.
https://bugs.winehq.org/show_bug.cgi?id=18166
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
https://bugs.winehq.org/show_bug.cgi?id=18166
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|build-env |ntdll