bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] compiling tar cvs using mingw


From: Paul Eggert
Subject: Re: [Bug-tar] compiling tar cvs using mingw
Date: 09 Sep 2003 23:15:07 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Gerry Reno <address@hidden> writes:

> create.c:25:18: pwd.h: No such file or directory
> create.c:26:18: grp.h: No such file or directory

That code is protected this way:

#if !MSDOS
# include <pwd.h>
# include <grp.h>
#endif

Why isn't MSDOS set on your host?  Perhaps you should put it into
config.h by hand?

> #define mkdir(file, mode) (mkdir(file))

I don't see why that definition fixes it, while the definition that I
already suggested doesn't fix it.  They should have equivalent effects.

> As far as pwd.h and grp.h, mingw (windows native) doesn't have the
> same notion of user password and group password in the /etc/passwd
> sense so maybe this should somehow not be required for mingw.

Perhaps it would be easier if we simply inserted dummy pwd.h and grp.h
files that would let us compile the source without changing it.  I'd
rather not have 'if MSDOS' all over the place.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]