Skip to content

Commit

Permalink
Release 2.22:
Browse files Browse the repository at this point in the history
* Fix for ENOENT responses
  • Loading branch information
JasonAlt committed Jan 10, 2024
1 parent 4872b58 commit c9fa6bf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Version 2.22: Wed Jan 10 15:54:26 EST 2024
- Fix for ENOENT responses

Version 2.21: Wed Sep 20 16:03:29 EDT 2023
- Changed how HPSS libraries and includes are discovered.

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use fedora version formatting, ie. 2.17, 2.17~rc1.
AC_INIT([globus-gridftp-server-hpss], [2.21], [Globus <[email protected]>])
AC_INIT([globus-gridftp-server-hpss], [2.22], [Globus <[email protected]>])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
# automake 1.11.1 (RHEL 6.8) does not support AM_PROG_AR
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
Expand Down
4 changes: 4 additions & 0 deletions source/module/hpss_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ hpss_error_to_globus_result(int error)

switch (he.returned_value)
{
case -ENOENT:
code = 404;
type = "PATH_NOT_FOUND";
break;
case -EISDIR:
code = 553;
type = "IS_A_DIRECTORTY";
Expand Down

0 comments on commit c9fa6bf

Please sign in to comment.