Skip to content

Commit

Permalink
add Errno.e2big()
Browse files Browse the repository at this point in the history
  • Loading branch information
overheadhunter committed Sep 4, 2023
1 parent f9adf11 commit baa9b82
Show file tree
Hide file tree
Showing 13 changed files with 63 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,11 @@ public interface Errno {
*/
int enoattr();

/**
* Argument list too long
*
* @return error constant {@code E2BIG}
*/
int e2big();

}
1 change: 1 addition & 0 deletions jfuse-linux-aarch64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
<includeConstant>ENOLCK</includeConstant>
<includeConstant>ENAMETOOLONG</includeConstant>
<includeConstant>ENODATA</includeConstant>
<includeConstant>E2BIG</includeConstant>
</includeConstants>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,9 @@ public int enodata() {
public int enoattr() {
return enodata();
}

@Override
public int e2big() {
return errno_h.E2BIG();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ public static int ENOENT() {
public static int EIO() {
return (int)5L;
}
/**
* {@snippet :
* #define E2BIG 7
* }
*/
public static int E2BIG() {
return (int)7L;
}
/**
* {@snippet :
* #define EBADF 9
Expand Down
1 change: 1 addition & 0 deletions jfuse-linux-amd64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
<includeConstant>ENOLCK</includeConstant>
<includeConstant>ENAMETOOLONG</includeConstant>
<includeConstant>ENODATA</includeConstant>
<includeConstant>E2BIG</includeConstant>
</includeConstants>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,9 @@ public int enodata() {
public int enoattr() {
return enodata();
}

@Override
public int e2big() {
return errno_h.E2BIG();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ public static int ENOENT() {
public static int EIO() {
return (int)5L;
}
/**
* {@snippet :
* #define E2BIG 7
* }
*/
public static int E2BIG() {
return (int)7L;
}
/**
* {@snippet :
* #define EBADF 9
Expand Down
1 change: 1 addition & 0 deletions jfuse-mac/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
<includeConstant>ENAMETOOLONG</includeConstant>
<includeConstant>ENODATA</includeConstant>
<includeConstant>ENOATTR</includeConstant>
<includeConstant>E2BIG</includeConstant>
</includeConstants>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,9 @@ public int enodata() {
public int enoattr() {
return errno_h.ENOATTR();
}

@Override
public int e2big() {
return errno_h.E2BIG();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ public static int ENOENT() {
public static int EIO() {
return (int)5L;
}
/**
* {@snippet :
* #define E2BIG 7
* }
*/
public static int E2BIG() {
return (int)7L;
}
/**
* {@snippet :
* #define EBADF 9
Expand Down
1 change: 1 addition & 0 deletions jfuse-win/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
<includeConstant>ENOLCK</includeConstant>
<includeConstant>ENAMETOOLONG</includeConstant>
<includeConstant>ENODATA</includeConstant>
<includeConstant>E2BIG</includeConstant>
</includeConstants>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,9 @@ public int enodata() {
public int enoattr() {
return enodata();
}

@Override
public int e2big() {
return errno_h.E2BIG();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ public static int ENOENT() {
public static int EIO() {
return (int)5L;
}
/**
* {@snippet :
* #define E2BIG 7
* }
*/
public static int E2BIG() {
return (int)7L;
}
/**
* {@snippet :
* #define EBADF 9
Expand Down

0 comments on commit baa9b82

Please sign in to comment.