After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 147707 - FreeBSD dosn't have strndup
FreeBSD dosn't have strndup
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other FreeBSD
: Normal blocker
: 0.8.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-07-16 11:12 UTC by Andrew Turner
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch using malloc and strncpy to workaround strndup (619 bytes, patch)
2004-07-16 11:15 UTC, Andrew Turner
none Details | Review

Description Andrew Turner 2004-07-16 11:12:20 UTC
FreeBSD is lacking a strndup implementation that gst_value_deserialize_fraction
needs.
Comment 1 Andrew Turner 2004-07-16 11:15:03 UTC
Created attachment 29579 [details] [review]
Patch using malloc and strncpy to workaround strndup
Comment 2 Thomas Vander Stichele 2004-07-16 13:31:38 UTC
doh, I'll use g_strndup instead.

Andrew, it'd be nice if a FreeBSD buildbot slave could be set up.  What do you
think ?