packaging: Initial packaging
[platform/upstream/make.git] / packaging / make-3.81-newlines.patch
1 --- make-3.81-orig/job.c        2007-02-21 19:10:54.000000000 +0100
2 +++ make-3.81-pm/job.c  2007-02-22 18:13:59.000000000 +0100
3 @@ -2706,7 +2706,7 @@
4      unsigned int line_len = strlen (line);
5  
6      char *new_line = (char *) alloca (shell_len + (sizeof (minus_c) - 1)
7 -                                     + (line_len * 2) + 1);
8 +                                     + (line_len * 4) + 1);
9      char *command_ptr = NULL; /* used for batch_mode_shell mode */
10  
11  # ifdef __EMX__ /* is this necessary? */
12 @@ -2740,9 +2740,10 @@
13  #endif
14             if (PRESERVE_BSNL)
15               {
16 -               *(ap++) = '\\';
17 +               *(ap++) = '\'';
18                 *(ap++) = '\\';
19                 *(ap++) = '\n';
20 +               *(ap++) = '\'';
21               }
22  
23             ++p;