[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-05-07 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/experimental/gcc-4.7 ** Branch linked: lp:ubuntu/gcc-4.7 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1123588 Title: wrong usage of the `malloc' function attribute To

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-03-14 Thread Launchpad Bug Tracker
** Branch linked: lp:~jamesodhunt/ubuntu/raring/libnih/upstart-devel- libnih-fixes -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1123588 Title: wrong usage of the `malloc' function attribute To

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-03-14 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/raring-proposed/libnih -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1123588 Title: wrong usage of the `malloc' function attribute To manage notifications about this

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-03-14 Thread Launchpad Bug Tracker
This bug was fixed in the package libnih - 1.0.3-4ubuntu16 --- libnih (1.0.3-4ubuntu16) raring; urgency=low * debian/{libnih1.postinst,libnih-dbus1.postinst}: Force an upgrade to restart Upstart (to pick up new package version) if the running instance supports it. * Merge

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-03-08 Thread James Hunt
** Changed in: upstart Status: Triaged = Fix Released ** Changed in: libnih Status: New = In Progress ** Changed in: upstart (Ubuntu Raring) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-03-01 Thread James Hunt
Scott is right - the description of this attribute *has* changed. Compare the current description to: http://web.archive.org/web/20060824111504/http://gcc.gnu.org/onlinedocs/gcc /Function-Attributes.html Hence, either the attribute used to be incorrectly described and we were just lucky not to

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-03-01 Thread Matthias Klose
which already says ... The malloc attribute is used to tell the compiler that a function may be treated as if any non-NULL pointer it returns cannot alias any other pointer valid when the function returns. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-02-28 Thread James Hunt
** Changed in: libnih Assignee: (unassigned) = James Hunt (jamesodhunt) ** Changed in: libnih (Ubuntu Raring) Assignee: (unassigned) = James Hunt (jamesodhunt) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-02-27 Thread James Hunt
I've discussed this with Scott. He believes the description of the malloc attribute has changed since libnih first started using it. The current description does make its use in libnih and upstart invalid seemingly. ** Also affects: libnih (Ubuntu) Importance: Undecided Status: New **

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-02-27 Thread Matthias Klose
according to http://gcc.gnu.org/onlinedocs/ this was documented from 4.1 on, didn't check earlier releases. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1123588 Title: wrong usage of the `malloc'

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-02-25 Thread James Hunt
A common convention in Upstart+NIH is for functions to accept a parent pointer as in the following example: Foo *make_foo (const void *parent) __attribute__ ((malloc)); Foo * make_foo (const void *parent) { Foo *foo = nih_new (parent, Foo); /* ... */ return foo; } But,

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-02-25 Thread Matthias Klose
yes, that's my understanding. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1123588 Title: wrong usage of the `malloc' function attribute To manage notifications about this bug go to:

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-02-23 Thread Launchpad Bug Tracker
This bug was fixed in the package gcc-4.7 - 4.7.2-22ubuntu1 --- gcc-4.7 (4.7.2-22ubuntu1) raring; urgency=low * Merge with Debian; remaining changes: - Build from upstream source. gcc-4.7 (4.7.2-22) experimental; urgency=low * Update to SVN 20130222 (r196236) from the

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-02-20 Thread Steve Langasek
** Also affects: upstart Importance: Undecided Status: New ** Changed in: upstart Status: New = Triaged ** Changed in: upstart Importance: Undecided = High ** Changed in: upstart Assignee: (unassigned) = James Hunt (jamesodhunt) -- You received this bug notification

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-02-19 Thread Matthias Klose
I first attempt to remove the malloc function attribute in places where it doesn't belong. ** Summary changed: - [4.7 Regression] wrong code with the fix for PR53844 + wrong usage of the `malloc' function attribute ** Patch added: malloc.diff

[Bug 1123588] Re: wrong usage of the `malloc' function attribute

2013-02-19 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1123588 Title: wrong usage of the `malloc' function attribute To manage notifications about this bug go to: