diff --git a/modules/src/system/pmfile b/modules/src/system/pmfile index 33db974c7..c58cfcd70 100644 --- a/modules/src/system/pmfile +++ b/modules/src/system/pmfile @@ -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. -- diff --git a/modules/src/system/system.h b/modules/src/system/system.h index 72cbd9772..8f8bce45c 100644 --- a/modules/src/system/system.h +++ b/modules/src/system/system.h @@ -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));