]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Push the length computation down into VarParseShort().
authorharti <harti@FreeBSD.org>
Wed, 2 Mar 2005 14:30:36 +0000 (14:30 +0000)
committerharti <harti@FreeBSD.org>
Wed, 2 Mar 2005 14:30:36 +0000 (14:30 +0000)
commitb1816b2629e8c3d9bdf6ab460e3e2c4faec6cac3
tree462431da3213c0aa189d05ab251f15adf831eaa5
parentaf763c99a024b4244877d6ec4f253600b307a5d1
Push the length computation down into VarParseShort().
Return always malloc()-ed strings from VarParseShort() to get
rid of warnings when returning string constants from a non-const char *
function.

Patch: 7.90

Submitted by: Max Okumoto <okumoto@ucsd.edu>
usr.bin/make/var.c