diff options
| author | Karoly Lorentey | 2004-05-18 19:12:15 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-05-18 19:12:15 +0000 |
| commit | c23670f81e059ebe645c88575f4ddfa67f26bf6b (patch) | |
| tree | 71667a6ceaa877ccf3953abedfa7b0fd5f0f5369 /lib-src | |
| parent | d9858e4f1889a61b216ae1f99053846362067ccc (diff) | |
| parent | a7f7f2540f02834ad128d0c9357a4dbd8222dff4 (diff) | |
| download | emacs-c23670f81e059ebe645c88575f4ddfa67f26bf6b.tar.gz emacs-c23670f81e059ebe645c88575f4ddfa67f26bf6b.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-299
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-300
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-301
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-302
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-303
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-304
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-305
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-306
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-307
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-308
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-309
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-310
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-311
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-312
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-313
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-314
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-315
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-316
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-317
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-318
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-319
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-320
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-321
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-322
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-323
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-324
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-163
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 4 | ||||
| -rw-r--r-- | lib-src/test-distrib.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index c841df23097..ac789eb3181 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2004-05-10 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 2 | |||
| 3 | * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'. | ||
| 4 | |||
| 1 | 2004-05-08 Jason Rumney <jasonr@gnu.org> | 5 | 2004-05-08 Jason Rumney <jasonr@gnu.org> |
| 2 | 6 | ||
| 3 | * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long | 7 | * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long |
diff --git a/lib-src/test-distrib.c b/lib-src/test-distrib.c index 97e87695c7c..0333bd7d710 100644 --- a/lib-src/test-distrib.c +++ b/lib-src/test-distrib.c | |||
| @@ -80,13 +80,13 @@ main (argc, argv) | |||
| 80 | if (argc != 2) | 80 | if (argc != 2) |
| 81 | { | 81 | { |
| 82 | fprintf (stderr, "Usage: %s testfile\n", argv[0]); | 82 | fprintf (stderr, "Usage: %s testfile\n", argv[0]); |
| 83 | exit (2); | 83 | exit (EXIT_FAILURE); |
| 84 | } | 84 | } |
| 85 | fd = open (argv[1], O_RDONLY); | 85 | fd = open (argv[1], O_RDONLY); |
| 86 | if (fd < 0) | 86 | if (fd < 0) |
| 87 | { | 87 | { |
| 88 | perror (argv[1]); | 88 | perror (argv[1]); |
| 89 | exit (2); | 89 | exit (EXIT_FAILURE); |
| 90 | } | 90 | } |
| 91 | if (cool_read (fd, buf, sizeof string1) != sizeof string1 || | 91 | if (cool_read (fd, buf, sizeof string1) != sizeof string1 || |
| 92 | strcmp (buf, string1) || | 92 | strcmp (buf, string1) || |
| @@ -97,7 +97,7 @@ main (argc, argv) | |||
| 97 | Most likely this means that many nonprinting characters\n\ | 97 | Most likely this means that many nonprinting characters\n\ |
| 98 | have been corrupted in the files of Emacs, and it will not work.\n", | 98 | have been corrupted in the files of Emacs, and it will not work.\n", |
| 99 | argv[1]); | 99 | argv[1]); |
| 100 | exit (2); | 100 | exit (EXIT_FAILURE); |
| 101 | } | 101 | } |
| 102 | close (fd); | 102 | close (fd); |
| 103 | return EXIT_SUCCESS; | 103 | return EXIT_SUCCESS; |