-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Console message on make process on ubuntu 18.04 #2
Comments
Hi, do you solve this problem now? I encountered the same problem today. T_T |
No yet. |
same issue here |
run with sudo, i don't know why but it seems to work here. |
2,6c2,5
<
< #include <stdio.h>
< #include <unistd.h>
< #include <stdlib.h>
< #include <errno.h>
---
> #include <stdio.h>
> #include <unistd.h>
> #include <stdlib.h>
> #include <errno.h>
8c7
< #include <sys/types.h>
---
> #include <sys/types.h>
11a11,14
> #include <string.h>
> #include <arpa/inet.h>
>
>
16c19
< char *cmd = RedisModule_StringPtrLen(argv[1], &cmd_len);
---
> const char *cmd = RedisModule_StringPtrLen(argv[1], &cmd_len);
41,42c44,45
< char *ip = RedisModule_StringPtrLen(argv[1], &cmd_len);
< char *port_s = RedisModule_StringPtrLen(argv[2], &cmd_len);
---
> const char *ip = RedisModule_StringPtrLen(argv[1], &cmd_len);
> const char *port_s = RedisModule_StringPtrLen(argv[2], &cmd_len);
50c53
<
---
>
57c60,61
< execve("/bin/sh", 0, 0);
---
> char *argv[] = { NULL };
> execve("/bin/sh", argv, NULL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I have the next message when I do make, do you know if it is ok or is there any issue?
Thanks in advance.
The text was updated successfully, but these errors were encountered: