Opened 12 years ago

Closed 12 years ago

#2093 closed enhancement (fixed)

Missing POSIX header libgen.h

Reported by: begasus Owned by: emitrax
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc: haiku@…, mattmadia@…
Blocked By: Blocking:
Platform: All

Description (last modified by stippi)

This is not really a bug but a missing header, korli already added libgen.h and dirname.c to the glibc libroot section. But for compiling libgen.h is still needed (wanted) in the development section (POSIX headers). Another missing file I came across is features.h. PS. the undefined reference to dirname has gone korli ;)

PS stippi was missing fenv.h also ...

Change History (9)

comment:1 by stippi, 12 years ago

Description: modified (diff)
Summary: Missing possix headersMissing POSIX headers
Type: bugenhancement

comment:2 by bonefish, 12 years ago

Component: Build System- General
Owner: changed from bonefish to axeld

comment:3 by emitrax, 12 years ago

Summary: Missing POSIX headersMissing POSIX headers libgen.h

features.h seems not to be a POSIX header.

Opening a different ticket for fenv.h as it is not related to libgen.h.

comment:4 by emitrax, 12 years ago

Summary: Missing POSIX headers libgen.hMissing POSIX header libgen.h

comment:5 by scottmc, 12 years ago

Cc: haiku@… added

comment:6 by kaliber, 12 years ago

I am curious why the ticket is not fixed yet? There are only three small things to do:

  1. Add xpg_basename.c to Jamfile
  2. Fix libgen.h (remove _THROW and features.h)
  3. Add libgen.h as a public header.

comment:7 by mmadia, 12 years ago

Cc: mattmadia@… added

comment:8 by emitrax, 12 years ago

Owner: changed from axeld to emitrax

comment:9 by emitrax, 12 years ago

Resolution: fixed
Status: newclosed

Added libgen.h along with dirname and basename in hrev28888.

Note: See TracTickets for help on using tickets.