зеркало из https://github.com/microsoft/git.git
20 строки
295 B
Plaintext
20 строки
295 B
Plaintext
@@
|
|
identifier fd;
|
|
identifier die_fn =~ "^(die|die_errno)$";
|
|
@@
|
|
int fd =
|
|
- open
|
|
+ xopen
|
|
(...);
|
|
- if ( \( fd < 0 \| fd == -1 \) ) { die_fn(...); }
|
|
|
|
@@
|
|
expression fd;
|
|
identifier die_fn =~ "^(die|die_errno)$";
|
|
@@
|
|
fd =
|
|
- open
|
|
+ xopen
|
|
(...);
|
|
- if ( \( fd < 0 \| fd == -1 \) ) { die_fn(...); }
|