Skip to content

char* shall be ended with a 0. if not random errors occurs... #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ELePors
Copy link
Member

@ELePors ELePors commented Jan 28, 2025

No description provided.

@LANDAISB
Copy link

Il n'y a pas le même problème juste en-dessous ?

	"Availables Extensions with names"
	str := self buildStringFilenameTypes: aTypenameList extensions: anExtensionList allFilesOption: aBoolean.
	buf := FFIExternalArray externalNewType: 'char' size: str size.
	str doWithIndex: [ :k :i | buf at: i put: k ].

Copy link

@LANDAISB LANDAISB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il n'y a pas le même problème juste en-dessous ?

	"Availables Extensions with names"
	str := self buildStringFilenameTypes: aTypenameList extensions: anExtensionList allFilesOption: aBoolean.
	buf := FFIExternalArray externalNewType: 'char' size: str size.
	str doWithIndex: [ :k :i | buf at: i put: k ].

@ELePors
Copy link
Member Author

ELePors commented Jan 28, 2025

tu as raison je corrige

TODO : no free at this time (memory leak)
Copy link

@LANDAISB LANDAISB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Même chose pour les méthodes getAdvancedBrowseInfo, getAdvancedBrowseInfo: et getBasicBrowseInfo
et aussi: supprimer la méthode readFileBuf: ? (pas appelée et avec un halt dedans)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants