diff options
author | steve <steve@FreeBSD.org> | 1996-09-21 04:00:22 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1996-09-21 04:00:22 +0000 |
commit | c2d4b0268c4720419422ee3d569396dbdbd051d4 (patch) | |
tree | 918d2de8461592f4ee7109187e716fc53e5e55e6 /usr.bin/make | |
parent | 53961e2108a572064a341eaa478b1892432e2211 (diff) | |
download | FreeBSD-src-c2d4b0268c4720419422ee3d569396dbdbd051d4.zip FreeBSD-src-c2d4b0268c4720419422ee3d569396dbdbd051d4.tar.gz |
Fix for PR#1230, make ``.for'' loops iterate backwards.
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/for.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c index c93f317..4f9da57 100644 --- a/usr.bin/make/for.c +++ b/usr.bin/make/for.c @@ -174,7 +174,7 @@ For_Eval (line) #define ADDWORD() \ Buf_AddBytes(buf, ptr - wrd, (Byte *) wrd), \ Buf_AddByte(buf, (Byte) '\0'), \ - Lst_AtEnd(forLst, (ClientData) Buf_GetAll(buf, &varlen)), \ + Lst_AtFront(forLst, (ClientData) Buf_GetAll(buf, &varlen)), \ Buf_Destroy(buf, FALSE) for (ptr = sub; *ptr && isspace((unsigned char) *ptr); ptr++) |