Fix the indendation of some multi-line comments.
Noted by: Max Okumoto <okumoto@ucsd.edu>
This commit is contained in:
parent
d2fecffa39
commit
5c4987ac60
@ -464,9 +464,9 @@ ArchFindMember(const char *archive, const char *member, struct ar_hdr *arhPtr,
|
||||
}
|
||||
|
||||
/*
|
||||
* We use the ARMAG string to make sure this is an archive we
|
||||
* can handle...
|
||||
*/
|
||||
* We use the ARMAG string to make sure this is an archive we
|
||||
* can handle...
|
||||
*/
|
||||
if ((fread(magic, SARMAG, 1, arch) != 1) ||
|
||||
(strncmp(magic, ARMAG, SARMAG) != 0)) {
|
||||
fclose(arch);
|
||||
@ -474,11 +474,11 @@ ArchFindMember(const char *archive, const char *member, struct ar_hdr *arhPtr,
|
||||
}
|
||||
|
||||
/*
|
||||
* Because of space constraints and similar things, files are archived
|
||||
* using their final path components, not the entire thing, so we need
|
||||
* to point 'member' to the final component, if there is one, to make
|
||||
* the comparisons easier...
|
||||
*/
|
||||
* Because of space constraints and similar things, files are archived
|
||||
* using their final path components, not the entire thing, so we need
|
||||
* to point 'member' to the final component, if there is one, to make
|
||||
* the comparisons easier...
|
||||
*/
|
||||
cp = strrchr(member, '/');
|
||||
if ((cp != NULL) && (strcmp(member, RANLIBMAG) != 0)) {
|
||||
member = cp + 1;
|
||||
@ -574,9 +574,9 @@ ArchFindMember(const char *archive, const char *member, struct ar_hdr *arhPtr,
|
||||
}
|
||||
|
||||
/*
|
||||
* We've looked everywhere, but the member is not to be found. Close the
|
||||
* archive and return NULL -- an error.
|
||||
*/
|
||||
* We've looked everywhere, but the member is not to be found. Close the
|
||||
* archive and return NULL -- an error.
|
||||
*/
|
||||
fclose(arch);
|
||||
return (NULL);
|
||||
}
|
||||
@ -621,9 +621,9 @@ ArchSVR4Entry(Arch *ar, char *name, size_t size, FILE *arch)
|
||||
}
|
||||
|
||||
/*
|
||||
* This is a table of archive names, so we build one for
|
||||
* ourselves
|
||||
*/
|
||||
* This is a table of archive names, so we build one for
|
||||
* ourselves
|
||||
*/
|
||||
ar->fnametab = emalloc(size);
|
||||
ar->fnamesize = size;
|
||||
|
||||
@ -706,11 +706,11 @@ ArchStatMember(const char *archive, const char *member, Boolean hash)
|
||||
char memName[MAXPATHLEN + 1]; /* Current member name while hashing */
|
||||
|
||||
/*
|
||||
* Because of space constraints and similar things, files are archived
|
||||
* using their final path components, not the entire thing, so we need
|
||||
* to point 'member' to the final component, if there is one, to make
|
||||
* the comparisons easier...
|
||||
*/
|
||||
* Because of space constraints and similar things, files are archived
|
||||
* using their final path components, not the entire thing, so we need
|
||||
* to point 'member' to the final component, if there is one, to make
|
||||
* the comparisons easier...
|
||||
*/
|
||||
cp = strrchr(member, '/');
|
||||
if ((cp != NULL) && (strcmp(member, RANLIBMAG) != 0))
|
||||
member = cp + 1;
|
||||
@ -754,9 +754,9 @@ ArchStatMember(const char *archive, const char *member, Boolean hash)
|
||||
}
|
||||
|
||||
/*
|
||||
* We don't have this archive on the list yet, so we want to find out
|
||||
* everything that's in it and cache it so we can get at it quickly.
|
||||
*/
|
||||
* We don't have this archive on the list yet, so we want to find out
|
||||
* everything that's in it and cache it so we can get at it quickly.
|
||||
*/
|
||||
arch = fopen(archive, "r");
|
||||
if (arch == NULL) {
|
||||
return (NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user