summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-23 10:20:58 +0000
committerharti <harti@FreeBSD.org>2005-02-23 10:20:58 +0000
commit5c4987ac602b09f41a84873d51452ded125e11e8 (patch)
treee47e1e21ca83f7e250daf752e1b0d1117064a708 /usr.bin
parentd2fecffa39eea996b742a72ed14b73f73cf0217d (diff)
downloadFreeBSD-src-5c4987ac602b09f41a84873d51452ded125e11e8.zip
FreeBSD-src-5c4987ac602b09f41a84873d51452ded125e11e8.tar.gz
Fix the indendation of some multi-line comments.
Noted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/arch.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c
index 280ca69..be49175 100644
--- a/usr.bin/make/arch.c
+++ b/usr.bin/make/arch.c
@@ -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);
OpenPOWER on IntegriCloud