Skip to content
This repository
Browse code

Fix LFNAME list_dir efile ABI

  • Loading branch information...
commit e1a4c20f36d4cd4b98a721bbaefa858d3ae91e77 1 parent 02e1473
Kresten Krab Thorup krestenkrab authored

Showing 1 changed file with 11 additions and 3 deletions. Show diff stats Hide diff stats

  1. +11 3 src/main/java/erjang/driver/efile/EFile.java
14 src/main/java/erjang/driver/efile/EFile.java
@@ -1970,10 +1970,18 @@ void reply_list_directory(String[] files) throws Pausable {
1970 1970 driver_output2(resbuf, null);
1971 1971 }
1972 1972 }
  1973 +
  1974 + if (isLFNameDriverInterface()) {
  1975 + ByteBuffer resbuf = ByteBuffer.allocate(1);
  1976 + resbuf.put(FILE_RESP_LFNAME);
  1977 + driver_output2(resbuf, null);
  1978 + } else {
1973 1979
1974   - ByteBuffer resbuf = ByteBuffer.allocate(1);
1975   - resbuf.put(isUnicodeDriverInterface() ? FILE_RESP_FNAME : FILE_RESP_OK);
1976   - driver_output2(resbuf, null);
  1980 + ByteBuffer resbuf = ByteBuffer.allocate(1);
  1981 + resbuf.put(isUnicodeDriverInterface() ? FILE_RESP_FNAME : FILE_RESP_OK);
  1982 + driver_output2(resbuf, null);
  1983 +
  1984 + }
1977 1985 }
1978 1986
1979 1987 /**

0 comments on commit e1a4c20

Please sign in to comment.
Something went wrong with that request. Please try again.