CVS: cvs.openbsd.org: src

2024-05-04 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/05/04 20:55:34

Modified files:
usr.bin/awk: lib.c 

Log message:
add upstream change to fix the build
ok tb@ deraadt@



Re: CVS: cvs.openbsd.org: src

2024-05-04 Thread Theo Buehler
On Sun, May 05, 2024 at 12:30:00PM +1000, Jonathan Gray wrote:
> On Sat, May 04, 2024 at 04:59:21PM -0600, Todd C. Miller wrote:
> > CVSROOT:/cvs
> > Module name:src
> > Changes by: mill...@cvs.openbsd.org 2024/05/04 16:59:21
> > 
> > Modified files:
> > usr.bin/awk: FIXES b.c lib.c main.c run.c tran.c 
> > 
> > Log message:
> > Update awk to the May 4, 2024 version.
> > Fixes a use-after-free bug with ARGV for "delete ARGV".
> 
> ld: error: undefined symbol: ARGVtab
> 
> misses part of your upstream commit
> https://github.com/onetrueawk/awk/commit/d11b2d1a36e92518cea81c717169e2c97e8450d9

ok tb

> 
> Index: lib.c
> ===
> RCS file: /cvs/src/usr.bin/awk/lib.c,v
> diff -u -p -r1.56 lib.c
> --- lib.c 4 May 2024 22:59:21 -   1.56
> +++ lib.c 5 May 2024 02:24:14 -
> @@ -332,14 +332,16 @@ int readcsvrec(char **pbuf, int *pbufsiz
>  
>  char *getargv(int n) /* get ARGV[n] */
>  {
> + Array *ap;
>   Cell *x;
>   char *s, temp[50];
> - extern Array *ARGVtab;
> + extern Cell *ARGVcell;
>  
> + ap = (Array *)ARGVcell->sval;
>   snprintf(temp, sizeof(temp), "%d", n);
> - if (lookup(temp, ARGVtab) == NULL)
> + if (lookup(temp, ap) == NULL)
>   return NULL;
> - x = setsymtab(temp, "", 0.0, STR, ARGVtab);
> + x = setsymtab(temp, "", 0.0, STR, ap);
>   s = getsval(x);
>   DPRINTF("getargv(%d) returns |%s|\n", n, s);
>   return s;
> 



Re: CVS: cvs.openbsd.org: src

2024-05-04 Thread Jonathan Gray
On Sat, May 04, 2024 at 04:59:21PM -0600, Todd C. Miller wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   mill...@cvs.openbsd.org 2024/05/04 16:59:21
> 
> Modified files:
>   usr.bin/awk: FIXES b.c lib.c main.c run.c tran.c 
> 
> Log message:
> Update awk to the May 4, 2024 version.
> Fixes a use-after-free bug with ARGV for "delete ARGV".

ld: error: undefined symbol: ARGVtab

misses part of your upstream commit
https://github.com/onetrueawk/awk/commit/d11b2d1a36e92518cea81c717169e2c97e8450d9

Index: lib.c
===
RCS file: /cvs/src/usr.bin/awk/lib.c,v
diff -u -p -r1.56 lib.c
--- lib.c   4 May 2024 22:59:21 -   1.56
+++ lib.c   5 May 2024 02:24:14 -
@@ -332,14 +332,16 @@ int readcsvrec(char **pbuf, int *pbufsiz
 
 char *getargv(int n)   /* get ARGV[n] */
 {
+   Array *ap;
Cell *x;
char *s, temp[50];
-   extern Array *ARGVtab;
+   extern Cell *ARGVcell;
 
+   ap = (Array *)ARGVcell->sval;
snprintf(temp, sizeof(temp), "%d", n);
-   if (lookup(temp, ARGVtab) == NULL)
+   if (lookup(temp, ap) == NULL)
return NULL;
-   x = setsymtab(temp, "", 0.0, STR, ARGVtab);
+   x = setsymtab(temp, "", 0.0, STR, ap);
s = getsval(x);
DPRINTF("getargv(%d) returns |%s|\n", n, s);
return s;



CVS: cvs.openbsd.org: src

2024-05-04 Thread Todd C . Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2024/05/04 16:59:21

Modified files:
usr.bin/awk: FIXES b.c lib.c main.c run.c tran.c 

Log message:
Update awk to the May 4, 2024 version.
Fixes a use-after-free bug with ARGV for "delete ARGV".



CVS: cvs.openbsd.org: src

2024-05-04 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2024/05/04 07:35:26

Modified files:
sys/dev/pci: if_igc.c igc_base.h 

Log message:
Add TSO capabilites.
Comments, suggestions and testing from bket@, jan@, and bluhm@



CVS: cvs.openbsd.org: src

2024-05-04 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/05/04 05:25:24

Modified files:
sys/nfs: nfs_var.h 

Log message:
remove prototypes for removed functions



CVS: cvs.openbsd.org: src

2024-05-04 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/05/04 04:53:37

Modified files:
sys/nfs: nfs.h 

Log message:
remove some unused defines
ok miod@



CVS: cvs.openbsd.org: xenocara

2024-05-04 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/05/04 04:29:47

Modified files:
.  : MODULES 

Log message:
reverted xkbcomp 1.4.7



CVS: cvs.openbsd.org: xenocara

2024-05-04 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/05/04 03:53:35

Modified files:
app/xkbcomp: ChangeLog action.c action.h alias.c alias.h 
 compat.c config.h.in configure configure.ac 
 expr.c expr.h geometry.c indicators.c 
 indicators.h keycodes.c keymap.c keytypes.c 
 listing.c misc.c misc.h parseutils.c 
 parseutils.h symbols.c utils.c utils.h vmod.c 
 vmod.h xkbcomp.c xkbcomp.h xkbparse.y xkbpath.c 
 xkbpath.h xkbscan.c 

Log message:
Revert to xkbcomp 1.4.6. for now.
version 1.4.7 has memory management issues found by mbuhl@



CVS: cvs.openbsd.org: src

2024-05-04 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/05/04 01:51:21

Modified files:
usr.sbin/vmctl : vmctl.8 

Log message:
add -r to "show" command; ok mlarkin



CVS: cvs.openbsd.org: www

2024-05-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:www
Changes by: st...@cvs.openbsd.org   2024/05/04 01:05:17

Modified files:
.  : ftp.html ftplist httpslist 
openbgpd   : ftp.html 
openssh: ftp.html portable.html 
openntpd   : portable.html 
rpki-client: portable.html 

Log message:
sync



CVS: cvs.openbsd.org: www

2024-05-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:www
Changes by: st...@cvs.openbsd.org   2024/05/04 01:03:14

Modified files:
build  : mirrors.dat 

Log message:
fix GZ line for mirror.freedif.org (Singapore is .sg not .si)
but comment out for now as no longer syncing from a 2nd level