Re: CVS commit: src/bin/sh

2009-12-10 Thread Masao Uebayashi
More thought.

All these confusions come from the inability of commands to generate output
files separatedly.  This is perfect legal dependency tree because each
input/output relationship is 1:1

 +- arith.c --+
arith.y -+ +- arith.o
 +- arith.h --+

If yacc can generate only either .c / .h, like

yacc --src arith.y
yacc --hdr arith.y

We can write the rule straight.

What we need is to have wrapper commands which extracts one of outputs.  If
a command generates 3 outputs from 4 inputs, we need 3 wrappers.

Masao

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635


re: CVS commit: src/sys/compat/netbsd32

2009-12-10 Thread matthew green

   Module Name: src
   Committed By:njoly
   Date:Thu Dec 10 14:58:28 UTC 2009
   
   Modified Files:
src/sys/compat/netbsd32: netbsd32_ioctl.c
   
   Log Message:
   Make netbsd32_from_{ifreq,oifreq}() copy the whole structure, not only
   the interface name. Finally fix my own PR/39424.
   
   ok by christos.


this uses the size of the non-compat version to copy, which leads to
it copying beyond the allocated space doesn't it?  ie, it should be:

memcpy(s32p, p, sizeof *s32p);

shouldn't it?


.mrg.