Add dgamelaunch configuration to the project.
This commit is contained in:
parent
4ffd81e3e9
commit
5a8eded910
6 changed files with 396 additions and 0 deletions
24
dgl/dgl-common.c.patch
Normal file
24
dgl/dgl-common.c.patch
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
504c504
|
||||
< int fd, len, n, is_nhext, pid;
|
||||
---
|
||||
> int fd, len, n, is_nhext, is_node, pid;
|
||||
538a539
|
||||
> is_node = strchr(pdirent->d_name, ':') && !strncmp(strchr(pdirent->d_name, ':'), ":node:", 6);
|
||||
550c551
|
||||
< if (fd >= 0 && (is_nhext || fcntl (fd, F_SETLK, &fl) == -1))
|
||||
---
|
||||
> if (fd >= 0 && (is_nhext || is_node || fcntl (fd, F_SETLK, &fl) == -1))
|
||||
567a569,576
|
||||
> if (is_node) {
|
||||
> replacestr = strchr(replacestr, ':');
|
||||
> if (!replacestr) {
|
||||
> debug_write("inprogress-filename does not have ':', 1a");
|
||||
> graceful_exit(145);
|
||||
> }
|
||||
> replacestr++;
|
||||
> }
|
||||
589a599,602
|
||||
> if (is_node) {
|
||||
> replacestr++;
|
||||
> replacestr = strchr(replacestr, ':');
|
||||
> }
|
||||
Loading…
Add table
Add a link
Reference in a new issue