diff options
author | herbert <herbert@gondor.apana.org.au> | 2005-03-03 21:52:11 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2005-09-26 18:33:04 +1000 |
commit | 3a0c230122b62cabfc0a4464c0941ce2ac5a8655 (patch) | |
tree | 0acb5776f80157d4459cd2efc81e67556b5d13ef | |
parent | Removed qflag. (diff) | |
download | dash-3a0c230122b62cabfc0a4464c0941ce2ac5a8655.tar.gz dash-3a0c230122b62cabfc0a4464c0941ce2ac5a8655.zip |
Removed redundant setstackmark from dotcmd.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/main.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 8579a67..350006c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2005-03-03 Herbert Xu <herbert@gondor.apana.org.au> * Removed qflag. + * Removed redundant setstackmark from dotcmd. 2005-03-02 Herbert Xu <herbert@gondor.apana.org.au> diff --git a/src/main.c b/src/main.c index f418cc5..31d559d 100644 --- a/src/main.c +++ b/src/main.c @@ -345,15 +345,12 @@ dotcmd(int argc, char **argv) if (argc >= 2) { /* That's what SVR2 does */ char *fullname; - struct stackmark smark; - setstackmark(&smark); fullname = find_dot_file(argv[1]); setinputfile(fullname, 1); commandname = fullname; cmdloop(0); popfile(); - popstackmark(&smark); } return exitstatus; } |