From 0d77ab84bb83effb9ac3e41635747a658a3332f6 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Tue, 18 Nov 2003 11:00:43 +0100 Subject: [multiple changes] 2003-11-18 Richard Kenner * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s". * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set TYPE_PRECISION directly from esize. 2003-11-18 Thomas Quinot * cstreams.c: Use realpath(3) on FreeBSD. Fix typo in comment while we are at it. * init.c: Initialization routines for FreeBSD * link.c: Link info for FreeBSD * sysdep.c: Add the case of FreeBSD From-SVN: r73700 --- gcc/ada/cstreams.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/ada/cstreams.c') diff --git a/gcc/ada/cstreams.c b/gcc/ada/cstreams.c index 6db356b..7001f84 100644 --- a/gcc/ada/cstreams.c +++ b/gcc/ada/cstreams.c @@ -175,9 +175,9 @@ __gnat_full_name (char *nam, char *buffer) #elif defined (MSDOS) _fixpath (nam, buffer); -#elif defined (sgi) +#elif defined (sgi) || defined (__FreeBSD__) - /* Use realpath function which resolves links and references to .. and .. + /* Use realpath function which resolves links and references to . and .. on those Unix systems that support it. Note that GNU/Linux provides it but cannot handle more than 5 symbolic links in a full name, so we use the getcwd approach instead. */ -- cgit v1.1