You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Roy Wood <ro...@unn.unisys.com> on 1997/11/05 00:10:27 UTC

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: