christos
3d42469030
compile with WARNS = 2
1999-07-09 03:05:49 +00:00
mycroft
ee9e50eacb
Be more retentive about use of NOTREACHED and noreturn.
1998-07-28 11:41:40 +00:00
ross
ac875dda03
Fix a set of bugs where a cd of a relative pathname or a cd through a
...
symbolic link would not set PWD.
1998-05-21 16:50:40 +00:00
christos
7cfc52b208
PR/5001: Tom Yu: cd ./ does not work.
1998-02-17 02:57:16 +00:00
christos
cbf48b75c7
PR/3827: Wolfgang Rupprecht: cd ./. core dumps
...
Warning cleanups
1997-07-04 20:59:40 +00:00
christos
2c8f740e5c
__svr4__ -> __SVR4
1997-04-11 23:07:47 +00:00
christos
6b7623a681
Fix PR/3289: upon initialization check if $PWD contains the right directory
...
and use it. We also maintain $PWD now, like the rest of the
shells.
1997-03-07 21:36:19 +00:00
tls
48250187e6
kill 'register'
1997-01-11 02:04:27 +00:00
cjs
5678a13f1b
Re-introduce some code from 1.14 (with modifications) to make the
...
shell's idea of the current working directory match reality when
symlinks (or anything else we can't stat) are traversed with the
cd command. However, this does not print out the cwd after cd
traverses symlinks, as it used to, though the capability is still
there should one want to use it.
1996-12-22 08:34:34 +00:00
christos
dd6abbc5c3
PR/2808: Handle cd "". This is for systems where "" != "."
1996-10-16 14:29:42 +00:00
thorpej
47f181309b
If getcwd() fails, dang it, I want to know _why_.
1996-09-18 22:47:48 +00:00
christos
70ad20e9f1
Include header files to get function prototypes; don't use home grown ones.
1996-06-25 16:40:06 +00:00
jtc
16f5230c39
Changed so that cd builtin doesn't do wierd stuff when cd'ing through
...
symlinks. From Chris Demetriou <cgd@NetBSD.ORG>. Fixes PR #1776 .
Changed so that INTOFF/INTON are paired in getpwd(). From Matthias
Pfaller <leo@marco.de>. Fixes PR #2130 .
1996-03-01 01:58:58 +00:00
christos
ff008dabf6
Fix PR/1760, where 'cd -' before any other command could cause a reference
...
to an uninitialized pointer. Use getcwd() to get the current working directory,
instead of forking /bin/pwd [per Scott's suggestion]
1995-11-19 23:27:37 +00:00
christos
07bae7eddd
Merge in my changes from vangogh, and fix the x=false
; echo $? == 0
...
bug.
1995-05-11 21:28:33 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
mycroft
f5ad44b6ac
Use S_IS*().
1995-01-30 19:30:13 +00:00
cgd
4ce0d34a31
clean up further. more patches from Jim Jegers
1994-12-05 19:07:32 +00:00
cgd
5dad143982
from James Jegers <jimj@miller.cs.uwm.edu>: quiet -Wall, and squelch
...
some of the worst style errors.
1994-12-04 07:11:37 +00:00
mycroft
cafd1f7e9f
Add RCS ids.
1994-06-11 16:11:35 +00:00
jtc
a81e412494
Include appropriate header files to bring function prototypes into scope.
1994-05-12 17:03:32 +00:00
jtc
37ed7877b2
sync with 4.4lite
1994-05-11 17:09:42 +00:00
mycroft
8542364e07
Add RCS identifiers.
1993-08-01 18:49:50 +00:00
cgd
06be60083d
changed "Id" to "Header" for rcsids
1993-03-23 00:22:59 +00:00
cgd
346aa5dd48
added rcs ids to all files
1993-03-22 08:04:00 +00:00
cgd
e541169ce2
after 0.2.2 "stable" patches applied
1993-03-21 18:04:42 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00