Opened 8 years ago

Closed 6 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

Description

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)

Changed 8 years ago by wretched_dutchman

Attachment: rusage_complete.diff added

comment:1 Changed 5 years ago by pulkomandy

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 22 months ago by pulkomandy (previous) (diff)

comment:2 Changed 22 months ago by korli

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

comment:3 Changed 6 months ago by pulkomandy

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