On Wed, Dec 3, 2014 at 9:24 PM, David Michael fedora@gmail.com wrote:
--- /dev/null
+++ b/compat/stat.c
@@ -0,0 +1,49 @@
+#define _POSIX_C_SOURCE 200112L
+#include stddef.h/* NULL */
+#include sys/stat.h /* *stat, S_IS* */
+#include sys/types.h /* mode_t */
Oops
the translated modes. This makes projects portable
across operating systems that use different file type definitions.
Only the file type bits may be affected by these compatibility
functions; the file permission bits are assumed to be 0 and are
passed through unchanged.
Signed-off-by: David Michael fedora
On Mon, Dec 1, 2014 at 12:55 AM, Torsten Bögershausen tbo...@web.de wrote:
On 12/01/2014 04:40 AM, David Michael wrote:
On Sun, Nov 30, 2014 at 3:16 PM, Torsten Bögershausen tbo...@web.de
wrote:
[snip]
Could the code be more human-readable ?
static inline mode_t mode_native_to_git(mode_t
On Mon, Dec 1, 2014 at 7:48 AM, David Michael fedora@gmail.com wrote:
On Mon, Dec 1, 2014 at 12:55 AM, Torsten Bögershausen tbo...@web.de wrote:
On 12/01/2014 04:40 AM, David Michael wrote:
On Sun, Nov 30, 2014 at 3:16 PM, Torsten Bögershausen tbo...@web.de
wrote:
[snip]
Could the code
On Mon, Dec 1, 2014 at 9:44 AM, Duy Nguyen pclo...@gmail.com wrote:
On Sun, Nov 30, 2014 at 9:41 AM, David Michael fedora@gmail.com wrote:
+int git_stat(const char *path, struct stat *buf)
+{
+ int rc;
+ rc = stat(path, buf);
+ if (buf != NULL)
It's a minor thing
On Mon, Dec 1, 2014 at 12:57 PM, Junio C Hamano gits...@pobox.com wrote:
David Michael fedora@gmail.com writes:
On Mon, Dec 1, 2014 at 9:44 AM, Duy Nguyen pclo...@gmail.com wrote:
On Sun, Nov 30, 2014 at 9:41 AM, David Michael fedora@gmail.com wrote:
+int git_stat(const char *path
On Sun, Nov 30, 2014 at 3:16 PM, Torsten Bögershausen tbo...@web.de wrote:
[snip]
Could the code be more human-readable ?
static inline mode_t mode_native_to_git(mode_t native_mode)
{
int perm_bits = native_mode 0;
if (S_ISREG(native_mode))
return 010
the translated modes. This makes projects portable
across operating systems that use different file type definitions.
Only the file type bits may be affected by these compatibility
functions; the file permission bits are assumed to be 0 and are
passed through unchanged.
Signed-off-by: David Michael fedora
When the XL C compiler is run with an appropriate language level or
suboption, it defines a feature test macro to indicate support for
variadic macros.
This was tested on z/OS, but it should also work on AIX according
to IBM documentation.
Signed-off-by: David Michael fedora@gmail.com
-by: David Michael fedora@gmail.com
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index fcd51ac..827006b 100644
--- a/Makefile
+++ b/Makefile
@@ -1610,8 +1610,8 @@ git.sp git.s git.o: EXTRA_CPPFLAGS = \
'-DGIT_INFO_PATH
There is no /usr/include/endian.h equivalent on z/OS, but the
compiler will define macros to indicate endianness on host and
target hardware. This adds a test for these macros as a last
resort for determining byte order.
Signed-off-by: David Michael fedora@gmail.com
---
compat/bswap.h | 4
On Sun, Oct 26, 2014 at 2:35 PM, Jeff King p...@peff.net wrote:
On Sun, Oct 26, 2014 at 01:45:10PM -0400, Eric Sunshine wrote:
On Sun, Oct 26, 2014 at 1:33 PM, David Michael fedora@gmail.com wrote:
The XL C compiler can fail due to mixing library path and object
Can you explain
On Sun, Oct 26, 2014 at 2:38 PM, Jeff King p...@peff.net wrote:
On Sun, Oct 26, 2014 at 01:34:26PM -0400, David Michael wrote:
diff --git a/compat/bswap.h b/compat/bswap.h
index f6fd9a6..7fed637 100644
--- a/compat/bswap.h
+++ b/compat/bswap.h
@@ -122,6 +122,10 @@ static inline uint64_t
On Sat, Mar 2, 2013 at 9:05 AM, Paul Campbell pcampb...@kemitix.net wrote:
On Fri, Mar 1, 2013 at 2:28 AM, Kindjal kind...@gmail.com wrote:
David Michael Barr b at rr-dav.id.au writes:
From a quick survey, it appears there are no more than 55 patches
squashed into the submitted patch.
As I
Hi,
On Tue, Feb 26, 2013 at 12:25 PM, Matt Kraai kr...@ftbfs.org wrote:
I didn't realize that QNX 6.3.2 provided getpagesize. Its header
files don't provide a prototype, so when I saw the warning, I assumed
it wasn't available. Since NO_GETPAGESIZE is only used by QNX, if
it's OK to
Some platforms may lack the NI_MAXHOST and NI_MAXSERV values in their
system headers, so ensure they are available.
Signed-off-by: David Michael fedora@gmail.com
---
NI_MAXHOST is missing from my platform, and it has no compatibility
definition anywhere.
$ grep -FIR NI_MAXHOST
imap
Hi,
On Sat, Jan 5, 2013 at 3:55 AM, Nguyễn Thái Ngọc Duy pclo...@gmail.com wrote:
Perhaps this will help the getenv bug hunting (I assume we do the
hunting on Linux platform only). So far it catches this and is stuck
at getenv in git_pager().
For the record: I have been testing a macro
platforms.
Signed-off-by: David Michael fedora@gmail.com
---
I have encountered an issue with consecutive calls to getenv
overwriting earlier values. Most notably, it prevents a plain git
clone from working.
Long story short: This value of GIT_DIR gets passed around setup.c
until it reaches
Hi,
On Thu, Dec 20, 2012 at 12:01 AM, David Aguilar dav...@gmail.com wrote:
Do you know if the differences are relegated to cd,
or do other common commands such as awk, grep, sed, mktemp, expr,
etc. have similar issues?
There are almost certainly going to be incompatibilities with other
Hi,
On Thu, Dec 20, 2012 at 12:17 AM, Junio C Hamano gits...@pobox.com wrote:
Is here is a nickel, get a better shell an option?
It is, somewhat. There is a pre-built port of GNU bash 2.03 for the
platform, but I was trying to see how far things could go with the
OS's supported shell before
Hi,
On Fri, Dec 14, 2012 at 2:54 AM, Joachim Schmitz
j...@schmitz-digital.de wrote:
For what's it worth: I ACK your HP-NonStop patch (as you can see by my
comment in git-compat-util.h I was thinking along the same line)
An option is added to the Makefile to skip the inclusion of sys/param.h.
The only known platform with this condition thus far is the z/OS UNIX System
Services environment.
Signed-off-by: David Michael fedora@gmail.com
---
Makefile | 5 +
configure.ac | 6 ++
git-compat
NO_GECOS_IN_PWENT was documented with other Makefile variables but was only
enforced by manually defining it to the C preprocessor. This adds support
for detecting the condition with configure and defining the make variable.
Signed-off-by: David Michael fedora@gmail.com
---
Makefile | 3
This platform previously included strings.h automatically. However, the
build system now requires an explicit option to do so.
Signed-off-by: David Michael fedora@gmail.com
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index fb78f7f..e84b0cb 100644
The header strings.h was formerly only included for a particular platform to
define strcasecmp, but another platform requiring this inclusion has been
found. The build system will now include the file based on its presence
determined by configure.
Signed-off-by: David Michael fedora
Hi,
On Fri, Dec 14, 2012 at 6:41 PM, Junio C Hamano gits...@pobox.com wrote:
I have this suspicion that nobody would notice if we simply stopped
including the header.
While I'm not aware of any subtleties it could be causing on other
platforms, it does seem fine to drop sys/param.h on my test
Hi,
On Thu, Dec 13, 2012 at 12:18 PM, Pyeron, Jason J CTR (US)
jason.j.pyeron@mail.mil wrote:
Would there be any interest in applying such individual compatibility
fixes for this system, even if a full port doesn't reach completion?
What are the down sides? Can your changes be shown to
refers to nonexistent ref, unable to checkout.
--
David Michael Barr
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
.
Limit its application to when the config pack.graphcompression is set.
Signed-off-by: David Michael Barr b...@rr-dav.id.au
(mailto:b...@rr-dav.id.au)
---
builtin/pack-objects.c | 49 +
1 file changed, 45 insertions(+), 4 deletions(-)
I started
its application to when the config pack.graphcompression is set.
Signed-off-by: David Michael Barr b...@rr-dav.id.au
---
builtin/pack-objects.c | 49 +
1 file changed, 45 insertions(+), 4 deletions(-)
I started working on this just before taking
of effort.
--
David Michael Barr
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
this topic for inclusion.
Acked-by: David Michael Barr b...@rr-dav.id.au
* fa/vcs-svn (2012-09-19) 4 commits
- vcs-svn: remove repo_tree
- vcs-svn/svndump: rewrite handle_node(), begin|end_revision()
- vcs-svn/svndump: restructure node_ctx, rev_ctx handling
- svndump: move struct definitions
, GitHub is definitely interested in this. I may take a shot at it,
but I know David Barr (cc'd) is also interested in such things.
Yeah, I'm definitely interested, I love this stuff.
--
David Michael Barr
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message
to extract the standard layout into a new repo.
* Use git-svn to keep the new repo up-to-date.
--
David Michael Barr
On Saturday, 15 September 2012 at 8:07 PM, Enrico Weigelt wrote:
Does anyone have an idea, what might be wrong here / how to fix it
?
Here: git svn --version
: move struct definitions to .h.
[RFC 3/5] vcs-svn/svndump: restructure node_ctx, rev_ctx handling
[RFC 4/5] vcs-svn/svndump: rewrite handle_node(),
[RFC 5/5] vcs-svn: remove repo_tree
I haven't read the rest of the series yet but I expect
it is less controversial than the first patch.
--
David
with the identity:
David Michael Barr b...@rr-dav.id.au
This will be my persistent address.
--
David Barr
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sat, Jul 7, 2012 at 3:10 AM, Jonathan Nieder jrnie...@gmail.com wrote:
Hi Junio,
The following changes since commit 58ebd9865d2bb9d42842fbac5a1c4eae49e92859:
vcs-svn/svndiff.c: squelch false unused warning from gcc (2012-01-27
11:58:56 -0800)
are available at:
37 matches
Mail list logo