qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs unicode_join.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs unicode_join.c
Date: Sun, 20 Apr 2008 11:55:11 +0000

CVSROOT:        /cvsroot/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        08/04/20 11:55:11

Modified files:
        .              : unicode_join.c 

Log message:
        remark

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/unicode_join.c?cvsroot=qemacs&r1=1.12&r2=1.13

Patches:
Index: unicode_join.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/unicode_join.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- unicode_join.c      10 Jan 2008 12:21:06 -0000      1.12
+++ unicode_join.c      20 Apr 2008 11:55:11 -0000      1.13
@@ -124,6 +124,9 @@
     int l, l1, l2, len1, len2, i, j;
     unsigned int *q;
     const unsigned short *lig;
+    /* CG: C99 specific variable-size array: should be careful about
+     * maximum len.
+     */
     unsigned int buf[len];
 
     memcpy(buf, buf_out, len * sizeof(unsigned int));
@@ -247,6 +250,7 @@
                       int reverse)
 {
     int len, i;
+    /* CG: C99 variable-size arrays may be too large */
     unsigned int ctog[src_size];
     unsigned int ctog1[src_size];
     unsigned int buf[src_size];




reply via email to

[Prev in Thread] Current Thread [Next in Thread]