diff options
author | John Gilmore <gnu@cygnus> | 1991-11-22 01:29:29 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-11-22 01:29:29 +0000 |
commit | f7402c04fa90ad4691e0badc98d034c5f1ef7cda (patch) | |
tree | ff118128a714b456a4b0a0167b42024ed8a0cc3a /gdb/standalone.c | |
parent | 82f0459e2c7d63dd7f008af42516c53458da5adf (diff) | |
download | gdb-f7402c04fa90ad4691e0badc98d034c5f1ef7cda.zip gdb-f7402c04fa90ad4691e0badc98d034c5f1ef7cda.tar.gz gdb-f7402c04fa90ad4691e0badc98d034c5f1ef7cda.tar.bz2 |
* main.c: Use getcwd rather than getwd.
* standalone.c: Fake getcwd rather than getwd.
* xm-*.h: Remove fake values of MAXPATHLEN.
Diffstat (limited to 'gdb/standalone.c')
-rw-r--r-- | gdb/standalone.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/standalone.c b/gdb/standalone.c index fa6d6fc..b91a1f8 100644 --- a/gdb/standalone.c +++ b/gdb/standalone.c @@ -59,8 +59,9 @@ chdir () {} char * -getwd (buf) +getcwd (buf, len) char *buf; + unsigned int len; { buf[0] = '/'; buf[1] = 0; |