aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-02-13 20:30:03 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-02-13 20:30:03 +0200
commit32086b1f52a9978db1e8168b56a312e76afcf5ab (patch)
treede490c1c7d47bcbc6428d622957240679483d6b6 /awkgram.c
parent6bfbae33e99c401f89a4d650ea7958bbdebd362e (diff)
downloadegawk-32086b1f52a9978db1e8168b56a312e76afcf5ab.tar.gz
egawk-32086b1f52a9978db1e8168b56a312e76afcf5ab.tar.bz2
egawk-32086b1f52a9978db1e8168b56a312e76afcf5ab.zip
PC fixes for portability and dependencies.
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkgram.c b/awkgram.c
index b6b07649..8d812c40 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -4889,7 +4889,7 @@ add_srcfile(int stype, char *src, SRCFILE *thisfile, int *already_included, int
for (s = srcfiles->next; s != srcfiles; s = s->next) {
if ((s->stype == SRC_FILE || s->stype == SRC_INC)
- && files_are_same(& sbuf, & s->sbuf)
+ && files_are_same(path, s)
) {
if (do_lint)
lintwarn(_("already included source file `%s'"), src);