mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-09-13 11:44:13 +00:00
*** empty log message ***
This commit is contained in:
@@ -126,9 +126,10 @@ read_dir_file()
|
||||
time(&this_time);
|
||||
if(gnu_dumpfile[0]!='/') {
|
||||
#if defined(__MSDOS__) || defined(USG) || defined(_POSIX_VERSION)
|
||||
if(!getcwd(path,PATH_MAX))
|
||||
if(!getcwd(path,PATH_MAX)) {
|
||||
msg("Couldn't get current directory.");
|
||||
exit(EX_SYSTEM);
|
||||
}
|
||||
#else
|
||||
char *getwd();
|
||||
|
||||
|
||||
@@ -98,6 +98,12 @@ typedef long off_t;
|
||||
#if !defined(__MSDOS__) && !defined(STDC_HEADERS)
|
||||
#include <memory.h>
|
||||
#endif
|
||||
#ifdef index
|
||||
#undef index
|
||||
#endif
|
||||
#ifdef rindex
|
||||
#undef rindex
|
||||
#endif
|
||||
#define index strchr
|
||||
#define rindex strrchr
|
||||
#define bcopy(s, d, n) memcpy(d, s, n)
|
||||
|
||||
Reference in New Issue
Block a user