Paul R. Eggert
cc40c57a37
tar: don't crash if getcwd fails
...
* src/extract.c: Don't include xgetcwd.h.
(extract_dir): stat "." rather than statting getcwd's output.
* src/misc.c (normalize_filename_x): Rewrite so as not to resolve
/../, which can't be done reliably in the presence of symlinks.
Don't reject valid names such as ".".
(normalize_filename): Don't make it absolute; that way, we don't
have to invoke xgetcwd which might fail. Don't bother to realloc
at the end, since that uses time and now saves little space.
(chdir_do): Don't crash if xgetcwd fails.
* tests/Makefile.am (TESTSUITE_AT): Add listed03.at.
* tests/listed03.at: New file.
* tests/testsuite.at: Include listed03.at.
2010-07-15 11:25:15 -07:00
..
2008-03-06 08:17:33 +00:00
2009-03-07 16:30:44 +02:00
2007-06-27 13:30:12 +00:00
2009-10-04 23:38:34 +03:00
2007-06-27 13:30:12 +00:00
2008-07-31 07:12:50 +00:00
2009-08-05 10:38:50 +03:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2008-06-26 06:32:25 +00:00
2009-08-12 19:25:29 +03:00
2009-08-12 19:25:29 +03:00
2009-08-12 19:25:29 +03:00
2009-08-12 19:25:29 +03:00
2010-03-02 18:39:40 +02:00
2010-06-28 16:56:54 +03:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2010-03-08 12:31:59 +02:00
2007-06-27 13:30:12 +00:00
2010-03-27 22:46:18 +02:00
2009-08-27 20:12:14 +03:00
2009-08-08 22:33:16 +03:00
2009-08-08 19:53:54 +03:00
2009-08-08 19:53:54 +03:00
2010-04-01 00:03:51 +03:00
2008-06-26 06:32:25 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2009-08-07 14:52:55 +03:00
2009-08-07 14:52:55 +03:00
2009-08-13 16:45:49 +03:00
2009-08-13 16:45:49 +03:00
2008-07-31 07:12:50 +00:00
2007-06-27 13:30:12 +00:00
2010-01-24 15:52:22 +02:00
2010-01-24 15:52:22 +02:00
2010-03-11 17:41:23 +02:00
2010-03-11 17:41:23 +02:00
2010-03-11 17:41:23 +02:00
2009-07-30 23:49:32 +03:00
2010-03-27 22:46:18 +02:00
2010-03-27 22:46:18 +02:00
2009-08-07 14:52:55 +03:00
2009-08-07 14:52:55 +03:00
2010-07-15 11:25:15 -07:00
2007-06-27 13:30:12 +00:00
2008-06-26 06:32:25 +00:00
2008-06-26 06:32:25 +00:00
2008-06-26 06:32:25 +00:00
2007-06-27 13:30:12 +00:00
2010-07-15 11:25:15 -07:00
2009-08-07 14:52:55 +03:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2008-06-14 10:17:14 +00:00
2008-07-31 07:12:50 +00:00
2010-07-11 22:57:17 +03:00
2010-07-11 22:57:17 +03:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2009-05-25 10:18:59 +03:00
2007-06-27 13:30:12 +00:00
2010-03-20 13:20:30 +02:00
2009-10-14 17:55:15 +03:00
2010-03-17 11:52:40 +02:00
2009-08-07 14:52:55 +03:00
2009-08-07 14:52:55 +03:00
2009-08-07 14:52:55 +03:00
2008-07-31 07:12:50 +00:00
2008-07-31 07:12:50 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2008-06-26 06:32:25 +00:00
2009-05-25 10:18:59 +03:00
2008-02-08 10:32:15 +00:00
2010-03-20 13:20:30 +02:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2008-10-22 20:55:35 +00:00
2009-05-25 10:18:59 +03:00
2010-07-11 22:57:17 +03:00
2007-06-27 13:30:12 +00:00
2010-07-11 22:57:17 +03:00
2007-06-27 13:30:12 +00:00
2007-10-04 07:16:39 +00:00
2010-07-15 11:25:15 -07:00
2009-08-08 19:53:54 +03:00
2009-10-14 23:26:52 +03:00
2009-10-14 23:26:52 +03:00
2009-10-14 23:26:52 +03:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2009-05-25 10:18:59 +03:00
2007-06-27 13:30:12 +00:00
2009-08-27 20:12:14 +03:00