bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] gnumach/ddb: rewrite db_expr.h and remove trivial function f


From: Samuel Thibault
Subject: Re: [PATCH] gnumach/ddb: rewrite db_expr.h and remove trivial function from db_expr.c
Date: Tue, 2 Jul 2013 00:45:29 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Marin Ramesa, le Mon 01 Jul 2013 12:37:54 +0200, a écrit :
> I don't know if this qualifies as a rewrite of db_expr.h; in my mind it 
> does, so I removed the copyright;

Well, the patch doesn't make it look so :)

> I completely removed calls to db_expression. I think it is a trivial 
> function; it just complicates things. 

Well, yes and no.

> -int
> -db_expression(valuep)
> -     db_expr_t *valuep;
> -{
> -     return (db_logical_or_expr(valuep));
> -}

This function makes a lot of sense grammar-wise. And the fact that
the Or operator is the most external operator of expressions is not
something we want to expose outside db_expression().

Samuel



reply via email to

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