From 3030778d087619a8b1cb58533478008907b674af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Wed, 27 May 1998 21:25:05 -0700 Subject: [PATCH] C++ style comments fixed to C style comments Rev: src/fdlib.h:1.17 Rev: src/modules/files/file.c:1.104 --- src/fdlib.h | 8 ++++---- src/modules/files/file.c | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/fdlib.h b/src/fdlib.h index e8ea35092a..10ec39bf92 100644 --- a/src/fdlib.h +++ b/src/fdlib.h @@ -1,5 +1,5 @@ /* - * $Id: fdlib.h,v 1.16 1998/05/22 11:29:15 grubba Exp $ + * $Id: fdlib.h,v 1.17 1998/05/28 04:24:47 hubbe Exp $ */ #ifndef FDLIB_H #define FDLIB_H @@ -212,7 +212,7 @@ extern int fd_type[MAX_OPEN_FILEDESCRIPTORS]; #define S_IFSOCK 0140000 #endif -#else // HAVE_WINSOCK +#else /* HAVE_WINSOCK */ typedef int FD; @@ -321,6 +321,6 @@ typedef struct my_fd_set_s my_fd_set; #define SEEK_END 2 #endif -#endif // Don't HAVE_WINSOCK +#endif /* Don't HAVE_WINSOCK */ -#endif // FDLIB_H +#endif /* FDLIB_H */ diff --git a/src/modules/files/file.c b/src/modules/files/file.c index c0ef0d3f56..09da2b524d 100644 --- a/src/modules/files/file.c +++ b/src/modules/files/file.c @@ -5,7 +5,7 @@ \*/ #include "global.h" -RCSID("$Id: file.c,v 1.103 1998/05/27 20:55:35 grubba Exp $"); +RCSID("$Id: file.c,v 1.104 1998/05/28 04:25:05 hubbe Exp $"); #include "fdlib.h" #include "interpret.h" #include "svalue.h" @@ -2023,8 +2023,9 @@ static void file_lock(INT32 args) low_file_lock(args,fd_LOCK_EX); } -// If (fd_LOCK_EX | fd_LOCK_NB) is used with lockf, the result will be -// F_TEST, which only tests for the existance of a lock on the file. +/* If (fd_LOCK_EX | fd_LOCK_NB) is used with lockf, the result will be + * F_TEST, which only tests for the existance of a lock on the file. + */ #ifdef HAVE_FD_FLOCK static void file_trylock(INT32 args) { -- GitLab