1. 15 6月, 2008 6 次提交
  2. 14 6月, 2008 3 次提交
  3. 13 6月, 2008 9 次提交
  4. 12 6月, 2008 5 次提交
  5. 11 6月, 2008 6 次提交
  6. 10 6月, 2008 8 次提交
  7. 09 6月, 2008 3 次提交
    • B
      Port to 12 other Platforms. · 457bb452
      Boyd Lynn Gerber 提交于
      This patch adds support to compile and run git on 12 additional platforms.
      The platforms are based on UNIX Systems Labs (USL)/Novell/SYS V code base.
      The most common are Novell UnixWare 2.X.X, SCO UnixWare 7.X.X,
      OpenServer 5.0.X, OpenServer 6.0.X, and SCO pre OSR 5 platforms.
      
      Looking at the the various platform headers, I find:
      
      	#if defined(_KERNEL) || !defined(_POSIX_SOURCE) \
      	     && !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
      
      which hides u_short and other typedefs that other header files on these
      platforms depend on.  WIth _XOPEN_SOURCE defined, sources that include
      system header files that depend on the typedefs such as u_short cannot be
      compiled on these platforms.
      
      __USLC__ indicates UNIX System Labs Corperation (USLC), or a Novell-derived
      compiler and/or some SysV based OS's.
      
      __M_UNIX indicates XENIX/SCO UNIX/OpenServer 5.0.7 and prior releases
      of the SCO OS's.  It is used just like Apple and BSD, both of these
      shouldn't have _XOPEN_SOURCE defined.
      
      This is with suggestions and modifications from
      
      Daniel Barkalow, Junio C Hamano, Thomas Harning, and Jeremy Maitin-Shepard.
      Signed-off-by: NBoyd Lynn Gerber <gerberb@zenez.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      457bb452
    • B
      progress.c: avoid use of dynamic-sized array · d4c44443
      Boyd Lynn Gerber 提交于
      Dynamically sized arrays are gcc and C99 construct.  Using them hurts
      portability to older compilers, although using them is nice in this case
      it is not desirable.  This patch removes the only use of the construct
      in stop_progress_msg(); the function is about writing out a single line
      of a message, and the existing callers of this function feed messages
      of only bounded size anyway, so use of dynamic array is simply overkill.
      Signed-off-by: NBoyd Lynn Gerber <gerberb@zenez.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d4c44443
    • S
      eba1351f