diff options
| author | Paul Eggert | 2011-03-20 22:34:48 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-20 22:34:48 -0700 |
| commit | 6e5fa6bfce1362c2ebf049fcfa1e6f2a4762ccef (patch) | |
| tree | f7ff137da14c352412ee3dc3fbcaf1316428fd97 /lib-src | |
| parent | 81e56e612dab7d80485c640068531710a713d205 (diff) | |
| parent | 77185bdf91d42fb19c02af0f51ce63280ce911a0 (diff) | |
| download | emacs-6e5fa6bfce1362c2ebf049fcfa1e6f2a4762ccef.tar.gz emacs-6e5fa6bfce1362c2ebf049fcfa1e6f2a4762ccef.zip | |
Merge from trunk and from gnulib stdio.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 9 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 2 | ||||
| -rw-r--r-- | lib-src/fakemail.c | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index bd1a84cf0b9..cc713f0b68c 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2011-03-21 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | fakemail: Remove dependency on ignore-value. | ||
| 4 | This undoes some of the recent fakemail-related changes. | ||
| 5 | It is made possible due to recent changes to gnulib's stdio module. | ||
| 6 | * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h. | ||
| 7 | * fakemail.c: Do not include ignore-value.h. | ||
| 8 | (put_line): Do not use ignore_value. | ||
| 9 | |||
| 1 | 2011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change) | 10 | 2011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change) |
| 2 | 11 | ||
| 3 | * emacsclient.c (longopts): Add quiet. | 12 | * emacsclient.c (longopts): Add quiet. |
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index d622233efb4..f671b0844ce 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -353,7 +353,7 @@ movemail.o: ${srcdir}/movemail.c ../src/config.h | |||
| 353 | pop.o: ${srcdir}/pop.c ${srcdir}/../lib/min-max.h ../src/config.h | 353 | pop.o: ${srcdir}/pop.c ${srcdir}/../lib/min-max.h ../src/config.h |
| 354 | $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c | 354 | $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c |
| 355 | 355 | ||
| 356 | fakemail${EXEEXT}: ${srcdir}/fakemail.c ${srcdir}/../lib/ignore-value.h ../src/config.h | 356 | fakemail${EXEEXT}: ${srcdir}/fakemail.c ../src/config.h |
| 357 | $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail | 357 | $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail |
| 358 | 358 | ||
| 359 | emacsclient${EXEEXT}: ${srcdir}/emacsclient.c ../src/config.h | 359 | emacsclient${EXEEXT}: ${srcdir}/emacsclient.c ../src/config.h |
diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c index 780a104b405..940d6219425 100644 --- a/lib-src/fakemail.c +++ b/lib-src/fakemail.c | |||
| @@ -62,8 +62,6 @@ main () | |||
| 62 | 62 | ||
| 63 | /* This is to declare cuserid. */ | 63 | /* This is to declare cuserid. */ |
| 64 | #include <unistd.h> | 64 | #include <unistd.h> |
| 65 | |||
| 66 | #include <ignore-value.h> | ||
| 67 | 65 | ||
| 68 | /* Type definitions */ | 66 | /* Type definitions */ |
| 69 | 67 | ||
| @@ -500,7 +498,7 @@ put_line (const char *string) | |||
| 500 | } | 498 | } |
| 501 | } | 499 | } |
| 502 | /* Output that much, then break the line. */ | 500 | /* Output that much, then break the line. */ |
| 503 | ignore_value (fwrite (s, 1, breakpos - s, rem->handle)); | 501 | fwrite (s, 1, breakpos - s, rem->handle); |
| 504 | column = 8; | 502 | column = 8; |
| 505 | 503 | ||
| 506 | /* Skip whitespace and prepare to print more addresses. */ | 504 | /* Skip whitespace and prepare to print more addresses. */ |