SCCS-vsn: usr.bin/sccs/sccs.c 1.19
# include <sysexits.h>
# include <whoami.h>
# include <sysexits.h>
# include <whoami.h>
-static char SccsId[] = "@(#)sccs.c 1.18 %G%";
+static char SccsId[] = "@(#)sccs.c 1.19 %G%";
# define bitset(bit, word) ((bit) & (word))
# define bitset(bit, word) ((bit) & (word))
if (pfp != NULL)
{
while (fgets(pline, sizeof pline, pfp) != NULL)
if (pfp != NULL)
{
while (fgets(pline, sizeof pline, pfp) != NULL)
- printf("%12s: being editted: %s", basefile, pline);
+ printf("%12s: being edited: %s", basefile, pline);
fclose(pfp);
gotedit = TRUE;
continue;
fclose(pfp);
gotedit = TRUE;
continue;
fclose(dirfd);
if (!gotedit && !really)
fclose(dirfd);
if (!gotedit && !really)
- printf("Nothing being editted\n");
+ printf("Nothing being edited\n");
}
\f/*
** UNEDIT -- unedit a file
}
\f/*
** UNEDIT -- unedit a file
** the file and arranges that s/he is not editting it.
**
** Parameters:
** the file and arranges that s/he is not editting it.
**
** Parameters:
-** fn -- the name of the file to be uneditted.
+** fn -- the name of the file to be unedited.
pfp = fopen(pfn, "r");
if (pfp == NULL)
{
pfp = fopen(pfn, "r");
if (pfp == NULL)
{
- printf("%12s: not being editted\n", fn);
+ printf("%12s: not being edited\n", fn);
- printf("%12s: not being editted by you\n", fn);
+ printf("%12s: not being edited by you\n", fn);