Author Topic: [REQ] Update SOURCE_SIZE after size altering commands  (Read 643 times)

Offline Lollorian

  • Planewalker
  • *****
  • Posts: 96
[REQ] Update SOURCE_SIZE after size altering commands
« on: November 16, 2015, 12:39:48 PM »
SOURCE_SIZE doesn't update after things like DELETE_BYTES that affect the size of the file - is this intended?

I noticed this when trying to fix a bug here in fj_spl_itm_reindex.tpp (any chance this might become a standard WeiDU function like FJ_CRE_REINDEX btw :P After some fixup ofcourse)

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1071
Re: [REQ] Update SOURCE_SIZE after size altering commands
« Reply #1 on: November 16, 2015, 02:10:50 PM »
SOURCE_SIZE is source size. Use BUFFER_LENGTH to track the size of the buffer.
« Last Edit: November 16, 2015, 02:27:36 PM by Wisp »

Offline Lollorian

  • Planewalker
  • *****
  • Posts: 96
Re: [REQ] Update SOURCE_SIZE after size altering commands
« Reply #2 on: November 18, 2015, 09:21:59 AM »
Ah nice! Will try :) Thanks!

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: