🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by djm Fri, 29 Sep 1989 03:13
getwd portability for tar 1.07
#459
Author: djm
Date: Fri, 29 Sep 1989 03:13
12 lines
1011 bytes
In GNU tar 1.07 the portability considerations for getwd() are divided
between two files: port.c and tar.c.  In port.c is an implementation
that opens a pipe to pwd (slow), and in tar.c getcwd() is used instead
if MSDOS is defined.  But since MSDOS isn't the only system that has
getcwd() but not getwd() (my System V machine, for example), and since
getwd() can be implemented as a call to getcwd() on those systems, I think
that the code in tar.c should be removed and an alternate definition of
getwd(), in terms of getcwd(), be made available in port.c.  Perhaps
when both NEED_GETWD and (a new macro) HAVE_GETCWD are defined.
-- 
David J. MacKenzie <djm@wam.umd.edu>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads