| OLD | NEW |
| 1 /* Compatibility routines for Windows CE. | 1 /* Compatibility routines for Windows CE. |
| 2 Copyright (C) 2007-2012 Free Software Foundation, Inc. | 2 Copyright (C) 2007-2013 Free Software Foundation, Inc. |
| 3 | 3 |
| 4 This file is part of GDB. | 4 This file is part of GDB. |
| 5 | 5 |
| 6 This program is free software; you can redistribute it and/or modify | 6 This program is free software; you can redistribute it and/or modify |
| 7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
| 8 the Free Software Foundation; either version 3 of the License, or | 8 the Free Software Foundation; either version 3 of the License, or |
| 9 (at your option) any later version. | 9 (at your option) any later version. |
| 10 | 10 |
| 11 This program is distributed in the hope that it will be useful, | 11 This program is distributed in the hope that it will be useful, |
| 12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 17 matching lines...) Expand all Loading... |
| 30 fprintf (stderr, "%s\n", strwinerror (GetLastError ())); | 30 fprintf (stderr, "%s\n", strwinerror (GetLastError ())); |
| 31 } | 31 } |
| 32 | 32 |
| 33 void | 33 void |
| 34 to_back_slashes (char *path) | 34 to_back_slashes (char *path) |
| 35 { | 35 { |
| 36 for (; *path; ++path) | 36 for (; *path; ++path) |
| 37 if ('/' == *path) | 37 if ('/' == *path) |
| 38 *path = '\\'; | 38 *path = '\\'; |
| 39 } | 39 } |
| OLD | NEW |