Repository navigation
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The callback-preservation behavior needs targeted regression coverage, and the new API comment is inaccurate.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Moves FTP wildcard LIST parsing into the output dispatch layer, preserving application-configured write settings.
Changes:
- Dynamically selects the FTP list parser during wildcard listing.
- Removes temporary callback backups and restoration.
- Adds wildcard listing-mode detection.
File summaries
| File | Description |
|---|---|
lib/ftplistparser.h |
Declares listing-mode detection. |
lib/ftplistparser.c |
Implements listing-mode detection. |
lib/ftp.c |
Stops replacing application write settings. |
lib/ftp-int.h |
Removes obsolete backup storage. |
lib/cw-out.c |
Routes listing output to the parser dynamically. |
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 2
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The entries in the 'set' struct should remain as set by the application. Closes #22969
124039e to
335da96
Compare
|
So, let me understand what this does. The application turns on Once "LIST" is done, , the matching filenames are passed to Basically, except it's bit more complicated than that since this all happens inside one easy handle who needs to dance its states around...interesting.😰 Hmm...I think FTP should add a new More thinking tomorrow. |
|
Basically: yes. And this particular fix is just to stop storing private things in the |
The entries in the 'set' struct should remain as set by the application.