facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
20 lines
597 B
Diff
20 lines
597 B
Diff
*** lib/regex_internal.h.orig Mon May 24 12:36:55 2010
|
|
--- lib/regex_internal.h Mon May 24 12:35:46 2010
|
|
***************
|
|
*** 468,474 ****
|
|
# define MAX(a,b) ((a) < (b) ? (b) : (a))
|
|
#endif
|
|
|
|
! #define re_malloc(t,n) ((t *) malloc ((n) * sizeof (t)))
|
|
#define re_realloc(p,t,n) ((t *) realloc (p, (n) * sizeof (t)))
|
|
#define re_free(p) free (p)
|
|
|
|
--- 468,474 ----
|
|
# define MAX(a,b) ((a) < (b) ? (b) : (a))
|
|
#endif
|
|
|
|
! #define re_malloc(t,n) ((t *) malloc ((n) > 0 ? (n) * sizeof (t) : 1))
|
|
#define re_realloc(p,t,n) ((t *) realloc (p, (n) * sizeof (t)))
|
|
#define re_free(p) free (p)
|
|
|