* Markus Hitter ([EMAIL PROTECTED]) wrote: >> I have a problem porting a piece of software that use >> getline(char**, int*, FILE*). This function is only present in >> glibc so I wonder what do I do in this case? > Ideally, you'd replace getline()'s usage with something similar, like > fgets(3). > > If this isn't reasonable, get inspired by glibc's sources and write your > own. Another inspiration might come from here: I've found implementation of getline function in tar sources that come with FreeBSD. I guess the best thing would be to make simple port out of it, with single .h file with static functions, which can be included in any place where it is needed. Is it OK to place GPL sources into the ports tree? (it would be silly to make distfile for single 3kb .h file)
-- Best regards, Dmitry Marakasov mailto:[EMAIL PROTECTED] _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"