[fpc-pascal] libc unit and FreeBSD

Michael Van Canneyt michael at freepascal.org
Mon Jan 14 09:50:27 CET 2008



On Mon, 14 Jan 2008, Marco van de Voort wrote:

> > Anybody know if there is a generic set of methods that supports all
> > (or most) unix style OS's?  I looked in 'baseunix', but there the
> > group and name methods relate to a process id's, not to file
> > attributes...
> 
> Baseunix and Unix should be implementable without libc for maximal
> portability. But, as Daniel says, these functions are not so nice to
> implement without libc because of directory plugins.
> 
> Ales and I discussed about this a way back, (then because of netdb, DNS
> resolving having a bit of the same problem), and the conclusion was to have
> a few "C" units (cpwd cnetdb) and advocate them for normal use, and if sb
> develops libcless equivalents (as we already have for netdb), put them in
> corresponding unit (pwd,netdb), for installer/bootstrap use. Specially with
> a download-package tool this is getting more important.
> 
> Since messing with netdb always eats up a lot of time, it got on the back
> burner.
>  
> Anybody a better name then (c)pwd ?

cpasswd is more clear to me. I had to read your mail twice in order to
understand what cpwd meant.

Michael.



More information about the fpc-pascal mailing list