Re: [PATCHv3] Updated patch series for providing mechanism to list available repositories

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

 



Greg Brockman wrote:

> (Incidentally, I just noticed a segfault with
> 
> $ unset HOME
> $ su git -m -c "git-receive-pack '~'"
> 
> that's probably worth fixing... if people don't think this is too
> pedantic of a case to fix, I'll submit a patch for it in a later
> series [I think the segfault comes from path.c:expand_user_path].)

Here’s a patch to save you time. :)

http://git.kernel.org/?p=git/git.git;a=commitdiff;h=79bf149

> Anyway, i'll revise my first patch to use HOME rather than getpw*.

>From the getpwnam(3) man page it looks like that is best practice,
anyway.

Cheers,
Jonathan
--
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]