Re: clone fails: Could not get the current working directory

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

 



2008/9/23 John Freeman <jfreeman@xxxxxxxxxxx>:
> Alex Riesen wrote:
>> Again: try a simple program which just does getpwd for this pathname
>
> From what I gather, getpwd() is in libiberty, which I didn't feel like
> messing with for this example.  I ran a small test program that called
> getcwd() in the repo directory, and it failed.  errno was set to EACCES,
> indicating insufficient permissions.

So there we are...

> http://www.opengroup.org/onlinepubs/009695399/functions/getcwd.html

It suggest a rather dubious workaround (calling pwd).

> I may get around later to patching this, but for now we're moving ahead with
> a workaround.

...but that's a system-inflicted workaround. We just have to do it or something
like what it does.

General question: What does Sun's pwd do?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux