Opened 8 years ago

Closed 9 months ago

#7556 closed enhancement (duplicate)

completed struct rusage definition

Reported by: wretched_dutchman Owned by: nobody
Priority: normal Milestone: R2
Component: - General Version: R1/alpha2
Keywords: resource.h rusage Cc:
Blocked By: Blocking: #3353
Has a Patch: no Platform: All


I've added the missing components of rusage in posix/sys/resource.h to allow php 5.3.6 to be compiled.
It doesn't add the functionality. compiled tested.

Attachments (1)

rusage_complete.diff (1.5 KB ) - added by wretched_dutchman 8 years ago.

Download all attachments as: .zip

Change History (4)

by wretched_dutchman, 8 years ago

Attachment: rusage_complete.diff added

comment:1 by pulkomandy, 5 years ago

Milestone: R1R2
  • These extra fields aren't in POSIX. PHP was patched to not need them.
  • Adding the flags without the functionality is confusing, at best, and possibly dangerous
  • Adding the functionality would break BeOS compatibility

Moving to R2 milestone since this is an ABI breakage. It could still be done on non-gcc2 architectures, but witn an actual implementation for the added fields.

Last edited 2 years ago by pulkomandy (previous) (diff)

comment:2 by korli, 2 years ago

This would be a nice to have, on non gcc2 architectures.

comment:3 by pulkomandy, 9 months ago

Blocking: 3353 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.