[m-rev.] for review: fix compilation errors in posix binding

Julien Fischer juliensf at students.cs.mu.OZ.AU
Thu Jan 15 16:56:01 AEDT 2004


Estimated hours taken: 0.2
Branches: main.

Fix some compilation errors that were preventing the POSIX binding from
compiling successfully.

extras/posix/posix.stat.m:
	Module qualify the `file_type' type because of a type ambiguity
	between posix.stat.file_type and io.file_type.

extras/posix/posix.socket.m:
	Remove an unnecessary import.

Julien.


Index: posix.socket.m
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/posix/posix.socket.m,v
retrieving revision 1.4
diff -u -r1.4 posix.socket.m
--- posix.socket.m	5 Dec 2000 02:07:23 -0000	1.4
+++ posix.socket.m	14 Jan 2004 07:22:21 -0000
@@ -12,8 +12,6 @@

 :- interface.

-:- import_module std_util.
-
 :- type posix__socket__domain
 	--->	unix
 	;	inet
Index: posix.stat.m
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/posix/posix.stat.m,v
retrieving revision 1.2
diff -u -r1.2 posix.stat.m
--- posix.stat.m	7 Sep 2001 01:20:42 -0000	1.2
+++ posix.stat.m	14 Jan 2004 07:21:46 -0000
@@ -29,7 +29,7 @@
 :- func dev(stat) = dev_t.
 :- func ino(stat) = ino_t.
 :- func mode(stat) = mode_t.
-:- func file_type(stat) = file_type.
+:- func file_type(stat) = posix__stat__file_type.
 :- func nlink(stat) = nlink_t.
 :- func uid(stat) = uid_t.
 :- func gid(stat) = gid_t.



--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list