On Sun, 12 Aug 2012, Pascal Stumpf wrote:

> See patch.
>
Applied.


> There is one warning which I am not sure how to fix.  It is triggered by
> OpenBSD's -Wbounded:
>
> cc -c -g -pipe -Wall -Wpointer-arith -Wno-unused -Wno-write-strings
> -Wno-switch
> -I.  -I../../.. -I../../../exports/include -I/usr/local/include
> -I/usr/X11R6/in
> clude  -DCSRG_BASED -DANSICPP -DMULTIBYTE -DNLS16
> -DOSMAJORVERSION=5 -DOSM
> INORVERSION=2  -DFUNCPROTO=15 -DNARROWPROTO  -DXK_MISCELLANY -DMULTIBYTE
>   -DCDE_INSTALLATION_TOP=\"/usr/local/dt\"
> -DCDE_CONFIGURATION_TOP=\"
> /etc/dt\"           -DNO_TRANS -DUNIX -DNO_CONST -D_POSIX_SOURCE
> -DBSDSHLIB  -f
> pic keyfcns.c^M
> keyfcns.c: In function 'split_root':^M
> keyfcns.c:841: warning: array size (1) smaller than bound length (4)^M
> keyfcns.c:841: warning: array size (1) smaller than bound length (4)^M
> keyfcns.c: In function 'delete':^M
> keyfcns.c:930: warning: array size (1) smaller than bound length (4)^M
> keyfcns.c:930: warning: array size (1) smaller than bound length (4)^M
> keyfcns.c:1085: warning: array size (1) smaller than bound length (4)^M
> keyfcns.c:1085: warning: array size (1) smaller than bound length (4)^M
>
>
> What happens here is that it attempts to copy four bytes either into or
> from a one-byte buffer.  To be honest, I don't have any idea how this
> code is even supposed to work.  Can someone else have a look?
>

I have run into several bits of CDE that make me ask that question -
"how did this ever work" :)

I haven't looked at this yet, FYI - maybe someone beats me to it.

-- 
Jon Trulson

"If the Martian rope-a-dope don't get him, he'll get himself, he'll
  come in too fast and punch himself out."
              - one of my brothers, referring to the Curiosity landing.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to