Brian Favela wrote:
>
> I think I'm having a little more success with this. In lookup_program.c, you
> seem to have changed the way an expecting output of a program looks like. In
> version 3, output like this was acceptable:
> <machine>:<path>
>
> Where I guess it was the last directory name of <path> that was used for
> mounting on the chosen path for that map. Your version of lookup_program.c
> seems to require an output similar to that found in a file-type map (<key>
> <machine>:<path>) where <key> is used as the name of the directory mounted.
> When I changed my program to output the key as well as the resolved
> machine/path from 'ypwhich', the program worked fine.
>
> Was this the desired behaviour change for executable maps?
>
For the lookup modules, all of this should be fed through the parse
modules. The lookup modules, for items which return strings, should let
the parse modules handle the string decoding -- this allows the same map
formats to be used across lookup methods.
-hpa