diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-07-24 18:58:49 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-07-24 18:58:49 +0000 |
commit | d11845a844f1ce9d7247513d1a61f9f733c3a4f4 (patch) | |
tree | 755f9ffec702c6032f849bebde01372083ec74e5 /usr.bin/make/arch.c | |
parent | de559112e90706dbab29c8f62d8f75d0ccbfe834 (diff) |
simplify computations in the var module: instead of advancing a char *
and keeping track of a length, we just advance the char *, and ditch
the length. We can still get the length at the end of the top-level
functions to satisfy existing interfaces.
Much simpler code, less error-prone.
Okay millert@
Diffstat (limited to 'usr.bin/make/arch.c')
-rw-r--r-- | usr.bin/make/arch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c index d78184c855d..23806f3d76f 100644 --- a/usr.bin/make/arch.c +++ b/usr.bin/make/arch.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: arch.c,v 1.58 2007/07/24 18:56:15 espie Exp $ */ +/* $OpenBSD: arch.c,v 1.59 2007/07/24 18:58:48 espie Exp $ */ /* $NetBSD: arch.c,v 1.17 1996/11/06 17:58:59 christos Exp $ */ /* |