Opened 13 years ago

Closed 5 years ago

Last modified 4 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 13 years ago.

Download all attachments as: .zip

Change History (5)

by wretched_dutchman, 13 years ago

Attachment: rusage_complete.diff added

comment:1 by pulkomandy, 9 years ago

Milestone: R1R2
  • These extra fields aren't in POSIX. PHP was patched to not need them.
  • Adding hte flags without the functionality is confusing, at best, and possibly dangerous
  • Adding the functionality must be done carefully, as it could break BeOS compatibility (did BeOS support rusage?)

Moving to R2 milestone since this is an ABI breakage.

Version 0, edited 9 years ago by pulkomandy (next)

comment:2 by korli, 7 years ago

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

comment:3 by pulkomandy, 5 years ago

Blocking: 3353 added
Resolution: duplicate
Status: newclosed

comment:4 by nielx, 4 years ago

Milestone: R2

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

Note: See TracTickets for help on using tickets.