/[coreutils]/coreutils/lib/canonicalize.c
ViewVC logotype

Log of /coreutils/lib/canonicalize.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.25
Mon Aug 21 07:26:39 2006 UTC (17 years, 8 months ago) by eggert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +0 -0 lines
FILE REMOVED
Remove from CVS, since the bootstrap script generates them automatically.


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu Sep 22 06:05:39 2005 UTC (18 years, 7 months ago) by eggert
Branch: MAIN
CVS Tags: COREUTILS-5_90, COREUTILS-5_91, COREUTILS-5_92, COREUTILS-5_93, COREUTILS-5_94, COREUTILS-5_94-cvs, COREUTILS-5_95, COREUTILS-5_96, COREUTILS-5_97, COREUTILS-6_0, COREUTILS-6_1
Branch point for: b5_9x
Changes since 1.23: +2 -11 lines
Diff to previous 1.23
Sync from gnulib.


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sat Jul 2 08:41:46 2005 UTC (18 years, 9 months ago) by meyering
Branch: MAIN
Changes since 1.22: +1 -3 lines
Diff to previous 1.22
Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Jun 2 05:05:29 2005 UTC (18 years, 10 months ago) by eggert
Branch: MAIN
Changes since 1.21: +40 -38 lines
Diff to previous 1.21
Don't use "path" or "filename" to mean "file name"
in comments or local variable names.


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed May 18 19:28:21 2005 UTC (18 years, 11 months ago) by eggert
Branch: MAIN
Changes since 1.20: +4 -19 lines
Diff to previous 1.20
Include canonicalize.h first, to test interface.
Include <stddef.h> unconditionally, since we assume C89 now.
All uses of PTR_INT_TYPE replaced by ptrdiff_t.


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sat May 14 07:58:06 2005 UTC (18 years, 11 months ago) by meyering
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
Update FSF postal mail address.


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Wed Mar 23 12:47:46 2005 UTC (19 years, 1 month ago) by meyering
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18
Remove duplicate `#include "stat-macros.h"'.


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Aug 2 22:41:37 2004 UTC (19 years, 8 months ago) by eggert
Branch: MAIN
CVS Tags: COREUTILS-5_3_0
Changes since 1.17: +3 -7 lines
Diff to previous 1.17
(errno): Remove decl; we now assume C89 or better.


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed Jul 7 15:54:51 2004 UTC (19 years, 9 months ago) by meyering
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16
Don't infloop when MAXSYMLINKS is not defined.
Detect symlink loops much earlier (albeit lazily) on systems
with MAXSYMLINKS defined to a large value.

Include "cycle-check.h".
(canonicalize_filename_mode): Don't try to detect loops by counting
symlink-hops.  Instead, use the cycle-check module.


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Jul 7 09:28:15 2004 UTC (19 years, 9 months ago) by meyering
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15
(canonicalize_filename_mode): Remove do-while(0) loop.
Replace each corresponding `break' stmt with `continue'.


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Tue Jul 6 17:00:36 2004 UTC (19 years, 9 months ago) by meyering
Branch: MAIN
Changes since 1.14: +6 -5 lines
Diff to previous 1.14
Include "stat-macros.h".
(canonicalize_filename_mode): Remove #ifdef S_ISLNK, now that
S_ISLNK is guaranteed to be defined (via stat-macros.h).


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Jul 6 16:55:26 2004 UTC (19 years, 9 months ago) by meyering
Branch: MAIN
Changes since 1.13: +71 -34 lines
Diff to previous 1.13
Include "file-type.h".
(canonicalize_filename_mode): New function, based on
canonicalize_file_name, supports three canonicalize modes.
(canonicalize_file_name)
[!HAVE_CANONICALIZE_FILE_NAME && !HAVE_RESOLVEPATH]: Use it.


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Jul 4 18:03:07 2004 UTC (19 years, 9 months ago) by meyering
Branch: MAIN
Changes since 1.12: +0 -3 lines
Diff to previous 1.12
(canonicalize_file_name): Assume that path_concat never returns NULL.


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Jun 19 12:28:02 2004 UTC (19 years, 10 months ago) by meyering
Branch: MAIN
Changes since 1.11: +1 -10 lines
Diff to previous 1.11
Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Jun 1 13:24:12 2004 UTC (19 years, 10 months ago) by meyering
Branch: MAIN
Branch point for: acl
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
(canonicalize_file_name): Update use of xreadlink.


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Mar 29 07:29:06 2004 UTC (20 years, 1 month ago) by meyering
Branch: MAIN
Changes since 1.9: +4 -0 lines
Diff to previous 1.9
[HAVE_UNISTD_H]: Include <unistd.h>, for resolvepath declaration.


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Fri May 2 21:42:51 2003 UTC (20 years, 11 months ago) by meyering
Branch: MAIN
CVS Tags: COREUTILS-5_0_1, COREUTILS-5_0_90, COREUTILS-5_0_91, COREUTILS-5_1_0, COREUTILS-5_1_1, COREUTILS-5_1_2, COREUTILS-5_1_3, COREUTILS-5_2_0, COREUTILS-5_2_1
Changes since 1.8: +4 -2 lines
Diff to previous 1.8
(canonicalize_file_name) [!HAVE_RESOLVEPATH]:
A memory-allocation error could result in heap corruption.  Fix it
by also updating `dest' when rpath may be changed by xrealloc.


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Fri Apr 11 12:20:35 2003 UTC (21 years ago) by meyering
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Apr 10 17:03:26 2003 UTC (21 years ago) by meyering
Branch: MAIN
Changes since 1.6: +4 -0 lines
Diff to previous 1.6
(canonicalize_file_name): NUL-terminate the result.


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Apr 10 16:54:19 2003 UTC (21 years ago) by meyering
Branch: MAIN
Changes since 1.5: +1 -6 lines
Diff to previous 1.5
(canonicalize_file_name): Always free `extra_buf' before returning.


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Apr 10 16:47:35 2003 UTC (21 years ago) by meyering
Branch: MAIN
Changes since 1.4: +5 -0 lines
Diff to previous 1.4
(canonicalize_file_name): Return NULL immediately if resolvepath fails.
Otherwise, `readlink --canonical /no-such-file' would exhaust
virtual memory on some systems (e.g. Solaris).


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Thu Apr 10 15:57:45 2003 UTC (21 years ago) by meyering
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
(canonicalize_file_name): Remove stray semicolon
that caused `readlink --canonical RELATIVE_NAME' to fail on e.g.,
Solaris systems.


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Mon Jan 20 16:41:19 2003 UTC (21 years, 3 months ago) by meyering
Branch: MAIN
CVS Tags: COREUTILS-4_5_10, COREUTILS-4_5_11, COREUTILS-4_5_12, COREUTILS-4_5_5, COREUTILS-4_5_6, COREUTILS-4_5_7, COREUTILS-4_5_8, COREUTILS-4_5_9, COREUTILS-5_0
Changes since 1.2: +1 -0 lines
Diff to previous 1.2
Include "path-concat.h".


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Jan 11 09:32:48 2003 UTC (21 years, 3 months ago) by meyering
Branch: MAIN
Changes since 1.1: +15 -7 lines
Diff to previous 1.1
Don't test HAVE_ERRNO_H.  It's not necessary.
Don't test HAVE_STDDEF_H.  It's not necessary.
Use definition of PTR_INT_TYPE from obstack.h.


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sat Jan 11 08:29:46 2003 UTC (21 years, 3 months ago) by meyering
Branch: MAIN
From Dmitry Levin.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26