equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2012, 2016 SAP SE. All rights reserved. |
3 * Copyright (c) 2012, 2018 SAP SE. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
8 * published by the Free Software Foundation. |
8 * published by the Free Software Foundation. |
34 #include <sys/socket.h> |
34 #include <sys/socket.h> |
35 #include <poll.h> |
35 #include <poll.h> |
36 #include <sys/ioctl.h> |
36 #include <sys/ioctl.h> |
37 #include <netdb.h> |
37 #include <netdb.h> |
38 |
38 |
39 // File names are case-sensitive on windows only. |
39 // File names are case-insensitive on windows only. |
40 inline int os::file_name_strcmp(const char* s1, const char* s2) { |
40 inline int os::file_name_strncmp(const char* s1, const char* s2, size_t num) { |
41 return strcmp(s1, s2); |
41 return strncmp(s1, s2, num); |
42 } |
42 } |
43 |
43 |
44 inline bool os::obsolete_option(const JavaVMOption *option) { |
44 inline bool os::obsolete_option(const JavaVMOption *option) { |
45 return false; |
45 return false; |
46 } |
46 } |