Re: Trying to get GIT running on SCO OpenServer

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

 



Hi,

On Wed, 23 Jan 2008, Aidan Van Dyk wrote:

> I know - openserver, yuch, bla bla bla... Not my choice, but sometimes 
> we have to do things we don't like...

Hehe.  They say: "de mortuis nil nisi bene".

>    snprintf (vsnprintf) behaves like sprintf (vsprintf), except that no
>    more than maxsize characters are placed into the array, including the
>    terminating null character. If more than maxsize characters were
>    requested, the output array will contain exactly maxsize characters,
>    with a null character being the last (when maxsize is nonzero); a
>    negative value is returned.

FWIW we had the same problem in MinGW, and Hannes Sixt solved it:

http://repo.or.cz/w/git/mingw/j6t.git?a=commitdiff;h=b8e84a68f01a2386b2071e1bdc8e24de809a3f6d

That might give you an idea how to solve the issue.  Maybe you even make a 
git patch out of it?  With a Makefile variable BROKEN_SNPRINTF=YesPlease, 
maybe?

Hth,
Dscho
-
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