Opened 11 years ago

Closed 10 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:
Has a Patch: no 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 Changed 11 years ago by stippi

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

comment:2 Changed 11 years ago by bonefish

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

comment:3 Changed 11 years ago by emitrax

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 Changed 11 years ago by emitrax

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

comment:5 Changed 11 years ago by scottmc

Cc: haiku@… added

comment:6 Changed 11 years ago by kaliber

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 Changed 10 years ago by mmadia

Cc: mattmadia@… added

comment:8 Changed 10 years ago by emitrax

Owner: changed from axeld to emitrax

comment:9 Changed 10 years ago by emitrax

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.