The NetBSD Project

CVS log for src/lib/libc/gen/getcwd.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-3


Revision 1.36.2.3 / (download) - annotate - [select for diffs], Sun Jan 1 23:12:36 2006 UTC (8 years, 8 months ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.36.2.2: +2 -9 lines
Diff to previous 1.36.2.2 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Pull up following revision(s) (requested by elad in ticket #1077):
	lib/libc/gen/getcwd.c: revision 1.42
Revert back to revision 1.40, as requested by cube@.
Unbreaks KDE.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Thu Dec 29 16:23:31 2005 UTC (8 years, 8 months ago) by riz
Branch: netbsd-3
Changes since 1.36.2.1: +9 -2 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored)

Pull up following revision(s) (requested by elad in ticket #1068):
	lib/libc/gen/getcwd.c: revision 1.41
Allow last component to be non-existing again. I broke this behavior for
no apparent good reason in revision 1.39.
This is what broke systrace's filename normalization.
Go back to original behavior as in revision 1.35: return resolved name,
but also set errno to ENOENT.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Sun Aug 14 22:08:44 2005 UTC (9 years ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1
Branch point for: netbsd-3-0
Changes since 1.36: +7 -8 lines
Diff to previous 1.36 (colored)

Pull up revisions 1.37-1.40 (requested by elad in ticket #648):
1.37:
Make realpath(3) work correctly.
The current code resolves paths like `/foo/bar/', `/foo/bar/./', and
`/foo/bar/../', even if `bar' is a regular file and not a directory.
Reviewed by cube@.

1.38:
Fixes to previous:
- Don't handle single and multiple slashes differently.
- A symlink to a directory can be appear in the middle of path.  Don't
   reject it.

1.39:
Don't allow last path element to be nonexistant.

1.40:
Make this compile again (remove unused serrno).
Noted by uwe@.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jan 30 22:37:32 2005 UTC (9 years, 7 months ago) by enami
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.35: +110 -105 lines
Diff to previous 1.35 (colored)

- Modify realpath() not to alter process wide state current working
  directory.  Strategy from FreeBSD.  Addess PR#28986.
- Make realpath() to return an error when null string is passed or
  the last component is symlink to null string.  The kernel lookup
  routine returns an error if such path are passed.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>