Unnamed Fossil Project

Check-in [81421d49e5]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 81421d49e574bcd0bfb7498781e4ee0b1bfdb24d
User & Date: bapt@FreeBSD.org 2014-09-25 06:42:11
Context
2014-12-30
07:31
Add maintainer mode to avoid very fresh versions of indexinfo to blow up on people without a proper ntp setup. check-in: 304f474b0e user: bapt@FreeBSD.org tags: trunk, 0.2.2
2014-09-25
06:42
Fix a typo check-in: 81421d49e5 user: bapt@FreeBSD.org tags: trunk
2014-09-17
05:57
Add a readme file check-in: 62ca125d5f user: bapt@FreeBSD.org tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to indexinfo.c.

202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220

int
main(int argc, char **argv)
{
	int fd;

	if (argc != 2)
		errx(EXIT_FAILURE, "Usage: indexinfo <infofilesdirectori>");

	if ((fd = open(argv[1], O_RDONLY|O_DIRECTORY)) == -1)
		err(EXIT_FAILURE, "Impossible to open %s", argv[1]);

	parse_info_dir(fd);
	generate_index(fd);

	close(fd);

	return (EXIT_SUCCESS);
}







|











202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220

int
main(int argc, char **argv)
{
	int fd;

	if (argc != 2)
		errx(EXIT_FAILURE, "Usage: indexinfo <infofilesdirectory>");

	if ((fd = open(argv[1], O_RDONLY|O_DIRECTORY)) == -1)
		err(EXIT_FAILURE, "Impossible to open %s", argv[1]);

	parse_info_dir(fd);
	generate_index(fd);

	close(fd);

	return (EXIT_SUCCESS);
}