Changeset 4e20789 in freewrt


Ignore:
Timestamp:
Jul 16, 2006, 7:33:33 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
2bbee85
Parents:
9e17a74
Message:

make this build on GNU/Linux because some functions don't exist

XXX cannot use largefile support because <fts.h> of glibc is 32-bit only
(wbx@ says that doesn't matter though)

git-svn-id: svn://www.freewrt.org/trunk/freewrt@221 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
tools/paxmirabilis
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tools/paxmirabilis/fgetln.c

    r9e17a74 r4e20789  
    66
    77#ifdef __GLIBC__
     8ssize_t getline(char **lineptr, size_t *n, FILE *stream);
     9
    810char *
    911fgetln (stream, len)
  • tools/paxmirabilis/src/cache.c

    r9e17a74 r4e20789  
    197197         */
    198198        if (!pwopn) {
    199 #ifndef __INTERIX
     199#if !defined(__INTERIX) && !defined(__GLIBC__)
    200200                setpassent(1);
    201201#endif
     
    265265         */
    266266        if (!gropn) {
    267 #ifndef __INTERIX
     267#if !defined(__INTERIX) && !defined(__GLIBC__)
    268268                setgroupent(1);
    269269#endif
     
    334334
    335335        if (!pwopn) {
    336 #ifndef __INTERIX
     336#if !defined(__INTERIX) && !defined(__GLIBC__)
    337337                setpassent(1);
    338338#endif
     
    399399
    400400        if (!gropn) {
    401 #ifndef __INTERIX
     401#if !defined(__INTERIX) && !defined(__GLIBC__)
    402402                setgroupent(1);
    403403#endif
  • tools/paxmirabilis/src/options.c

    r9e17a74 r4e20789  
    5959__SCCSID("@(#)options.c 8.2 (Berkeley) 4/18/94");
    6060__RCSID("$MirOS: src/bin/pax/options.c,v 1.18 2006/07/16 16:14:50 tg Exp $");
     61
     62#ifdef __GLIBC__
     63char *fgetln(FILE *, size_t *);
     64#endif
    6165
    6266/*
Note: See TracChangeset for help on using the changeset viewer.