Opened 14 years ago

Closed 6 years ago

Last modified 5 years ago

#7556 closed enhancement (duplicate)

completed struct rusage definition

Reported by: wretched_dutchman Owned by: nobody
Priority: normal Milestone:
Component: - General Version: R1/alpha2
Keywords: resource.h rusage Cc:
Blocked By: Blocking: #3353
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 14 years ago.

Download all attachments as: .zip

Change History (5)

by wretched_dutchman, 14 years ago

Attachment: rusage_complete.diff added

comment:1 by pulkomandy, 10 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 7 years ago by pulkomandy (previous) (diff)

comment:2 by korli, 7 years ago

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

comment:3 by pulkomandy, 6 years ago

Blocking: 3353 added
Resolution: duplicate
Status: newclosed

comment:4 by nielx, 5 years ago

Milestone: R2

Remove milestone for tickets with status = closed and resolution != fixed

Note: See TracTickets for help on using tickets.