Bug 15275 - freepath() with NULL second parameter not portable
Summary: freepath() with NULL second parameter not portable
Status: RESOLVED FIXED
Alias: None
Product: hal
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Mac OS X (All)
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-30 19:52 UTC by Daniel Macks
Modified: 2008-04-04 04:21 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Daniel Macks 2008-03-30 19:52:59 UTC
At tools/hal-disable-polling.c in hal-0.5.10 line  183:

  real_device = realpath(device, NULL);

gives a bus error on darwin. The invocation of realpath() where the second parameter is NULL is a glibc extension, not part of the standard function.
Comment 1 Danny Kukawka 2008-04-04 04:21:02 UTC
fixed in git with 80337b4ecb66df0f8bf107cdb432491fbd71b9a2


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.