Changed multi-line C comments into another style.

The left side doesn't look unbalanced.
This commit is contained in:
Greg King
2014-06-30 05:10:35 -04:00
parent 132d57f1ad
commit 0390c34e88
502 changed files with 8869 additions and 8884 deletions

View File

@@ -168,8 +168,8 @@ static void SkipLineInfoList (FILE* F)
void ObjReadData (FILE* F, ObjData* O)
/* Read object file data from the given file. The function expects the Name
* and Start fields to be valid. Header and basic data are read.
*/
** and Start fields to be valid. Header and basic data are read.
*/
{
unsigned long Count;
@@ -239,14 +239,14 @@ void ObjAdd (const char* Name)
Error ("Could not open `%s': %s", Name, strerror (errno));
}
/* Get the modification time of the object file. There a race condition
* here, since we cannot use fileno() (non standard identifier in standard
* header file), and therefore not fstat. When using stat with the
* file name, there's a risk that the file was deleted and recreated
* while it was open. Since mtime and size are only used to check
* if a file has changed in the debugger, we will ignore this problem
* here.
*/
/* Get the modification time of the object file. There's a race condition
** here, since we cannot use fileno() (non-standard identifier in standard
** header file), and therefore not fstat. When using stat with the
** file name, there's a risk that the file was deleted and recreated
** while it was open. Since mtime and size are only used to check
** if a file has changed in the debugger, we will ignore this problem
** here.
*/
if (FileStat (Name, &StatBuf) != 0) {
Error ("Cannot stat object file `%s': %s", Name, strerror (errno));
}
@@ -264,8 +264,8 @@ void ObjAdd (const char* Name)
O = NewObjData ();
} else {
/* Found - check the file modification times of the internal copy
* and the external one.
*/
** and the external one.
*/
if (difftime ((time_t)O->MTime, StatBuf.st_mtime) > 0.0) {
Warning ("Replacing module `%s' by older version in library `%s'",
O->Name, LibName);
@@ -289,8 +289,8 @@ void ObjAdd (const char* Name)
ObjReadData (Obj, O);
/* Copy the complete object data to the library file and update the
* starting offset
*/
** starting offset
*/
fseek (Obj, 0, SEEK_SET);
O->Start = LibCopyTo (Obj, O->Size);
@@ -323,8 +323,8 @@ void ObjExtract (const char* Name)
}
/* Copy the complete object file data from the library to the new object
* file.
*/
** file.
*/
LibCopyFrom (O->Start, O->Size, Obj);
/* Close the file */