These occurrences should be "trailing" instead of "tailing".
#ifndef _PATH_DEV
/*
- * The tailing '/' in _PATH_DEV is there for compatibility with libc.
+ * The trailing '/' in _PATH_DEV is there for compatibility with libc.
*/
# define _PATH_DEV "/dev/"
#endif
else
dst[x++] = src[i++];
}
- if (nsp && x > 0) /* tailing space */
+ if (nsp && x > 0) /* trailing space */
x--;
done:
dst[x] = '\0';
return p + 1; /* begin of the name */
while (p > path && *(p - 1) == '/')
- --p; /* remove tailing '/' */
+ --p; /* remove trailing '/' */
if (p > path) {
*p-- = '\0';
if (strlen(device) < 5)
return -1;
device += 4;
- dir = _PATH_DEV_LOOP "/"; /* _PATH_DEV uses tailing slash */
+ dir = _PATH_DEV_LOOP "/"; /* _PATH_DEV uses trailing slash */
}
snprintf(lc->device, sizeof(lc->device), "%s%s",
dir, device);
if (a_sz + b_sz == 0)
return 1;
- /* ignore tailing slash */
+ /* ignore trailing slash */
if (a_sz + b_sz == 1 &&
((a_seg && *a_seg == '/') || (b_seg && *b_seg == '/')))
return 1;
if (cur == -1 && *begin) {
/* end of the list */
- *(ptr - 1) = '\0'; /* remove tailing ',' from the list */
+ *(ptr - 1) = '\0'; /* remove trailing ',' from the list */
return ptr;
}
}
#define Fs_streq_srcpath_HELP "streq_srcpath(srcpath)\n\n" \
- "Compares fs source path with path. The tailing slash is ignored.\n" \
+ "Compares fs source path with path. The trailing slash is ignored.\n" \
"Returns True if fs source path equal to path, otherwise False."
static PyObject *Fs_streq_srcpath(FsObject *self, PyObject *args, PyObject *kwds)
{
}
#define Fs_streq_target_HELP "streq_target(target)\n\n" \
- "Compares fs target path with path. The tailing slash is ignored.\n" \
+ "Compares fs target path with path. The trailing slash is ignored.\n" \
"See also Fs.match_target().\n" \
"Returns True if fs target path equal to path, otherwise False."
static PyObject *Fs_streq_target(FsObject *self, PyObject *args, PyObject *kwds)
"The initial (intro) file comment is accessible by\n" \
"Tab.intro_comment. The intro and the comment of the first fstab" \
"entry has to be separated by blank line. The filesystem comments are\n" \
- "accessible by Fs.comment. The tailing fstab comment is accessible\n" \
+ "accessible by Fs.comment. The trailing fstab comment is accessible\n" \
"by Tab.trailing_comment.\n" \
"\n" \
"<informalexample>\n" \
"LABEL=foo /mnt/foo auto defaults 1 2\n" \
"# this comments belongs to the second fs\n" \
"LABEL=bar /mnt/bar auto defaults 1 2 \n" \
- "# tailing comment\n" \
+ "# trailing comment\n" \
"</programlisting>\n" \
"</informalexample>"
static PyObject *Table_enable_comments(TableObject *self, PyObject *args,
* LABEL=foo /mnt/foo auto defaults 1 2
* # this comments belongs to the second fs
* LABEL=bar /mnt/bar auto defaults 1 2
- * # tailing comment
+ * # trailing comment
* </programlisting>
* </informalexample>
*/
"\n %s [options] <column-data-file> ...\n\n", program_invocation_short_name);
fputs(" -m, --maxout fill all terminal width\n", out);
- fputs(" -M, --minout minimize tailing padding\n", out);
+ fputs(" -M, --minout minimize trailing padding\n", out);
fputs(" -c, --column <file> column definition\n", out);
fputs(" -n, --nlines <num> number of lines\n", out);
fputs(" -J, --json JSON output format\n", out);
*
* Force library to terminate line after last column with data. The extra
* padding is not added to the empty cells at the end of the line. The default is fill
- * tailing empty cells except the last line cell.
+ * trailing empty cells except the last line cell.
*
* This setting is mutually exclusive to scols_table_enable_maxout().
*
}
if (count > 1) {
- *(val + valsz - 1) = '\0'; /* rem tailing whitespace */
+ *(val + valsz - 1) = '\0'; /* rem trailing whitespace */
printf("ID_FS_AMBIVALENT=%s\n", val);
rc = 0;
}