FILE * fd_stream = fdopen(fd, "w");
ObjectPosition * ptr;
+ if (!fd_stream)
+ return;
if(file_mgr_data->positionEnabled == RANDOM_ON &&
file_mgr_data->object_positions &&
name, "num_positions", 0);
}
- fflush(fd_stream);
+ fclose(fd_stream);
}
{
ObjectPtr ptr, ptr2, savePtr;
- register int i, j;
+ int i, j;
XmManagerWidget file_window;
if (oldPos == newPos)
String end;
String tmpStr;
int numFiles;
- int effScreenWidth;
- int effScreenHeight;
+ int effScreenWidth = 0;
+ int effScreenHeight = 0;
int start_x = 0, start_y = 0;
int root_x, root_y;
int step = 0, dstep = 0;
{
XmManagerWidget file_window;
int directory_count, largest_x, largest_y;
- int value, size, increment, page;
+ int value = 0, size, increment, page;
Dimension current_wd;
Dimension current_ht;
Dimension file_window_width;