==> Regarding Re: [autofs] [ANNOUNCE] autofs 4.1.4 beta2 release; "Steinar H. 
Gunderson" <[EMAIL PROTECTED]> adds:

sgunderson> On Mon, Feb 14, 2005 at 10:39:51PM +0800, [EMAIL PROTECTED]
sgunderson> wrote:
>> Here is autofs 4.1.4 beta2.

sgunderson> Thanks! :-)

sgunderson> I've gone through all the Debian patches again, and this needs
sgunderson> looking into:

sgunderson> 035_program_mount_repeated_last_character_of_map_output is in
sgunderson> there, but there looks like there's an identical situation
sgunderson> further down. Could you investigate? (I'm not really sure if it
sgunderson> is an error or not, to be honest, I just want it checked. :-) )

Yes, looks like a problem to me.  Thanks!  Attached is a patch.

-Jeff

--- autofs-4.1.4_beta2/modules/lookup_program.c.program-map-stderr-extra-char   
2005-02-15 09:30:46.672165592 -0500
+++ autofs-4.1.4_beta2/modules/lookup_program.c 2005-02-15 09:31:23.840515144 
-0500
@@ -237,6 +237,7 @@ int lookup_mount(const char *root, const
                        if (read(epipefd[0], &ch, 1) < 1) {
                                FD_CLR(epipefd[0], &ourfds);
                                files_left--;
+                               state = st_done;
                        } else if (ch == '\n') {
                                *errp = '\0';
                                if (errbuf[0])

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to