Changed to no longer build sys_lock() and sys_unlock(); they only work
authordtrg <none@none>
Wed, 26 Jul 2006 12:40:59 +0000 (12:40 +0000)
committerdtrg <none@none>
Wed, 26 Jul 2006 12:40:59 +0000 (12:40 +0000)
on platforms that support hardlinks, and nobody uses them anyway.

modules/src/system/pmfile
modules/src/system/system.h

index 33db974..c58cfcd 100644 (file)
@@ -12,14 +12,14 @@ module_system = clibrary {
        cfile (d.."create.c"),
        cfile (d.."filesize.c"),
        cfile (d.."modtime.c"),
-       cfile (d.."lock.c"),
+--     cfile (d.."lock.c"),
        cfile (d.."open.c"),
        cfile (d.."read.c"),
        cfile (d.."remove.c"),
        cfile (d.."stop.c"),
        cfile (d.."system.c"),
        cfile (d.."time.c"),
-       cfile (d.."unlock.c"),
+--     cfile (d.."unlock.c"),
        cfile (d.."write.c"),
        cfile (d.."seek.c"),
        cfile (d.."rename.c"),
@@ -33,6 +33,10 @@ module_system = clibrary {
 
 -- Revision history
 -- $Log$
--- Revision 1.1  2006-07-20 23:18:19  dtrg
+-- Revision 1.2  2006-07-26 12:40:59  dtrg
+-- Changed to no longer build sys_lock() and sys_unlock(); they only work
+-- on platforms that support hardlinks, and nobody uses them anyway.
+--
+-- Revision 1.1  2006/07/20 23:18:19  dtrg
 -- First version in CVS.
 --
index 72cbd97..8f8bce4 100644 (file)
@@ -44,8 +44,10 @@ _PROTOTYPE(int sys_remove, (char *));
 _PROTOTYPE(int sys_rename, (char *, char *));
 _PROTOTYPE(long sys_filesize, (char *));
 _PROTOTYPE(int sys_chmode, (char *, int));
+#if 0
 _PROTOTYPE(int sys_lock, (char *));
 _PROTOTYPE(int sys_unlock, (char *));
+#endif
 _PROTOTYPE(char *sys_break, (int));
 _PROTOTYPE(void sys_stop, (int));
 _PROTOTYPE(long sys_time, (void));