You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@znep.com> on 1997/11/05 01:10:59 UTC

os-unixware/1357: Server incorrectly interprets whether file is a symlink. (fwd)

What!??!  UW uses atime to figure out if it is a symlink!?!?

Anyone?  Anyone?

---------- Forwarded message ----------
Date: 4 Nov 1997 23:10:27 -0000
From: Roy Wood <ro...@unn.unisys.com>
To: apbugs@hyperreal.org
Subject: os-unixware/1357: Server incorrectly interprets whether file is a symlink.


>Number:         1357
>Category:       os-unixware
>Synopsis:       Server incorrectly interprets whether file is a symlink.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Nov  4 15:20:00 PST 1997
>Last-Modified:
>Originator:     roywood@unn.unisys.com
>Organization:
apache
>Release:        1.2.4
>Environment:
Unixware 2.1.2
Unixware C compiler
>Description:
The Unixware lstat function is broken when server is compiled with 
_POSIX_SOURCE defined.  The last access time is incorrectly used to determine 
whether the file is a symlink.
>How-To-Repeat:
Compile with _POSIX_SOURCE defined.  The last accessed time is used to 
determine whether file is a symlink based on:
(T=file type field)  xxxxTxxx
>Fix:
Remove define of _POSIX_SOURCE in UW case of conf.
>Audit-Trail:
>Unformatted: