Hi folks
I'm a brand new subscriper of this mailing list, so please forgive if I
violate some protocol or talk about things that had been discussed to death
earlier.
I'm currently in the process of porting git (1.7.11.4 for now) to the HP
NonStop platform and found several issues:
- HP NonStop
From: git-ow...@vger.kernel.org [mailto:git-ow...@vger.kernel.org] On
Behalf Of Joachim Schmitz
Sent: Friday, August 10, 2012 5:01 PM
To: git@vger.kernel.org
Cc: rsbec...@nexbridge.com
Subject: RE: [PATCH v2] add tests for 'git rebase --keep-empty'
Hi folks
I'm a brand new subscriper
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Friday, August 10, 2012 6:21 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; rsbec...@nexbridge.com
Subject: Porting to a new platform
Joachim Schmitz j...@schmitz-digital.de writes:
- HP NonStop is lacking poll(),...
- HP NonStop
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Friday, August 10, 2012 7:33 PM
To: 'Shawn Pearce'
Cc: 'git@vger.kernel.org'; 'rsbec...@nexbridge.com'
Subject: RE: Porting git to HP NonStop
From: Shawn Pearce [mailto:spea...@spearce.org]
Sent: Friday, August 10, 2012 6:28
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Friday, August 10, 2012 10:09 PM
To: 'Shawn Pearce'
Cc: 'git@vger.kernel.org'; 'rsbec...@nexbridge.com'
Subject: RE: Porting git to HP NonStop
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Friday, August 10
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Tuesday, August 14, 2012 4:44 PM
To: Joachim Schmitz
Subject: Re: git on HP NonStop
Joachim Schmitz j...@schmitz-digital.de writes:
Interesting, I never mentioned Tandem did I, But still you recognized
HP NonStop
From: Shawn Pearce [mailto:spea...@spearce.org]
Sent: Friday, August 10, 2012 7:38 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; rsbec...@nexbridge.com
Subject: Re: Porting git to HP NonStop
On Fri, Aug 10, 2012 at 10:32 AM, Joachim Schmitz
j...@schmitz-digital.de
wrote:
then use `git
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Sunday, August 19, 2012 7:23 PM
To: Joachim Schmitz
Cc: 'Shawn Pearce'; git@vger.kernel.org; rsbec...@nexbridge.com
Subject: Re: Porting git to HP NonStop
Joachim Schmitz j...@schmitz-digital.de writes:
Found the problem: our mkdir
From: Jan Engelhardt [mailto:jeng...@inai.de]
Sent: Sunday, August 19, 2012 6:26 PM
To: Joachim Schmitz
Cc: 'Junio C Hamano'; git@vger.kernel.org
Subject: RE: git on HP NonStop
On Tuesday 2012-08-14 17:52, Joachim Schmitz wrote:
@@ -98,6 +99,11 @@
#include stdlib.h
#include
From: Johannes Sixt [mailto:j.s...@viscovery.net]
Sent: Monday, August 20, 2012 12:57 PM
To: Joachim Schmitz
Cc: 'Jan Engelhardt'; 'Junio C Hamano'; git@vger.kernel.org
Subject: Re: git on HP NonStop
Am 8/20/2012 12:36, schrieb Joachim Schmitz:
int var = var;
char *othervar = othervar
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Monday, August 20, 2012 6:30 PM
To: Johannes Sixt
Cc: Joachim Schmitz; 'Jan Engelhardt'; git@vger.kernel.org
Subject: Re: git on HP NonStop
Johannes Sixt j.s...@viscovery.net writes:
Am 8/20/2012 12:36, schrieb Joachim Schmitz
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
Makefile| 18 ++
compat/win32/poll.c | 8 ++--
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 6b0c961..2af4db3 100644
--- a/Makefile
+++ b/Makefile
@@ -152,6
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
http.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/http.c b/http.c
index b61ac85..18bc6bf 100644
--- a/http.c
+++ b/http.c
@@ -806,10 +806,12 @@ static int http_request(const char *url, void *result,
int target, int options
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
sha1_file.c | 4
1 file changed, 4 insertions(+)
diff --git a/sha1_file.c b/sha1_file.c
index af5cfbd..76714ad 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -747,6 +747,9 @@ static int open_packed_git_1(struct packed_git *p
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Monday, August 20, 2012 6:54 PM
To: Joachim Schmitz
Cc: 'Shawn Pearce'; git@vger.kernel.org; rsbec...@nexbridge.com
Subject: Re: Porting git to HP NonStop
Joachim Schmitz j...@schmitz-digital.de writes:
I haven't found any other
-Original Message-
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Tuesday, August 21, 2012 4:06 AM
To: Joachim Schmitz
Cc: 'Johannes Sixt'; 'Jan Engelhardt'; git@vger.kernel.org
Subject: Re: git on HP NonStop
Joachim Schmitz j...@schmitz-digital.de writes:
OK, so
From: Brandon Casey [mailto:draf...@gmail.com]
Sent: Wednesday, August 22, 2012 7:01 PM
To: Joachim Schmitz
Cc: Junio C Hamano; Shawn Pearce; git@vger.kernel.org;
rsbec...@nexbridge.com
Subject: Re: Porting git to HP NonStop
On Wed, Aug 22, 2012 at 9:30 AM, Joachim Schmitz j...@schmitz
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Wednesday, August 22, 2012 7:19 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0
Joachim Schmitz j...@schmitz-digital.de writes:
Signed-off-by: Joachim Schmitz j
From: Brandon Casey [mailto:draf...@gmail.com]
Sent: Wednesday, August 22, 2012 7:23 PM
To: Joachim Schmitz
Cc: Junio C Hamano; Shawn Pearce; git@vger.kernel.org;
rsbec...@nexbridge.com
Subject: Re: Porting git to HP NonStop
On Wed, Aug 22, 2012 at 10:18 AM, Joachim Schmitz j...@schmitz
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Wednesday, August 22, 2012 7:13 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; Erik Faye-Lund; Johannes Sixt; Marius Storm-Olsen
Subject: Re: [PATCH] Support non-WIN32 system lacking poll() while keeping
the WIN32 part intact
Joachim
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Wednesday, August 22, 2012 7:23 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Prefer sysconf(_SC_OPEN_MAX) over
getrlimit(RLIMIT_NOFILE,...)
Joachim Schmitz j...@schmitz-digital.de writes:
Signed-off
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Wednesday, August 22, 2012 7:41 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0
Joachim Schmitz j...@schmitz-digital.de writes:
Like this:
This reverts
-Original Message-
From: Johannes Sixt [mailto:j...@kdbg.org]
Sent: Wednesday, August 22, 2012 8:09 PM
To: Joachim Schmitz
Cc: 'Brandon Casey'; 'Junio C Hamano'; 'Shawn Pearce'; git@vger.kernel.org;
rsbec...@nexbridge.com
Subject: Re: Porting git to HP NonStop
Am 22.08.2012 20:02
-Original Message-
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Wednesday, August 22, 2012 8:17 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0
Joachim Schmitz j...@schmitz-digital.de writes
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Wednesday, August 22, 2012 8:25 PM
To: Joachim Schmitz
Cc: 'Brandon Casey'; 'Shawn Pearce'; git@vger.kernel.org;
rsbec...@nexbridge.com
Subject: Re: Porting git to HP NonStop
Joachim Schmitz j...@schmitz-digital.de writes:
Nice
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Wednesday, August 22, 2012 7:44 PM
To: 'Junio C Hamano'
Cc: 'git@vger.kernel.org'; 'Erik Faye-Lund'; 'Johannes Sixt'; 'Marius
Storm-
Olsen'
Subject: RE: [PATCH] Support non-WIN32 system lacking poll() while keeping
the WIN32 part
Hi folks
There another API missing on HP NonStop and that is setitimer(), used in
progress.c and build/log.c
I do have a homebrewed implementation, on top of alarm(), it goes like this:
#include ../git-compat-util.h
#undef getitimer
#undef setitimer
int
git_getitimer(int which, struct
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Wednesday, August 22, 2012 10:50 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; rsbec...@nexbridge.com
Subject: Re: Porting git to HP NonStop
Joachim Schmitz j...@schmitz-digital.de writes:
Hi folks
There another API missing
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Wednesday, August 22, 2012 11:02 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0
Joachim Schmitz j...@schmitz-digital.de writes:
diff --git a/http.c b/http.c
-Original Message-
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Wednesday, August 22, 2012 11:12 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; rsbec...@nexbridge.com
Subject: Re: Porting git to HP NonStop
Joachim Schmitz j...@schmitz-digital.de writes:
If it helps
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Wednesday, August 22, 2012 11:06 PM
To: 'Junio C Hamano'
Cc: 'git@vger.kernel.org'
Subject: RE: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Wednesday, August
From: Andreas Ericsson [mailto:a...@op5.se]
Sent: Thursday, August 23, 2012 10:24 AM
To: Joachim Schmitz
Cc: 'Junio C Hamano'; 'Johannes Sixt'; 'Jan Engelhardt'; git@vger.kernel.org
Subject: Re: git on HP NonStop
On 08/22/2012 06:38 PM, Joachim Schmitz wrote:
-Original Message
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Thursday, August 23, 2012 11:27 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0
Joachim Schmitz j...@schmitz-digital.de writes:
From: Joachim Schmitz [mailto:j
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
This time I hopefully didn't screw up whitespace and line breaks.
Makefile| 18 ++
compat/win32/poll.c | 8 ++--
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
As discussed now as a small helper function rather than #ifdef/#endif in the
primary flow of the code.
And hopefully without having screwed up whitespace and line breaks
sha1_file.c | 22 +++---
1 file changed, 15
This reverts be22d92 (http: avoid empty error messages for some curl errors,
2011-09-05) on platforms with older versions of libcURL.
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
Resend, regardless that Junio said this not to be needed, as I don't see it
applied yet.
Also tried
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
compat/mkdir.c | 24
1 file changed, 24 insertions(+)
create mode 100644 compat/mkdir.c
diff --git a/compat/mkdir.c b/compat/mkdir.c
new file mode 100644
index 000..9e253fb
--- /dev/null
+++ b/compat
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
git-compat-util.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/git-compat-util.h b/git-compat-util.h
index 35b095e..34f040f 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -162,6 +162,11 @@
#define
Implementation includes getitimer(), but for now it is static.
Supports ITIMER_REAL only.
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
May need a header file for ITIMER_*, struct itimerval and the prototypes,
But for now, and the HP NonStop platform this isn't needed, here
sys/time
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
Seems it needs my mkdir() ignoretraile slash patch first to be applied
cleanly...
It is independent of it otherwise.
git-compat-util.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/git-compat-util.h b/git-compat-util.h
index
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Friday, August 24, 2012 11:45 AM
To: Junio C Hamano (gits...@pobox.com)
Cc: git@vger.kernel.org; Erik Faye-Lund (kusmab...@gmail.com)
Subject: [PATCH v2] Support non-WIN32 system lacking poll() while keeping the
WIN32 part intact
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Friday, August 24, 2012 7:44 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/2] Ignore trailing slash in mkdir() on platforms that
can't deal with this
As the compat/mkdir.c file includes git-compat-util.h
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Friday, August 24, 2012 6:44 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH v2] Prefer sysconf(_SC_OPEN_MAX) over
getrlimit(RLIMIT_NOFILE,...)
Joachim Schmitz j...@schmitz-digital.de writes:
Signed-off
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Friday, August 24, 2012 6:07 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; Erik Faye-Lund
Subject: Re: [PATCH v2] Support non-WIN32 system lacking poll() while keeping
the WIN32 part intact
Joachim Schmitz j...@schmitz-digital.de
Hi folks
On top of the patches Ive submitted so far, which were needed for HP NonStop,
but possibly useful for other platforms too, here is one that is at least in
parts NonStop specific
diff --git a/git-compat-util.h b/git-compat-util.h
index a047221..d6a142a 100644
--- a/git-compat-util.h
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Friday, August 24, 2012 11:51 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [RFC] Support for HP NonStop
Joachim Schmitz j...@schmitz-digital.de writes:
Reminds me of a related issue: in compat/fnmatch/fnmatch.c
Florian Achleitner florian.achleitner.2.6...@gmail.com schrieb im
Newsbeitrag
news:1345662961-9587-16-git-send-email-florian.achleitner.2.6...@gmail.com...
fast-import mark files are stored outside the object database and are
therefore not fetched and can be lost somehow else. marks provide a
Thomas Gummerer t.gumme...@gmail.com schrieb im Newsbeitrag
news:134529-6925-3-git-send-email-t.gumme...@gmail.com...
Add the possibility of re-reading the index file, if it changed
while reading.
The index file might change during the read, causing outdated
information to be displayed.
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Saturday, August 25, 2012 5:55 PM
To: 'florian.achleitner.2.6...@gmail.com'
Cc: git@vger.kernel.org
Subject: Re: [PATCH v6 15/16] remote-svn: add marks-file regeneration
Florian Achleitner florian.achleitner.2.6...@gmail.com
().
Signed-off-by: Ramsay Jones ram...@ramsay1.demon.co.uk
Tested-by: Joachim Schmitz j...@schmitz-digital.de
---
Hi Florian,
Could you please squash this into commit 0320cef0 (remote-svn: add
marks-file regeneration, 22-08-2012).
ATB,
Ramsay Jones
remote-testsvn.c | 8
1 file changed, 4
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Tuesday, August 28, 2012 10:16 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/2] Support for setitimer() on platforms lacking it
Joachim Schmitz j...@schmitz-digital.de writes:
Implementation includes getitimer
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Thursday, August 30, 2012 7:23 PM
To: 'Junio C Hamano'
Cc: 'git@vger.kernel.org'
Subject: RE: [PATCH 1/2] Support for setitimer() on platforms lacking it
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Thursday, August
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Sunday, September 02, 2012 10:44 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; Johannes Sixt
Subject: Re: [PATCH 1/2] Support for setitimer() on platforms lacking it
Joachim Schmitz j...@schmitz-digital.de writes:
Should we
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Monday, September 03, 2012 9:03 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; 'Johannes Sixt'
Subject: Re: [PATCH 1/2] Support for setitimer() on platforms lacking it
Joachim Schmitz j...@schmitz-digital.de writes:
if (!value
Poor man's getitimer(), simply based on alarm().
Currently needed on HP NonStop (#ifdef __TANDEM),
which does provide struct itimerval, but no setitimer().
Alarm times are rounded up to the next full second.
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
Revert/remove my previous 2
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Friday, August 24, 2012 9:47 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; 'Erik Faye-Lund'
Subject: Re: [PATCH v2] Support non-WIN32 system lacking poll() while keeping
the WIN32 part intact
Joachim Schmitz j...@schmitz-digital.de
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Tuesday, September 04, 2012 8:47 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; 'Johannes Sixt'
Subject: Re: [PATCH 1/2] Support for setitimer() on platforms lacking it
Junio C Hamano gits...@pobox.com writes:
Joachim Schmitz j
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Wednesday, September 05, 2012 12:45 AM
To: Joachim Schmitz
Cc: git@vger.kernel.org; 'Johannes Sixt'
Subject: Re: [PATCH 1/2] Support for setitimer() on platforms lacking it
Joachim Schmitz j...@schmitz-digital.de writes:
From: Junio
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Tuesday, September 04, 2012 1:49 PM
To: 'Junio C Hamano'
Cc: 'git@vger.kernel.org'; 'Erik Faye-Lund'
Subject: RE: [PATCH v2] Support non-WIN32 system lacking poll() while keeping
the WIN32 part intact
From: Junio C Hamano
From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo
Bonzini
Sent: Wednesday, September 05, 2012 2:05 PM
To: Joachim Schmitz
Cc: 'Junio C Hamano'; git@vger.kernel.org; 'Erik Faye-Lund';
bug-gnu...@gnu.org
Subject: Re: poll() emulation in git
Il 05/09/2012 13:24
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Wednesday, September 05, 2012 2:58 PM
To: 'Paolo Bonzini'
Cc: 'Junio C Hamano'; 'git@vger.kernel.org'; 'Erik Faye-Lund';
'bug-gnu...@gnu.org'
Subject: RE: poll() emulation in git
From: Paolo Bonzini [mailto:paolo.bonz
From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo
Bonzini
Sent: Wednesday, September 05, 2012 5:26 PM
To: Joachim Schmitz
Cc: 'Junio C Hamano'; git@vger.kernel.org; 'Erik Faye-Lund';
bug-gnu...@gnu.org
Subject: Re: poll() emulation in git
Il 05/09/2012 15:36
From: Thomas Gummerer [mailto:t.gumme...@gmail.com]
Sent: Monday, August 27, 2012 11:40 AM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH/RFC v4 02/13] read-cache.c: Re-read index if index file
changed
On 08/25, Joachim Schmitz wrote:
Thomas Gummerer t.gumme
From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo
Bonzini
Sent: Thursday, September 06, 2012 5:15 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; 'Junio C Hamano'; 'Erik Faye-Lund';
bug-gnu...@gnu.org; rsbec...@nexbridge.com
Subject: Re: poll() emulation in git
Il
From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo
Bonzini
Sent: Thursday, September 06, 2012 4:32 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; 'Junio C Hamano'; 'Erik Faye-Lund';
bug-gnu...@gnu.org; rsbec...@nexbridge.com
Subject: Re: poll() emulation in git
Il
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index ac49320..03e245a 100644
--- a/Makefile
+++ b/Makefile
@@ -90,6 +90,8 @@ all::
#
# Define NO_MKDTEMP if you don't have mkdtemp in the C library
Here's now my series or patches to make the win32 implementation of poll()
available to other platforms:
1 - poll() exits too early with EFAULT if 1st arg is NULL, as discussed with
Paolo Bonzini from the gnulib team
2 - make poll available for other platforms lacking it by moving it into a
If poll() is used as a milli-second sleep, like in help.c, by passing a NULL
in the 1st and a 0 in the 2nd arg, it exits with EFAULT.
As per Paolo Bonzini, the original author, this is a bug and to be fixed like
in this commit, which is not to exit if the 2nd arg is 0.
Signed-off-by: Joachim
move poll.[ch] out of compat/win32/ into compat/poll/ and adjust
Makefile with the changed paths. Adding comments to Makefile about how/when
to enable it and add logic for this
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
Makefile | 20
In order for non-win32 platforms to be able to use poll.c, #ifdef the
inclusion of two header files
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
compat/poll/poll.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/compat/poll/poll.c b/compat/poll/poll.c
HP NonStop can't recv() on a non-socket, this commit cates for this.
So far for HP NonStop only, via #ifdef __TANDEM, but it may be usefull
for others too. A similar patch got sent to gnulib.
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
compat/poll/poll.c | 5 +
1 file changed
This way it gets added to gnulib too.
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
compat/poll/poll.c | 5 +
1 file changed, 4 insertions(+)
diff --git a/compat/poll/poll.c b/compat/poll/poll.c
index e4b8319..10a204e 100644
--- a/compat/poll/poll.c
+++ b/compat/poll/poll.c
-Original Message-
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Friday, September 07, 2012 7:30 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Document MKDIR_WO_TRAILING_SLASH in Makefile
Joachim Schmitz j...@schmitz-digital.de writes:
Signed
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Friday, September 07, 2012 6:41 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH v3] Support for setitimer() on platforms lacking it
Joachim Schmitz j...@schmitz-digital.de writes:
HP NonStop (currently) doesn't
From: Erik Faye-Lund [mailto:kusmab...@gmail.com]
Sent: Saturday, September 08, 2012 1:32 PM
To: Joachim Schmitz
Cc: Junio C Hamano; git@vger.kernel.org
Subject: Re: [PATCH v4 4/4] make poll() work on platforms that can't recv()
on a non-socket
On Fri, Sep 7, 2012 at 5:43 PM, Joachim
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Friday, September 07, 2012 11:55 AM
To: 'Junio C Hamano'
Cc: 'git@vger.kernel.org'
Subject: RE: [PATCH v3] Support for setitimer() on platforms lacking it
HP NonStop (currently) doesn't have setitimer(). The previous attempt
of in this commit too, by setting NO_STRUCT_ITIMERVAL.
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
Makefile | 12
git-compat-util.h | 11 +++
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index ac49320..7be555b 100644
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
Makefile | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Makefile b/Makefile
index 66e8216..21b4816 100644
--- a/Makefile
+++ b/Makefile
@@ -90,6 +90,8 @@ all::
#
# Define NO_MKDTEMP if you don't have mkdtemp in the C library
Jan Engelhardt wrote:
This reverts f9c87be6b42dd0f8b31a4bb8c6a44326879fdd1a, in a sense,
because that commit broke logging of Connection from ... when
git-daemon is run under xinetd.
This patch here computes the text representation of the peer and then
copies that to environment variables such
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Saturday, September 08, 2012 9:04 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH] daemon: restore getpeername(0,...) use
Joachim Schmitz j...@schmitz-digital.de writes:
+ setenv(REMOTE_PORT, portbuf, true
Yann Dirson wrote:
On Fri, 07 Sep 2012 15:54:49 +0200
...
BTW, git-rebase.sh seems to be quite inconsistent on the use of $()
vs. ``, not to mention the clear preference stated in
CodingGuidelines.
There are still quite a few more places in *.sh where `cmd`is used instead
of $(cmd):
Jeff King wrote:
On Sat, Sep 08, 2012 at 09:20:48PM +0200, Jan Engelhardt wrote:
On Saturday 2012-09-08 20:59, Junio C Hamano wrote:
diff --git a/daemon.c b/daemon.c
index 4602b46..eaf08c2 100644
--- a/daemon.c
+++ b/daemon.c
@@ -1,3 +1,4 @@
+#include stdbool.h
#include cache.h
#include
Jeff King wrote:
On Mon, Sep 10, 2012 at 04:38:58PM +0200, Joachim Schmitz wrote:
More importantly, though, is it actually portable? I thought it was
added in C99, and we try to stick to C89 to support older compilers
and systems. My copy of C99 is vague (it says only that the bool
macro
From: Jeff King [mailto:p...@peff.net]
Sent: Monday, September 10, 2012 7:59 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: [PATCH] daemon: restore getpeername(0,...) use
On Mon, Sep 10, 2012 at 07:26:26PM +0200, Joachim Schmitz wrote:
as are non-const array intializers
Hi folks
Probably a beginner's question...
If I did a
git clone git://guthub.com/git/git.git
and worked on some own branches of pu
git checkout pu;git checkout -p mybranch;hack;hack;...;git commit -a -s
how to update my repository once the the one on github changed?
A plain
git pull
or
From: Matthieu Moy [mailto:matthieu@grenoble-inp.fr]
Sent: Tuesday, September 11, 2012 1:06 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: How to update a cloned git repository
Joachim Schmitz j...@schmitz-digital.de writes:
Hi folks
Probably a beginner's question
Joachim Schmitz wrote:
If poll() is used as a milli-second sleep, like in help.c, by passing
a NULL in the 1st and a 0 in the 2nd arg, it exits with EFAULT.
As per Paolo Bonzini, the original author, this is a bug and to be
fixed like in this commit, which is not to exit if the 2nd arg is 0
From: Matthieu Moy [mailto:matthieu@grenoble-inp.fr]
Sent: Tuesday, September 11, 2012 2:41 PM
To: Joachim Schmitz
Cc: git
Subject: Re: How to update a cloned git repository
[ Re-adding git@vger in Cc, I guess it was meant to be so ]
Oops, yes it was meant to.
Joachim Schmitz j
-Original Message-
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Tuesday, September 11, 2012 6:01 PM
To: Joachim Schmitz
Cc: 'Matthieu Moy'; git@vger.kernel.org
Subject: Re: How to update a cloned git repository
Joachim Schmitz j...@schmitz-digital.de writes:
From
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Tuesday, September 11, 2012 6:06 PM
To: Matthieu Moy
Cc: Joachim Schmitz; git
Subject: Re: How to update a cloned git repository
Matthieu Moy matthieu@grenoble-inp.fr writes:
[ Re-adding git@vger in Cc, I guess it was meant
This way it just got added to gnulib too.
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
compat/poll/poll.c | 5 +
1 file changed, 4 insertions(+)
diff --git a/compat/poll/poll.c b/compat/poll/poll.c
index e4b8319..10a204e 100644
--- a/compat/poll/poll.c
+++ b/compat/poll/poll.c
Joachim Schmitz wrote:
Joachim Schmitz wrote:
If poll() is used as a milli-second sleep, like in help.c, by passing
a NULL in the 1st and a 0 in the 2nd arg, it exits with EFAULT.
As per Paolo Bonzini, the original author, this is a bug and to be
fixed like in this commit, which is not to exit
Junio C Hamano wrote:
I think we can start thinking about feature freeze once the topics
in 'next' that are scheduled to graduate to 'master' already are
fully cooked. For any late-coming topic, there always is the next
cycle ;-)
I've not hear anything about my poll patches and I'd really
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Saturday, September 15, 2012 7:01 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org
Subject: Re: What's cooking in git.git (Sep 2012, #05; Fri, 14)
Joachim Schmitz j...@schmitz-digital.de writes:
Junio C Hamano wrote:
I think we can
Here's now my updated series of patches to make the win32 implementation of
poll() available to other platforms:
1 - make poll available for other platforms lacking it by moving it into a
separate directory and adjusting Makefile
2 - fix some win32 specific dependencies in poll.c by #ifdef the
move poll.[ch] out of compat/win32/ into compat/poll/ and adjust
Makefile with the changed paths. Adding comments to Makefile about how/when
to enable it and add logic for this
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
Makefile | 20
In order for non-win32 platforms to be able to use poll.c, #ifdef the
inclusion of two header files in the same manner as it's done elsewhere
in git.
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
compat/poll/poll.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff
in the same manner the other day.
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de
---
compat/poll/poll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat/poll/poll.c b/compat/win32/poll.c
index 403eaa7..9e7a25c 100644
--- a/compat/poll/poll.c
+++ b/compat/poll/poll.c
From: Joachim Schmitz [mailto:j...@schmitz-digital.de]
Sent: Saturday, September 15, 2012 7:15 PM
To: 'Junio C Hamano'
Cc: 'git@vger.kernel.org'
Subject: RE: What's cooking in git.git (Sep 2012, #05; Fri, 14)
From: Junio C Hamano [mailto:gits...@pobox.com]
Sent: Saturday, September 15
Matthieu Moy wrote:
Junio C Hamano gits...@pobox.com writes:
I haven't been paying attention, but does that mean on that system,
a total stranger kseygold can write, modify, and remove whatever Ram
owns? I am hoping that is not the case.
I can see two reasons for having the same UID for two
1 - 100 of 178 matches
Mail list logo