Nicholas Clark wrote on 2009-08-28: > win32/dl_win32.xs dates from 1997. > > [Also, why is dl_win32.xs there, rather than in ext/DynaLoader?]
Not sure. It gets copied into ext/DynaLoader during the build: $(DYNALOADER).c: $(MINIPERL) $(EXTDIR)\DynaLoader\dl_win32.xs $(CONFIGPM) if not exist $(AUTODIR) mkdir $(AUTODIR) cd $(EXTDIR)\$(*B) ..\$(MINIPERL) -I..\..\lib $(*B)_pm.PL ..\$(MINIPERL) -I..\..\lib XSLoader_pm.PL cd ..\..\win32 $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL) $(XCOPY) $(EXTDIR)\$(*B)\XSLoader.pm $(LIBDIR)\$(NULL) cd $(EXTDIR)\$(*B) $(XSUBPP) dl_win32.xs > $(*B).c cd ..\..\win32 $(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs copy dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs I don't know why we don't just have the dl_win32.xs file in ext/DynaLoader to start with, and remove it from win32/ I think that would be worth doing unless anyone knows why it needs to be under win32/ (And likewise for dl_netware.xs.)