| 2934 | COMMAND_LINE_ARG means this directory was mentioned on the command line. */ |
| 2935 | |
| 2936 | static void |
| 2937 | queue_directory (char const *name, char const *realname, bool command_line_arg) |
| 2938 | { |
| 2939 | struct pending *new = xmalloc (sizeof *new); |
| 2940 | new->realname = realname ? xstrdup (realname) : NULL; |
| 2941 | new->name = name ? xstrdup (name) : NULL; |
| 2942 | new->command_line_arg = command_line_arg; |
| 2943 | new->next = pending_dirs; |
| 2944 | pending_dirs = new; |
| 2945 | } |
| 2946 | |
| 2947 | /* Read directory NAME, and list the files in it. |
| 2948 | If REALNAME is nonzero, print its name instead of NAME; |
no outgoing calls
no test coverage detected