gEDA-dev: gEDA-bug: [ geda-Patches-1733728 ] Fix for lack of permission-related file attributes on MinGW
Peter Clifton
pcjc2 at cam.ac.uk
Fri Jun 8 14:46:55 EDT 2007
> Category: win32 port
> Group: CVS
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Cesar Strauss (cstrauss)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Fix for lack of permission-related file attributes on MinGW
>
> Initial Comment:
> On the MinGW platform, files can only be read-write or read-only. It lacks concepts like the executable-bit, user-id, group-id and the distinction between "user", "group" and "other" permissions flags.
>
> The solution was to define the missing flags as zero, and comment out the code which depend on the availability of chown.
>
> In my opinion, the resulting behavior is correct from the point of view of a Windows user, in the sense that the backup files are still being marked as read-only.
>
> Regards,
> Cesar
I think we ought to compare notes on the fixes needed for MinGW, no
point in duplicating work. (OTOH, many of my "fixes" were quick hacks to
make it compile).
My (hacks) are at http://www2.eng.cam.ac.uk/~pcjc2/geda/fix_win32.diff
Many of the fixes probably ought to be "feature" based #ifdef rather
than #ifdef WIN32, but they give the general impression of what needs
doing to make a working gschem.
There may even be some bits which ought to get included in mainstream
geda, such as the wrong guile header file which is used in at least one
place.
Regards,
Peter
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=818428&aid=1733728&group_id=161080
>
>
> _______________________________________________
> geda-bug mailing list
> geda-bug at moria.seul.org
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
More information about the geda-dev
mailing list