Changeset 940d6415d15895c83800d28cce0195fda0cc6b86

Show
Ignore:
Timestamp:
11/20/08 03:15:04 (5 years ago)
Author:
George Schlossnagle <george@omniti.com>
git-committer:
George Schlossnagle <george@omniti.com> 1227150904 +0000
git-parent:

[2adf675734a53374fc3d5457d0a1378bc94f9448]

git-author:
George Schlossnagle <george@omniti.com> 1227150904 +0000
Message:

I'm liking this better. Maintain our current position if we et this sort of error,
we'll fall into the error case in the next read() and all will be good.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • perl/JLog.xs

    r2adf675 r940d641  
    352352      if(jlog_ctx_read_message(my_obj->ctx, &cur, &message) != 0) { 
    353353        if(jlog_ctx_err(my_obj->ctx) == JLOG_ERR_FILE_OPEN) { 
    354           my_obj->start = epoch; 
    355           my_obj->end = epoch; 
     354          my_obj->error = 1; 
    356355          RETVAL = &PL_sv_undef; 
    357356          goto end;