** 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
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
** 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
** 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 man
** 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
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
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 se
** 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.
https://bugs.l
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' f
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
** A
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:
https://bugs.
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,
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 gcc-4_
** 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
** 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:
https://bugs.launchpad
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"
https://bugs.launchpad.net/ubuntu/+source/ups
16 matches
Mail list logo