Opened 16 years ago

Closed 14 years ago

#200 closed defect (fixed)

libc: stat on symlink returns garbage

Reported by: bird Owned by: bird
Priority: normal Milestone: libc-0.6.4
Component: libc-backend Version: 0.6.2
Severity: normal Keywords: lstat
Cc:

Description

Title says it all.

Change History (6)

comment:1 by psmedley, 16 years ago

Summary: libc: lstat on symlink returns garbagelibc: stat on symlink returns garbage

Correction to title - lstat works OK - stat is broken

comment:2 by bird, 14 years ago

Status: newassigned

comment:3 by bird, 14 years ago

(In [3725]) 200-stat-symlink.c: added stat/lstat+symlink testcase. References #200.

comment:4 by bird, 14 years ago

(In [3726]) b_nativeSymlinkCreate.c: Symlinks were created on byte to long. References #200.

comment:5 by bird, 14 years ago

(In [3727]) 0.6: Backported r3726: b_nativeSymlinkCreate.c: Symlinks were created on byte to long. References #200.

comment:6 by bird, 14 years ago

Resolution: fixed
Status: assignedclosed

Couldn't reproduce, only a tiny off by one st_size bug when creating symlinks.

Note: See TracTickets for help on using tickets.