Mercurial > hg > xemacs-beta
changeset 4589:03ec57ae1d1e
YAFMT
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Sat, 31 Jan 2009 22:47:43 +0900 |
parents | 6a6689b96f00 (diff) b25f081370e0 (current diff) |
children | c6d4ffc018a6 |
files | |
diffstat | 6 files changed, 29 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sat Jan 31 13:21:37 2009 +0000 +++ b/ChangeLog Sat Jan 31 22:47:43 2009 +0900 @@ -1,3 +1,8 @@ +2009-01-31 Stephen J. Turnbull <stephen@xemacs.org> + + * configure.ac: Adopt Martin's suggestion of declaring argv as + char ** (from <18643.15864.667930.542671@gargle.gargle.HOWL>). + 2008-12-29 Stephen J. Turnbull <stephen@xemacs.org> * configure.ac (xemacs_cc_cc_mismatch): Fix my syntax errors.
--- a/configure Sat Jan 31 13:21:37 2009 +0000 +++ b/configure Sat Jan 31 22:47:43 2009 +0900 @@ -11039,7 +11039,7 @@ runpath="$LD_RUN_PATH" elif test "$GCC" = "yes"; then ld_switch_run_save="$ld_switch_run"; ld_switch_run="" - echo "int main(int argc, char *argv[]) {return 0;}" > conftest.c + echo "int main(int argc, char **argv) {return 0;}" > conftest.c xe_runpath_link='${CC-cc} -o conftest -v $CFLAGS '"$xe_ldflags"' conftest.$ac_ext 2>&1 1>/dev/null' for arg in `eval "$xe_runpath_link" | grep ' -L'`; do case "$arg" in P,* | -L* | -R* ) @@ -19124,7 +19124,7 @@ runpath="$LD_RUN_PATH" elif test "$GCC" = "yes"; then ld_switch_run_save="$ld_switch_run"; ld_switch_run="" - echo "int main(int argc, char *argv[]) {return 0;}" > conftest.c + echo "int main(int argc, char **argv) {return 0;}" > conftest.c xe_runpath_link='${CC-cc} -o conftest -v $CFLAGS '"$xe_ldflags"' conftest.$ac_ext 2>&1 1>/dev/null' for arg in `eval "$xe_runpath_link" | grep ' -L'`; do case "$arg" in P,* | -L* | -R* ) @@ -30490,7 +30490,7 @@ runpath="$LD_RUN_PATH" elif test "$GCC" = "yes"; then ld_switch_run_save="$ld_switch_run"; ld_switch_run="" - echo "int main(int argc, char *argv[]) {return 0;}" > conftest.c + echo "int main(int argc, char **argv) {return 0;}" > conftest.c xe_runpath_link='${CC-cc} -o conftest -v $CFLAGS '"$xe_ldflags"' conftest.$ac_ext 2>&1 1>/dev/null' for arg in `eval "$xe_runpath_link" | grep ' -L'`; do case "$arg" in P,* | -L* | -R* ) @@ -34056,7 +34056,7 @@ } int -main (int argc, char *argv) +main (int argc, char **argv) { if (f2 (665, memset (alloca (1001), 0xFB, 1001), 776776776) != 42) return 1; @@ -34448,7 +34448,7 @@ #define MAP_FAILED -1 #endif -int main (int argc, char *argv) +int main (int argc, char **argv) { int fd = -1; caddr_t p;
--- a/configure.ac Sat Jan 31 13:21:37 2009 +0000 +++ b/configure.ac Sat Jan 31 22:47:43 2009 +0900 @@ -189,7 +189,7 @@ elif test "$GCC" = "yes"; then dnl Compute runpath from gcc's -v output ld_switch_run_save="$ld_switch_run"; ld_switch_run="" - echo "int main(int argc, char *argv[[]]) {return 0;}" > conftest.c + echo "int main(int argc, char **argv) {return 0;}" > conftest.c xe_runpath_link='${CC-cc} -o conftest -v $CFLAGS '"$xe_ldflags"' conftest.$ac_ext 2>&1 1>/dev/null' for arg in `eval "$xe_runpath_link" | grep ' -L'`; do case "$arg" in P,* | -L* | -R* ) @@ -4983,7 +4983,7 @@ } int -main (int argc, char *argv[]) +main (int argc, char **argv) { if (f2 (665, memset (alloca (1001), 0xFB, 1001), 776776776) != 42) return 1; @@ -5038,7 +5038,7 @@ #define MAP_FAILED -1 #endif -int main (int argc, char *argv[]) +int main (int argc, char **argv) { int fd = -1; caddr_t p;
--- a/src/ChangeLog Sat Jan 31 13:21:37 2009 +0000 +++ b/src/ChangeLog Sat Jan 31 22:47:43 2009 +0900 @@ -137,6 +137,17 @@ * input-method-xlib.c: Use Xt_RESOURCE. +2008-11-25 Stephen J. Turnbull <stephen@xemacs.org> + + * elhash.c (hash_table_data_validate): + * elhash.c (decode_hash_table_rehash_size): + * elhash.c (decode_hash_table_rehash_threshold): + Document side effects used in these functions. + +2008-11-20 Stephen J. Turnbull <stephen@xemacs.org> + + * console-x-impl.h (struct x_frame): Clarify comment. + 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org> * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
--- a/src/console-x-impl.h Sat Jan 31 13:21:37 2009 +0000 +++ b/src/console-x-impl.h Sat Jan 31 22:47:43 2009 +0900 @@ -332,7 +332,7 @@ or partially hidden by another X window */ unsigned int totally_visible_p :1; - /* NB: Both of the following flags are derivable from the 'shell' + /* NB: Both of the following flags are derivable from the 'widget' field above, but it's easier if we also have them separately here. */ /* Are we a top-level frame? This means that our shell is a
--- a/src/elhash.c Sat Jan 31 13:21:37 2009 +0000 +++ b/src/elhash.c Sat Jan 31 22:47:43 2009 +0900 @@ -755,6 +755,7 @@ static double decode_hash_table_rehash_size (Lisp_Object rehash_size) { + /* -1.0 signals make_general_lisp_hash_table to use the default. */ return NILP (rehash_size) ? -1.0 : XFLOAT_DATA (rehash_size); } @@ -786,6 +787,7 @@ static double decode_hash_table_rehash_threshold (Lisp_Object rehash_threshold) { + /* -1.0 signals make_general_lisp_hash_table to use the default. */ return NILP (rehash_threshold) ? -1.0 : XFLOAT_DATA (rehash_threshold); } @@ -795,6 +797,7 @@ { int len; + /* Check for improper lists while getting length. */ GET_EXTERNAL_LIST_LENGTH (value, len); if (len & 1) @@ -804,6 +807,7 @@ value, Qhash_table, errb); return 0; } + return 1; }