New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stat in linux #3017
Comments
Comment author: administrator
From Unix.mli: (** Return the information for the named file. *) (** Same as {!Unix.stat}, but in case the file is a symbolic link, Use lstat if you want to know about the symbolic link. Jacques Garrigue |
Comment author: administrator From: Felix Terkhorn masterkh@indiana.edu
This is indeed strange. #load"unix.cma";;Unix.lstat "baz";;
And there is no recent change in stat.c. Regards, Jacques Garrigue |
Comment author: administrator From: Felix Terkhorn masterkh@indiana.edu
Just do "make clean; make world" after fixing s.h. This should solve
s-templ.h is only a template if you have to build s.h by hand. Regards, Jacques Garrigue |
Comment author: administrator
Yes, indeed, although these feature auto-detections are always a bit Every Unix has symbolic links nowadays, so it might make sense to just
|
Comment author: administrator problem in configure? Hard to say without access to the machine. |
Original bug ID: 612
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Felix Terkhorn
Version: 3.03-alpha
OS: redhat linux
Submission from: cv-2-77.campusview.indiana.edu (149.159.2.77)
stat "" returns a records which says that the file's st_kind
is not S_LNK... rather it is whatever st_kind the pointed-to file is.
This shouldn't be this way, right?
I've noticed this with 3.02 and 3.03-alpha in linux.
--Felix Terkhorn
The text was updated successfully, but these errors were encountered: