Hi,

with current source cvs upped an hour or so ago:


build.sh command:    ./build.sh -u -N 1 -U -m amd64 -O /u/NetBSD/arch/amd64/obj 
-D /u/NetBSD/arch/amd64/dest -R /u/NetBSD/arch/amd64/release -T 
/u/NetBSD/arch/amd64/TOOLS distribution
...
dependall ===> external/mit/xorg/bin/xedit/lisp
    compile  lisp/pathname.o
/u/NetBSD/xsrc/external/mit/xedit/dist/lisp/pathname.c: In function 
'Lisp_UserHomedirPathname':
/u/NetBSD/xsrc/external/mit/xedit/dist/lisp/pathname.c:1073:2: error: 'strncpy' 
specified bound depends on the length of the source argument 
[-Werror=stringop-overflow=]
  strncpy(data, home, length);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/u/NetBSD/xsrc/external/mit/xedit/dist/lisp/pathname.c:1072:11: note: length 
computed here
  length = strlen(home);
           ^~~~~~~~~~~~
cc1: all warnings being treated as errors
...


Kurt

Reply via email to