#
b305b415 |
| 21-Jun-2012 |
enami <enami@NetBSD.org> |
All error path must go through the free function call after an allocation of resolved path might succeeded.
|
#
53094c09 |
| 21-Jun-2012 |
christos <christos@NetBSD.org> |
PR/46618: Onno van der Linden: realpath(3) isn't SUSv4 compliant (and causes flactag 2.0.4 to dump core). Fix to accept a NULL argument for resolvedpath.
|
#
c5e820ca |
| 13-Mar-2012 |
christos <christos@NetBSD.org> |
PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values t
PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds)
approved by core@
show more ...
|
#
4bf46019 |
| 21-Feb-2011 |
joerg <joerg@NetBSD.org> |
Redo the SSP wrappers to be transparent on the resulting object files. This works by having the inline wrapper calling a second function which uses renaming to output the correct function name.
|
#
f1f20d6a |
| 16-Feb-2011 |
tron <tron@NetBSD.org> |
Fix build with SSP enabled.
|
#
c464e0eb |
| 15-Feb-2011 |
christos <christos@NetBSD.org> |
Fix non-fortify build.
|
#
b493b4d7 |
| 20-Jan-2011 |
christos <christos@NetBSD.org> |
provide a _sys_getcwd() entry like all the rest of the system calls to be used by SSP.
|
#
c281fbb7 |
| 01-Jan-2010 |
dholland <dholland@NetBSD.org> |
POSIX says realpath(NULL, foo) is supposed to yield EINVAL rather than being allowed to crash. Go figure. Closes PR lib/42559 from Stathis Kamperis.
|
#
7d0c83db |
| 26-Oct-2007 |
christos <christos@NetBSD.org> |
make _FORTIFY_SOURCE play nicely with lint
|
#
14183450 |
| 03-Jun-2007 |
christos <christos@NetBSD.org> |
Make these work with _FORTIFY_SOURCE, by overriding the fortified definitions
|
#
14ebd4f3 |
| 17-Mar-2006 |
christos <christos@NetBSD.org> |
Appease Coverity CID 2527; not a bug.
|
#
e77db80a |
| 31-Dec-2005 |
elad <elad@NetBSD.org> |
Revert back to revision 1.40, as requested by cube@. Unbreaks KDE.
|
#
0c73d406 |
| 22-Dec-2005 |
elad <elad@NetBSD.org> |
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
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.
show more ...
|
#
ccdc5664 |
| 13-Aug-2005 |
elad <elad@NetBSD.org> |
Make this compile again (remove unused serrno). Noted by uwe@.
|
#
314b003d |
| 13-Aug-2005 |
elad <elad@NetBSD.org> |
Don't allow last path element to be nonexistant.
|
#
8bf4305e |
| 05-Jul-2005 |
enami <enami@NetBSD.org> |
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.
|
#
0b9ed39b |
| 04-Jul-2005 |
elad <elad@NetBSD.org> |
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@.
|
#
22e3442e |
| 30-Jan-2005 |
enami <enami@NetBSD.org> |
- 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 las
- 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.
show more ...
|
#
b2ed183e |
| 23-Jan-2005 |
enami <enami@NetBSD.org> |
- Remove macros used only by old getcwd() implementation. - Fix memory leak on error. (I guess the loop isn't necessary but it is different matter). - Remove knowledge about old malloc implementati
- Remove macros used only by old getcwd() implementation. - Fix memory leak on error. (I guess the loop isn't necessary but it is different matter). - Remove knowledge about old malloc implementation.
show more ...
|
#
f2cd0bb8 |
| 06-Jan-2005 |
simonb <simonb@NetBSD.org> |
Remove the old userland version of getcwd(): it's been #ifdef'd out since 1999 when we switched to a (faster) system call based getcwd(), and as shown recently has had some buffer size problems anywa
Remove the old userland version of getcwd(): it's been #ifdef'd out since 1999 when we switched to a (faster) system call based getcwd(), and as shown recently has had some buffer size problems anyway (although they have since been fixed).
show more ...
|
#
59f10505 |
| 06-Jan-2005 |
christos <christos@NetBSD.org> |
Fix handling of memory allocation. From OpenBSD.
|
#
eb7c1594 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
#
2e483120 |
| 03-Aug-2003 |
itojun <itojun@NetBSD.org> |
be more pedantic to strlcpy/strcat errors
|
#
785d6ef6 |
| 03-Aug-2003 |
itojun <itojun@NetBSD.org> |
use strlcat for safety
|
#
d6220d9c |
| 03-Aug-2003 |
itojun <itojun@NetBSD.org> |
fix off-by-one error in realpath()
|