stefanf
fe9202bf0f
Split updatepwd() into two smaller functions. The first one, findpwd(),
...
computes the new path and the second one, updatepwd(), updates the variables
PWD, OLDPWD and the path used for the pwd builtin according to the new
directory. For a logical directory change, chdir() is now called between
those two functions, no longer causing wrong values to be stored in PWD etc. if
it fails.
PR: 64990, 101316, 120571
2008-02-24 16:50:55 +00:00
..
2006-12-23 09:25:23 +00:00
2007-05-28 04:23:09 +00:00
2005-01-27 13:25:09 +00:00
2006-12-22 07:28:38 +00:00
2007-12-26 08:32:20 +00:00
2007-05-16 21:22:38 +00:00
2008-02-07 16:04:24 +00:00
2006-07-09 21:47:37 +00:00
2007-07-04 00:00:41 +00:00
2006-12-18 15:45:01 +00:00
2005-01-16 16:41:59 +00:00
2007-12-09 00:14:27 +00:00
2007-03-04 19:52:07 +00:00
2007-09-19 02:04:47 +00:00
2006-12-08 07:47:08 +00:00
2005-11-17 12:15:23 +00:00
2007-03-04 09:15:12 +00:00
2007-11-17 21:01:22 +00:00
2006-10-18 10:58:27 +00:00
2006-12-27 11:28:00 +00:00
2007-12-27 11:33:42 +00:00
2007-05-25 17:53:38 +00:00
2007-11-08 22:31:28 +00:00
2005-02-09 17:37:39 +00:00
2007-05-22 04:21:00 +00:00
2005-01-16 16:41:59 +00:00
2006-12-26 13:57:40 +00:00
2005-06-10 06:12:53 +00:00
2006-12-27 12:14:56 +00:00
2007-02-26 00:42:17 +00:00
2008-02-24 16:50:55 +00:00
2005-08-07 09:11:38 +00:00
2005-05-26 06:57:57 +00:00
2005-01-10 08:39:26 +00:00
2006-12-14 10:42:46 +00:00
2007-04-09 19:16:48 +00:00
2006-03-17 18:54:44 +00:00
2006-03-17 18:54:44 +00:00