Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
G
GLib
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 926
    • Issues 926
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 61
    • Merge Requests 61
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • GLib
  • Issues
  • #521

Closed
Open
Opened Mar 07, 2012 by bugzilla-migration@bugzilla-migrationReporter

If the interval between missing directory creation and file creation under the directory is short, gfilemonitor cannot get the create event of file under the directory.

Submitted by changbin

Link to original bug (#671518)

Description

Created attachment 209127 0001-add-filemonitor-test.patch, a test patch for glib, to detect the file changes of a missing directory

  1. Create a gfilemonitor testcase, in order to detect the file changes of a missing directory. a) add patch "0001-add-filemonitor-test.patch" for glib package, based on commit number "6e8caec6" b) build glib package c) run glib/gio/tests/testgfilemonitor.

  2. copy "file_monitor_test.sh" & "file_monitor_test.sh" under /tmp

  3. run "file_monitor_test.sh"

Filemonitor gets create event of missing directory, but cannot get the create event of files under this directory.

Patch 209127, "0001-add-filemonitor-test.patch, a test patch for glib, to detect the file changes of a missing directory":
0001-add-filemonitor-test.patch

Version: 2.31.x

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/glib#521